31.01.2015, 10:12
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
What should i do now ?
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;
}

