08.03.2009, 17:09
Possible?
Then if i press ban 35
Then it says The Rcon Is Locked
Then if i press ban 35
Then it says The Rcon Is Locked
new rconlock = 0;
public OnRconCommand(cmd[]) { if(rconlock == 1) { SendClientMessage(playerid, 0xAA3333AA, "Sorry the rcon is locked"); return 0; } return 1; }
public OnRconCommand(cmd[])
{
if(rconlock == 1)
{
return 0;
}
return 1;
}
Originally Posted by ♣ ⓐⓢⓢ
Its just not possible to block hard coded commands (/rcon kick / ban ...)
And the public OnRconCommand doesnt get called in your gm |
public OnRconCommand(cmd[])
{
return 1;
}
Originally Posted by MenaceX^
Quote:
pawn Код:
|