This function was added in SA-MP 0.3.7 and will not work in earlier versions!
Allows you to retrieve the ID of the object the player is looking at.
|playerid||The ID of the player to check|
The ID of the object playerid is looking at. If INVALID_OBJECT_ID (65535) is returned, playerid isn't looking at any object.
This function is disabled by default to save bandwidth. Use EnablePlayerCameraTarget to enable it for each player.