03.08.2010, 17:11
Quote:
If this can be a reason for server slowdown - lagg ?
pawn Код:
|
MAX_VEHICLES = 2000
OnPlayerUpdate gets called every... like 0.05 seconds.
That means that script part is called about 40.000 times every 1 second for 1 player.
That means if you have 200 players in your server, times 40.000 = 8.000.000 times a second.
So if you have 200 players, that script part will be executed 8 million times per second.