Saving Timer?
#2

you can do this

add this to arrest

PlayerInfo[criminal][pInJailTime] = time*60000;

on unjail PlayerInfo[playerid][pInJailTime] = 0;

on timer who is reducing just put PlayerInfo[playerid][pInJailTime] = --;

and on checking

format(string, sizeof(string), "* Your character is currently is jail for another %d seconds.", PlayerInfo[playerid][pInJailTime]);

got it?
Reply


Messages In This Thread
Saving Timer? - by Chrillzen - 09.11.2013, 15:33
Re: Saving Timer? - by David (Sabljak) - 09.11.2013, 17:12
Re: Saving Timer? - by Chrillzen - 09.11.2013, 17:40

Forum Jump:


Users browsing this thread: 1 Guest(s)