18.06.2009, 10:52
Hey scripters!
How do you create a command that you can type into your rcon console and /rcon [Command] in-game.
I tried this:
But that doesn't work..
Would apreciate help!
How do you create a command that you can type into your rcon console and /rcon [Command] in-game.
I tried this:
Код:
public OnRconCommand(cmd[]) { if(strcmp(cmd, "Rstart", true) == 0) { RestartFunc(); } return 1; }
Would apreciate help!