SA-MP Forums Archive
Store Vehicles on Map - 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: Store Vehicles on Map (/showthread.php?tid=569051)



Store Vehicles on Map - CoachCarter - 27.03.2015

Hello, I'm new member of the community ^_^

I was working on a map (it is located in the OCEAN,like a little island) with MapEditor and after I finished the work i copied the code in my .PWN and stored some vehicles on it but when i teleported to LS and went back on island Vehicles were in water and because of this i tried to do the same thing three more times it repeated again. How can I fix this bug ?


Re: Store Vehicles on Map - CalvinC - 27.03.2015

You're probably using CreateDynamicObject and streamer for the ground of the island, vehicles will fall through, as you have to be near dynamic objects for them to exist.
Use static objects (CreateObject).


Re: Store Vehicles on Map - CoachCarter - 27.03.2015

Mhm-... makes sense, I'll try it.

Thanks for help ... ))






It worked thank you very much ))