Vehicles problems - 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: Vehicles problems (
/showthread.php?tid=466717)
Vehicles problems -
3MY - 29.09.2013
Hi, i have 800 vehicles on my gamemode everyone say that is lag, when I enter in a vehicle the game runs very slow and it blocks...
How can I solve this?
Re: Vehicles problems -
Akira297 - 29.09.2013
I would hope you have a streamer and if not look for one.
Re: Vehicles problems -
Tropicali - 29.09.2013
As Akira said above; a streamer.
A streamer is something that makes vehicles/objects/icons/pickups load a lot smoother than normal. Your high vehicle capacity suggests that you would definitely need a streamer.
Here's my suggestion;
https://sampforum.blast.hk/showthread.php?tid=102865
That's Incognito's streamer. It comes with a few custom functions I believe; those are handy too!
Re: Vehicles problems -
3MY - 30.09.2013
I forget to mention that my gm is running on mysql and I already have streamer
Vehicles are added like this:
Код:
policels1 = AddStaticVehicleEx(599,616.1244,-601.7048,17.4214,271.5325, -1, -1, 3000);
policels2 = AddStaticVehicleEx(427,1530.3849,-1645.1930,5.7777,179.3521, -1, -1, 3000);
Re: Vehicles problems -
Konstantinos - 30.09.2013
Honestly, I've never tried with 800 vehicles to be sure whether it's going to lag or not; however, I know that if few vehicles are close each other and they're messed up (like crushing on them) it makes indeed lag. By respawning the vehicles, it fixes that. (It used to happen on an old server I played).
Quote:
Originally Posted by Tropicali
A streamer is something that makes vehicles/objects/icons/pickups load a lot smoother than normal. Your high vehicle capacity suggests that you would definitely need a streamer.
|
Streamer does not support vehicles.