Cars spawning wrongly - 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: Cars spawning wrongly (
/showthread.php?tid=607555)
Cars spawning wrongly -
Alpay0098 - 21.05.2016
Hi guys,
I've added some cars on mappings, but when my virtual world gets changed, mappings spawn after cars spawning.
And it makes cars fall through the empty space of map and respawns it somewhere else of its exact position.
I know i can increase all cars' Z position but it takes a lot time and I wanted to have a better way to fix it and spawn cars exactly on its position on map.
If there's anyone can help me with this problem, I'll appreciate him. <3 thanks
Re: Cars spawning wrongly -
CraTzy - 21.05.2016
it happen when u just in range of mapping ? or when gamemode loads they fell down ?
u shall try frezing cars position on like 5ms or depends on map loading
Re: Cars spawning wrongly -
Alpay0098 - 21.05.2016
Sometimes from close distances, sometimes after the virtual world change, and sometimes even mappings doesnt load. I dont know what version of Streamer I gotta use.
Maybe its because of Streamer
Re: Cars spawning wrongly -
CraTzy - 21.05.2016
uhm maybe your connection speed low / player speed who fell down
or its the host
im using on my gamemode over 600k objects at once and all work fine
try to Local host & test
Re: Cars spawning wrongly -
Alpay0098 - 21.05.2016
I found out what is the problem bro,
You have to add another parameter that has been added to Streamer Plugin functions.
+Rep anyway
#CLOSED