15.08.2016, 20:47
What do you want it for? If it's like for detecting if a player is aiming at an actor (there's also a function for players), you can use https://sampwiki.blast.hk/wiki/GetPlayerTargetActor.
The code on the wiki creates an object at the position of your crosshair.
The code on the wiki creates an object at the position of your crosshair.