Results 1 to 10 of 15

Thread: cmd_executestring

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #4
    Global Mossaderator Mitch's Avatar
    Join Date
    Nov 2012
    Posts
    654
    Thanks
    204
    Thanked 451 Times in 305 Posts
    Quote Originally Posted by IzNoGoD View Post
    Please use sendgameservercommand instead of cmd_executestring("tell"), its much more stable and much more native than the executestring, which is also overwriting some buffers when executing it during a callback_playercommand
    PHP Code:
    tellMessage(message)
    {
        
    sendgameservercommand(self getentitynumber(), "h \"console: " message "\"");

    Is this exactly the same as /rcon tell slot?

    PHP Code:
    consoleSay(message)
    {
        
    sendgameservercommand(-1"h \"console: " message "\"");

    Last edited by Mitch; 29th June 2015 at 19:07. Reason: Changed Console to console.

Posting Permissions

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