[HELP] Unjail countdown
#3

Thanks alot that works!
The only one problem is that it does not countdown by 1 sec but by 7 sec so...
If i jail me for example 666 seconds, the game text is like:
666
659
652
645 ...


Another problem is when i disconect and connect back the timer is dead ...

I tried this... //OnPlayerSpawn
Код:
if(PlayerInfo[playerid][pJailed] == 1)
	{
	KillTimer(JailTime[playerid]);
	JailTime[playerid] = SetTimerEx("UpdateJailTime",1000,true,"d",playerid);
	}
Reply


Messages In This Thread
[HELP] Unjail countdown - by ThomasEvil - 03.06.2017, 22:52
Re: [HELP] Unjail countdown - by Jefff - 04.06.2017, 00:49
Re: [HELP] Unjail countdown - by ThomasEvil - 04.06.2017, 04:14
Re: [HELP] Unjail countdown - by silverms - 04.06.2017, 09:37
Re: [HELP] Unjail countdown - by Abagail - 04.06.2017, 15:24
Re: [HELP] Unjail countdown - by Jefff - 04.06.2017, 18:03
Re: [HELP] Unjail countdown - by ThomasEvil - 05.06.2017, 05:51
Re: [HELP] Unjail countdown - by ThomasEvil - 05.06.2017, 06:05
Re: [HELP] Unjail countdown - by UHPS - 05.06.2017, 06:14
Re: [HELP] Unjail countdown - by ThomasEvil - 05.06.2017, 06:30

Forum Jump:


Users browsing this thread: 1 Guest(s)