SA-MP Forums Archive
GetPlayerCameraFrontVector 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)
+--- Thread: GetPlayerCameraFrontVector Help (/showthread.php?tid=457357)



GetPlayerCameraFrontVector Help - Necip - 11.08.2013

How can I check if the player is looking down? What is the exact position for it?


Re: GetPlayerCameraFrontVector Help - -Prodigy- - 11.08.2013

Why not play with the function? Use OnPlayerUpdate and print debug messages to obtain the "exact" position.


Re: GetPlayerCameraFrontVector Help - Necip - 11.08.2013

I just want to know the full down looking position, I know it's the Z but what's the exact position...


Re: GetPlayerCameraFrontVector Help - BullseyeHawk - 11.08.2013

Just take the full size of the player model and decrease the Z.

I remember that Z-0.3 is the start of the legs. Play with it and try Z-0.8 or Z-1.0
That should be the complete ground of the player.