17.09.2009, 20:40
A suggestion for 0.3 final - A function like GetPlayerAim(playerid,float
,float:y,float:z) which gets the position of a point the player is aiming at. Could be useful when making target practice scripts.
I hope something like this is in 0.3 final release already..
If anyone knows a way to do it already, please tell me how.
,float:y,float:z) which gets the position of a point the player is aiming at. Could be useful when making target practice scripts.I hope something like this is in 0.3 final release already..
If anyone knows a way to do it already, please tell me how.


We would need a way to get the elevation angle, and how far you're aiming (the radius). All of these are important to get a X, Y, Z coordinate for the player's aim. However we really could just make do with the elevation angle in a new function.
i believe it's very useful 