06.08.2013, 09:17
How to make something like jailed user cannot use any cmd like /kill /go or any tele cmd
Make a global variable which has two values; true and false. [new bool:varname]
For more help: https://sampwiki.blast.hk/wiki/Scripting_Basics#Variables |
new jailed[MAX_PLAYERS];
if(jailed[playerid] == 1)return SendClientMessage(playerid, -1, "You can't use this command, when you are jailed!");