Health in jail
#2

You code above can be abusive by typing /jail and the player who typed the command will get 9999999 as health even if he's not logged in.

Use:
pawn Код:
SetPlayerHealth(player1, 9999999);
before you set the timer and:
pawn Код:
ResetPlayerWeapons(player1);
Reply


Messages In This Thread
Health in jail - by Sliceofdeath - 06.08.2013, 10:24
Re: Health in jail - by Konstantinos - 06.08.2013, 10:28
Re: Health in jail - by Sliceofdeath - 06.08.2013, 10:45
Re: Health in jail - by Sliceofdeath - 06.08.2013, 10:47
Re: Health in jail - by Konstantinos - 06.08.2013, 10:48
Re: Health in jail - by TheCrescendo - 06.08.2013, 10:48
Re: Health in jail - by TheCrescendo - 06.08.2013, 10:53
Re: Health in jail - by Sliceofdeath - 06.08.2013, 11:27
Re: Health in jail - by Sliceofdeath - 06.08.2013, 12:02

Forum Jump:


Users browsing this thread: 1 Guest(s)