10.01.2013, 23:24
Add this var to the top of your gamemode
When the player is wanted, in that code put:
on OnPlayerConnect put:
and on your commands getcar, gohome and all the teleport commands you should put:
That's all.
pawn Код:
new bool:Wanted[MAX_PLAYERS char];
pawn Код:
Wanted{playerid} = true;
pawn Код:
Wanted{playerid} = false;
pawn Код:
if(Wanted{playerid} == true) return SendClientMessage(playerid, ~1, "You can't teleport, you are WANTED!");
That's all.

