14.09.2009, 15:33
You will need a variable to store if each player is frozen or not, like:
pawn Код:
new bool:Frozen[MAX_PLAYERS];
[...]
OnPlayerConnect(playerid)
Frozen[playerid] = false;
Freeze command:
Frozen[playerid] = true;
Unfreeze command:
Frozen[playerid] = false;
Now add this check to /kill or whatever else:
if (Frozen[playerid] == true) return SendClientMessage(playerid, WHATEVER_COLOR, "[FAIL] You are frozen, no suicide for ya!");

