cage help
#2

Try this
Put this on your /kill command before it sets the players health to 0:
pawn Код:
if(GetPVarInt(playerid,"iscaged") == 1) return SendClientMessage(playerid, 0xB90004FF, "You are caged. You cannot kill yourself.");
Then put this under where it cages the player:
pawn Код:
SetPVarInt(player,"iscaged",1[player]);
And put this under anywhere that it uncages the player:
pawn Код:
SetPVarInt(player,"iscaged",0[player]);
Reply


Messages In This Thread
cage help - by ProShooter22 - 02.05.2013, 02:54
Re: cage help - by vvhy - 02.05.2013, 04:18
Re: cage help - by Pottus - 02.05.2013, 05:04
Re: cage help - by [..MonTaNa..] - 02.05.2013, 05:33
Re: cage help - by ProShooter22 - 02.05.2013, 05:36
Re: cage help - by ProShooter22 - 02.05.2013, 05:41
Re: cage help - by [..MonTaNa..] - 02.05.2013, 05:47
Re: cage help - by ProShooter22 - 02.05.2013, 05:59
Re: cage help - by [..MonTaNa..] - 02.05.2013, 12:34
Re: cage help - by ProShooter22 - 02.05.2013, 15:51

Forum Jump:


Users browsing this thread: 5 Guest(s)