Timers making lag.. Rep+ 1
#1

I'm using 3 Timers in Server .

Under OnPlayerConnect
SetTimerEx("Anticheat", 1000, true, "i", playerid); // for checking the cheats..

Under OnGameModeInt
SetTimer("RandomMessage", 40000, 1);

This is Timer to Update Players Textdraws Stats ..
SetTimerEx("StatsInfromation", 1000, true, "u", playerid);


I see Players in Server Stop after some sec and then move..
Like AFk and after some sec move..

What should i do now to remove the Lag I'm not using
Код:
public OnPlayerUpdate(playerid)
{
    #if PauseDetectSystem == true
    pTick[playerid] = GetTickCount();
    #endif
    #if MoveSystem == true
    if(pInfo[playerid][Move] == 1)
    GetPlayerHoldingKey(playerid);
    #endif

    SaveStatus(playerid);
    return 1;
}
What should i do now ?
Reply


Messages In This Thread
Timers making lag.. Rep+ 1 - by MBilal - 31.01.2015, 10:12
Re: Timers making lag.. Rep+ 1 - by CalvinC - 31.01.2015, 10:22
Re: Timers making lag.. Rep+ 1 - by MBilal - 31.01.2015, 10:41
Re: Timers making lag.. Rep+ 1 - by arlindi - 31.01.2015, 10:43
Re: Timers making lag.. Rep+ 1 - by vassilis - 31.01.2015, 10:43
Re: Timers making lag.. Rep+ 1 - by CalvinC - 31.01.2015, 11:02

Forum Jump:


Users browsing this thread: 1 Guest(s)