How to disable commands in jail?
#5

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.");
Reply


Messages In This Thread
How to disable commands in jail? - by Audi_Quattrix - 19.01.2014, 19:19
Re: How to disable commands in jail? - by AchievementMaster360 - 19.01.2014, 19:21
Re: How to disable commands in jail? - by Audi_Quattrix - 19.01.2014, 19:24
Re: How to disable commands in jail? - by Audi_Quattrix - 19.01.2014, 19:30
Re: How to disable commands in jail? - by [..MonTaNa..] - 19.01.2014, 20:18
Re: How to disable commands in jail? - by RedWingz - 19.01.2014, 20:21
Re: How to disable commands in jail? - by [TMS]Legena - 19.01.2014, 20:24

Forum Jump:


Users browsing this thread: