09.11.2013, 17:12
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?
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?