Posts: 171
Threads: 10
Joined: May 2012
Quote:
Originally Posted by [..MonTaNa..]
pawn Код:
// Put this somewhere in your jail CMD. SetPVarInt(playerid, "Caged", = 1);
pawn Код:
// Put this in each teleport CMD. if(GetPVarInt(playerid, "Caged") == 1) return SendClientMessage(playerid, -1, "You cannot use this command when you're jailed.");
|
I was just going to post that since it's in my script.

But yea, put that in your script and it'll work since I use the same code.