06.03.2009, 17:15
Simple:
You need to experiment more with variables, then things will be alot easier.
pawn Код:
//top of script
new AdminDuty[MAX_PLAYERS];
//OnPlayerConnect
AdminDuty[playerid] = 0;
//Admin duty command
AdminDuty[playerid] = 1;
//SetPlayerColor, Health Etc.
//Checking if an admin is on duty
if(AdminDuty[playerid])
{
//Do Stuff
}