29.06.2012, 19:20
Use SetTimerEx.
pawn Код:
// top of your script
new PrisionTimer[MAX_PLAYERS];
// When a player is sent to prison
PrisonTimer[playa] = SetTimerEx("SetFree", money * 60000, false, "d", playa);
// forwarding the public
forward SetFree(playa);
public SetFree(playa)
{
// Here you can set them free.
SpawnPlayer(playa);
// other codes go here if needed
return 1;
}