This function was added in SA-MP 0.3d and will not work in earlier versions!
Check who a player is aiming at.
|playerid||The ID of the player to get the target of.|
The ID of the target player, or INVALID_PLAYER_ID if none.
Does not work for joypads/controllers, and after a certain distance. Does not work for the sniper rifle, as it doesn't lock on to anything and as such can't and won't return a player.