Results 1 to 10 of 16

Thread: linux rcon tool

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #13
    Private First Class
    Join Date
    Nov 2015
    Posts
    128
    Thanks
    37
    Thanked 14 Times in 14 Posts
    i put it like this

    PHP Code:
    init()
    {
        
    thread msg();
    }

    msg() 

        
    msg_amount getCvarInt("cg_smsg_amount"); 
        
    msg_delay getCvarInt("cg_smsg_delay"); 
        for(;;) 
        { 
            for (
    1<= msg_amounti++) 
            { 
                
    wait msg_delay
                
    msg getCvar("cg_smsg_" i); 
                
    sendgameservercommand(-1"h \"^7console: " msg "\""); 
            } 

            
    wait 0.15
        } 
    then i call it i ctf,hq,dm,tdm. gsc like this


    PHP Code:
    thread maps\msg::init(); 
    but didnt work :/ i put it in my mod
    Last edited by feanor; 28th April 2016 at 19:34.

Posting Permissions

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