Posts: 655
Threads: 49
Joined: Sep 2007
Reputation:
0
Any possible way to find out where the player's camera is looking ? As i understood, GetPlayerFacingAngle, refers to the character, not to the Player's Camera...
Posts: 2,593
Threads: 38
Joined: Aug 2007
Reputation:
0
As of right now, no. What can be done, however, is use a plugin to get the value of the player's head rotation. Some time in the 0.2 era of SA-MP the player's head rotation was sent to other players so it can show where that player is looking, perhaps this rotation can be used to determine where the camera is looking (generally)
Posts: 96
Threads: 10
Joined: Nov 2009
Reputation:
0
are you talking about on player request class, because if you are,
there is a commands called SetPlayerCameraLookAt which directs where the camera looks. But if your not im not really sure, probably use what the other people said.