04.09.2011, 20:55
Is there a to stop the 'rcon gmx' command form being called? Like someone types '/rcon gmx' would OnRconCommand get called and stops that command from executing? I tried it but It did not work.
Here's what I did:
Here's what I did:
pawn Код:
public OnRconCommand(cmd[])
{
if(strfind(cmd,"gmx",true) != -1)
{
SendClientMessageToAll(Grey,"Please use /gmx insead of /rcon gmx!");
return 1;
}
return 0;
}