Hi all,
Is it possible to read the /rcon commands with CodeCallback_PlayerCommand(args)? In the callback, you add the identifier, but it doesnt register the rcon commands.
Hi all,
Is it possible to read the /rcon commands with CodeCallback_PlayerCommand(args)? In the callback, you add the identifier, but it doesnt register the rcon commands.
Most likely, you can control the team that produced directly on the server, but if they are produced with rcon-tool?
wait so you've tried
because when I try this it works but the only problem is the arguments passed doesnt show upPHP Code:
if (args[0] == "rcon")
{
arguments = "";
for(i = 3; i < args.size; i++)
arguments += args[i];
logPrint("[RCON] ["+self.name+"] used rcon command ["+args[1]+"] with args ["+arguments+"]");
}
I thought if you had a cvar the same name as a command, you couldn't use the command?