06.04.2014, 01:20
No,
Add this ontop of your script.
Add this under ''public OnPlayerConnect''
Add this on your command which you want to disable it.
example
Add this ontop of your script.
pawn Код:
new indmarea[MAX_PLAYERS];
Add this under ''public OnPlayerConnect''
pawn Код:
indmarea[playerid] = 0;
example
pawn Код:
CMD:kill(playerid,params[])
{
if(indmarea[playerid] == 1) SendClientMessage(playerid, COLOR_WHITE, You're in a DM area, you cant use this command.);
{
SetPlayerHealth(playerid, 0);
indmarea[playerid] = 1;
}
}