12.01.2010, 18:07
Quote:
You have to many timers. And AddStaticVehicleEx should not be -1. -1 is either never or all the time? |
And it seems that -1 means never. But if you think that the problem could come from that value, I'll change it.
Quote:
What "heavy" functions are you calling and how often are you calling them? |
We also have a function that checks the player's position to know if the player is on a pickup. (So we use 2 "For" Loops : one for the houses and one for the businesses).
And we also use another timer that checks each 2 seconds the player's position. We use it for one of our faction and for our jobs.
Quote:
Something else about the MAX_PLAYERS_CURRENT: |
Quote:
Also, if you are, don't use OnPlayerUpdate to save files or so. |