Changing vehicle angle - 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: Changing vehicle angle (
/showthread.php?tid=619793)
Changing vehicle angle -
thegamer355 - 22.10.2016
Hello all,
I've got a question, when i park a vehicle using /park it saves the coords and the facing angle.
But when i respawn that vehicle, it only spawns at the new coords, and it refuses to set the correct angle.
I tried using SetVehicleZAngle but that doesn't work on onuccupied vehicles.
So my question is, how do i change the vehicle facing angle of an unoccupied vehicle
-TheGamer
Re: Changing vehicle angle -
GoldenLion - 22.10.2016
I think all you can do is destroy the vehicle and create it again.