Results 1 to 6 of 6

Thread: Bold Message Script

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 450 Times in 305 Posts
    Quote Originally Posted by Paho View Post
    Code:
    Cmd_ExecuteString( "say welcome to our server!" );
    output in chat:
    console: welcome to our server!
    You can better use these functions instead of Cmd_ExecuteString.

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

    tellMessage(message)
    {
        
    sendgameservercommand(self getentitynumber(), "h \"console: " message "\"");


  2. The Following 2 Users Say Thank You to Mitch For This Useful Post:

    klendi11 (23rd July 2016),Paho (22nd July 2016)

Tags for this Thread

Posting Permissions

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