Results 1 to 4 of 4

Thread: Console script

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Global Mossaderator Mitch's Avatar
    Join Date
    Nov 2012
    Posts
    654
    Thanks
    204
    Thanked 450 Times in 305 Posts
    You can do this via GSC scripts:

    With libcod:
    https://killtube.org/showthread.php?3153-callback-RCON

    Without libcod:
    PHP Code:
    level endon("intermission");
    setCvar("customcommand1"""); // can be set via rcon as: /rcon customcommand1 value instead of /rcon set customcommand1 value

    for (;;)
    {
        if (
    getCvar("customcommand1") != "") {
            
    setCvar("customcommand1""");
            
    customcommand1(); 
        }

        
    wait 0.05;
    }

    customcommand1()
    {


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

    kung foo man (27th April 2021)

Posting Permissions

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