GetPlayerLookingAt or GetPlayerAimingPoint
#1

How to get what point the player is aiming with a gun? This assume you need the z coords as well.
Actually I juste want to know what point player aims with his cursor. I'm sure it is possible with trigonometry and as we have the SetPlayerCameraLookAt which is similar.

Any idea?
Reply
#2

You mean GetPlayerFacingAngle ?
If you're looking for how to get the x and y in front of the player, then search for GetXYInfronOfPlayer
Reply
#3

No I mean the aiming point with a gun, where the sursor is, no it needs Z coordonitane as well. But I've found other topics and saw that it was impossible...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)