02.01.2013, 16:34
I will just give you an example for caged.
At the top
In the script where you execute command cage on him(obviously instead of targetid put the id that player has been caged)
On kill command
Uncage comand
At the top
pawn Код:
new IsCaged[MAX_PLAYERS];
pawn Код:
IsCaged[targetid] = 1;
pawn Код:
if(IsCaged[playerid] == 1) return SendClientMessage(playerid,-1,"Nope.");
pawn Код:
IsCaged[playerid] = 0;