AddStaticVehicle - 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: AddStaticVehicle (
/showthread.php?tid=105595)
AddStaticVehicle -
Mike Garber - 30.10.2009
I've noticed, when I add around 50-60 vehicles with AddStaticVehicle
under OnGameModeInit, my gamemode Is really slow, even after all vehicles were spawned and streamed in.
Why Is it Like that?
It works fine with the ~30 vehicles I had before I added those.
Oh, btw, those 50-60 vehicles are not affected by OnVehicleStreamIn in any way, but the others are.
Re: AddStaticVehicle -
Sergei - 30.10.2009
Are static vehicles actually streamed?
I'm not sure, but my common sense would say that Add
StaticVehicle would mean that vehicle is static, so not streamed.
Re: AddStaticVehicle -
(.Aztec); - 30.10.2009
Quote:
Originally Posted by $ЂЯĢ
Are static vehicles actually streamed?
I'm not sure, but my common sense would say that AddStaticVehicle would mean that vehicle is static, so not streamed.
|
Yes, they do stream in.
Re: AddStaticVehicle -
shady91 - 30.10.2009
wow i have about just under 1000 vehicles in my server and i get no lag at all.
Re: AddStaticVehicle -
-8oHd4N- - 30.10.2009
Quote:
Originally Posted by Shady91
wow i have about just under 1000 vehicles in my server and i get no lag at all.
|
and what model car?
Re: AddStaticVehicle -
shady91 - 30.10.2009
Quote:
Originally Posted by -8oHd4N-
Quote:
Originally Posted by Shady91
wow i have about just under 1000 vehicles in my server and i get no lag at all.
|
and what model car?
|
load of diffrent ones like every model but 5 or 6 of them. as i have a car show room.
Re: AddStaticVehicle -
Mike Garber - 30.10.2009
Well, I still need help with this. This should not be a problem :S
Re: AddStaticVehicle -
Darekfred - 30.10.2009
Mabye all cars toghether makes a good hard lag.
Like make 30 bikes
put all them in the same coordinates, when these spawn a huge lagg will be.
.
Re: AddStaticVehicle -
Mike Garber - 01.11.2009
I don't have them at the same place -_-
And It is NOT only when they spawn, It's all the time.
I know, there's a bit lag when they stream in, but this problem last even after all cars are streamed in.