Lag problem? - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Lag problem? (
/showthread.php?tid=178471)
Lag problem? -
Typhome - 22.09.2010
I conenct server and taking car, then driving sometimes, now lag comes, and i can't see another cars. When i do reconnect, then i see cars, and sometimes lag comes...
Sorry for bad english.
Re: Lag problem? -
DeathOnaStick - 22.09.2010
Is it because of the script or can it have other reasons?
If it's the script, try to improve it, especially OnPlayerUpdate and for-/while-loops.
Lags can have many origins, if it's the internet-connection or your computer. If you don't have the problem at other scripts, try to do what i said above, and you should do okay, i guess.
Re: Lag problem? -
Typhome - 22.09.2010
Quote:
Originally Posted by DeathOnaStick
Is it because of the script or can it have other reasons?
If it's the script, try to improve it, especially OnPlayerUpdate and for-/while-loops.
Lags can have many origins, if it's the internet-connection or your computer. If you don't have the problem at other scripts, try to do what i said above, and you should do okay, i guess.
|
I send PM with code. (OnPlayerUpdate)