Exeeding ackslimit
#3

Here are some timers i just piced up.

pawn Код:
// Start the timer that will show timed messages every 2 minutes
    SetTimer("Timer_TimedMessages", 1000 * 60 * 2, true);
    // Start the timer that will show a random bonus mission for truckers every 5 minutes
    SetTimer("ShowRandomBonusMission", 1000 * 60 * 5, true);
    // Start the timer that checks the toll-gates
    SetTimer("Toll", 1000, true);

    SetTimer("GlobalTimer", 1000, true);

public OnFilterScriptInit()//Route 1 length : 4800 secs
{
    isferrygoing = 0;
    SetTimer("MoveCheck", 1000, true);
    SetTimer("FerryToIS", 120000, false);

public MoveCheck(playerid)
{
    if(!IsObjectMoving(ferry))
    {
        if(isferrygoing == 1)
        {
            //SendClientMessage(playerid, 0x00FF0000, "Ferry is docked to Island");
            SetTimer("FerryToLS", 60000, false);
        }
        else if(isferrygoing == 2)
        {
            //SendClientMessage(playerid, 0x00FF0000, "Ferry is docked to Los Santos");
            SetTimer("FerryToIS", 60000, false);
        }
    }
    return 1;
}
Reply


Messages In This Thread
Exeeding ackslimit - by Hessu - 09.05.2015, 11:37
Re: Exeeding ackslimit - by Smileys - 09.05.2015, 11:44
Re: Exeeding ackslimit - by Hessu - 09.05.2015, 11:51
Re: Exeeding ackslimit - by Smileys - 09.05.2015, 13:44
Re: Exeeding ackslimit - by Hessu - 09.05.2015, 17:49
Re: Exeeding ackslimit - by Smileys - 09.05.2015, 21:16
Re: Exeeding ackslimit - by PowerPC603 - 09.05.2015, 23:13
Re: Exeeding ackslimit - by Hessu - 10.05.2015, 03:39

Forum Jump:


Users browsing this thread: 1 Guest(s)