How to disable commands?
#3

At the top of your script:
pawn Code:
new Hitman[MAX_PLAYERS];
To make a player a hitman:
pawn Code:
Hitman[playerid] = 1;
Put this into your command:
pawn Code:
if(Hitman[playerid] == 1)
{
//The Player is a hitman
}
else
{
//The Player isn't a hitman
}
Reply


Messages In This Thread
How to disable commands? - by Ernests - 30.04.2011, 13:44
Re: How to disable commands? - by StreetGT - 30.04.2011, 13:46
Re: How to disable commands? - by miokie - 30.04.2011, 13:47

Forum Jump:


Users browsing this thread: 1 Guest(s)