SA-MP Forums Archive
Camera Pos for each vehicle component - 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: Camera Pos for each vehicle component (/showthread.php?tid=601980)



Camera Pos for each vehicle component - Chipardeur - 29.02.2016

Hey,

I want to know if a include exist for get camera pos for each vehicle component ?
I want to do a tuning system which switch camera pos when the component change (wheel, hydraulics, hood, roof)

Do you have an idea ?
Ty


Re: Camera Pos for each vehicle component - Virtual1ty - 29.02.2016

I'm not sure if it does, you can try checking the Need for Speed World gamemode or any other racing gamemode.
But this is dead easy to make since you can use GetVehicleModelInfo to get some of the required offsets, or by manually calculating the positions.


Re: Camera Pos for each vehicle component - Chipardeur - 01.03.2016

Yes, that could work but i can get camera exact position.
So.. that's problematical
Is there an other way ?