timer help
#2

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;
}
Reply


Messages In This Thread
timer help - by PaulDinam - 29.06.2012, 18:59
Re: TIMER HELP PLEAASE! - by [KHK]Khalid - 29.06.2012, 19:20
Re: timer help - by PaulDinam - 29.06.2012, 19:40
Re: timer help - by PaulDinam - 29.06.2012, 20:02

Forum Jump:


Users browsing this thread: 1 Guest(s)