Timer not being called
#1

The timer is called once, but when another player is arrested it doesnt get called.
pawn Код:
CMD:arrest(playerid, params[])
{
    //code here

    jailed[targetid] = 1;
    SetTimer("UnJail",30000,false);

    //more code here
    return 1;
}
Calling timer
pawn Код:
public UnJail()
{
    for(new i; i < MAX_PLAYERS; i++)
    {
        if(jailed[i] == 1)
        {
            SetPlayerPos(i, 1555.097900, -1675.848754, 16.195312);
            SetPlayerInterior(i, 0);
            jailed[i] = 0;
        }
        return 1;
    }
    return 1;
}
Reply


Messages In This Thread
Timer not being called - by SnG.Scot_MisCuDI - 03.07.2012, 21:07
Re: Timer not being called - by MP2 - 03.07.2012, 21:24
Re: Timer not being called - by SnG.Scot_MisCuDI - 03.07.2012, 21:36
Re: Timer not being called - by WagnerPM - 03.07.2012, 21:36
Re: Timer not being called - by DeathTone - 03.07.2012, 21:43
Re: Timer not being called - by SnG.Scot_MisCuDI - 03.07.2012, 21:48

Forum Jump:


Users browsing this thread: 1 Guest(s)