Car Lag - 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)
+--- Thread: Car Lag (
/showthread.php?tid=490742)
Car Lag -
Bogdanphr - 27.01.2014
Hello, i have a problem on car respawn all players have lag for 2 - 3 seconds... we tested lag whit one vehicle and server have lag,If I have ten cars and respawn this cars appear in 10 seconds .. please help me .
Create car with AddStaticVehicle, number of vehicle is: 230
Only car appear
Re: Car Lag -
Bogdanphr - 27.01.2014
is the same as
https://sampforum.blast.hk/showthread.php?tid=107082
Re: Car Lag -
Bogdanphr - 28.01.2014
BUMP ! Please help me
Re: Car Lag -
Mystique - 28.01.2014
Post the line of code that spawns the vehicle...
Re: Car Lag -
Shetch - 28.01.2014
Use AddStaticVehicle only when you want to spawn in when the server starts. If you want to spawn in cars at run-time, use CreateVehicle.
https://sampwiki.blast.hk/wiki/CreateVehicle
Re: Car Lag -
Bogdanphr - 28.01.2014
Resolved : OnVehicleStreamIn cause for lag