12.10.2009, 12:39
Sorry for the double post but is this code okay ?
Will this create less lagg because it's three times slower ? Thanks.
pawn Код:
public OnPlayerUpdate(playerid)
{
if(IsPlayerConnected(playerid))
{
UpdateCount[playerid] += 1;
if(UpdateCount[playerid] == 3)
{
UpdateCount[playerid] = 0;
OnPlayerPressArrowKeys(playerid);
}
}
return 1;
}