SA-MP Forums Archive
Little help - 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: Little help (/showthread.php?tid=81524)



Little help - jonybomb - 11.06.2009

Hello everyone, I need a help, I added some cars in my GM, and everything is in a FilterScript, but .. when spawn vehicles, do not get where I recorded the coordinates they always spawn next to the most original place...

Anybody helps?

PS: Sorry bad english


Re: Little help - abhinavdabral - 12.06.2009

well... show the code you have written for that..may be we can help.


Re: Little help - Vince - 12.06.2009

This is problably cliлnt related.
When the vehicles are loaded and the map (which is dependant of your computers speed) isn't loaded yet, the vehicles will fall trough the ground. This will cause the vehicles to respawn in the middle of the nearest road.


Re: Little help - jonybomb - 12.06.2009

The code is long because cars are modified

It's possible resolve this? :S


Re: Little help - Sfinx_17 - 13.06.2009

you just simply go to OnGameModeinit for example you have tu put for example this code:


AddStaticVehicle(548, 1534.2737,1232.8140,10.8125,2.0852, 26, 26); < this is a car and his co-ordinates




Re: Little help - jonybomb - 13.06.2009

I know, but the car don't spawn in the right place, but the car explode, spawn in the right place (btw omg my english --')