SA-MP Forums Archive
Vehicle spawning too low - 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: Vehicle spawning too low (/showthread.php?tid=665778)



Vehicle spawning too low - m4karow - 15.04.2019

Hey

I'm using GetVehicleModelInfo function with VEHICLE_MODEL_INFO_WHEELSFRONT parameter and increase the spawning height with, but sometimes it still bugged into the ground. Is there any way to avoid this?




Re: Vehicle spawning too low - polygxn - 15.04.2019

You can try to find the Z coordinate with MapAndreas and spawn the vehicle there. Maybe...


Re: Vehicle spawning too low - m4karow - 15.04.2019

Quote:
Originally Posted by polygxn
View Post
You can try to find the Z coordinate with MapAndreas and spawn the vehicle there. Maybe...
It's still appears when I manually create a spawn point.