lag - OnPlayerUpdate? [application-optimize code]
#6

Код:
OnGameModeInit()
{
    SetTimer("OnPlayerUpdateEx", 1000, true);
}

foward OnPlayerUpdateEx();
public OnPlayerUpdateEx()
{
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
        // Paste the code from you OnPlayerUpdate callback in here.
        // Remember to replace 'playerid' with the iterator 'i'!
    }
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 7 Guest(s)