24.08.2011, 07:50
How i can make it, if player have "CMD" = 1
that he can type no one command expect /help....
i can put this in each command, but can i do easier?:
and i must put that in each command, can it be some how easier?
that he can type no one command expect /help....
i can put this in each command, but can i do easier?:
pawn Code:
CMD:aaa(playerid, params[])
{
if(GetPVarInt(playerid, "CMD") == 1)
{
SendClientMessage(playerid, -1, "You can only type /help!");
}
else
{
//my code goes here
return 1;
}