01.07.2009, 04:19
Example
pawn Код:
//in command
SetTimerEx("DecreaseJailTimer", 1000, 0, "i", playa);
//after main()
forward DescreaseJailTimer(playerid);
public DecreseJailTimer(playerid)
{
ShitPlayer[playa][pJailTime] --;
if(ShitPlayer[playa][pJailTime] == 0)
{
//release thme
}
else { SetTimerEx("DecreaseJailTimer", 1000, 0, "i", playerid);
}