Results 1 to 10 of 15

Thread: cmd_executestring

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #14
    Private First Class
    Join Date
    Oct 2013
    Posts
    219
    Thanks
    56
    Thanked 105 Times in 66 Posts
    Quote Originally Posted by Ni3ls View Post
    Can't find the solution. If I try to thread after self Clientcommand(); nothing will happen. thread is not loaded. Placing it before self Clientcommand() same result
    Just do what mitch said;
    PHP Code:
    sendgameservercommand(self getentitynumber(), "h \"" self.name "^7: !help\""); 
    It is better anyway, because you can set a custom server name.

    Example:
    PHP Code:
    sendGameServerCommand(-1"h \"^7Server: Hello world.\""); // -1 = global message 
    Result:
    Code:
    Server: Hello world.
    Edit: Seems like you are already using it, my bad.
    Last edited by filthy_freak_; 30th June 2015 at 15:03.

  2. The Following User Says Thank You to filthy_freak_ For This Useful Post:

    Ni3ls (30th June 2015)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •