Function 'PlayerLookingAt' - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Function 'PlayerLookingAt' (
/showthread.php?tid=318950)
Function 'PlayerLookingAt' -
nuriel8833 - 17.02.2012
Is there any function like 'PlayerLookingAt' that checks the coords the player is looking at?
Thanks 4 helpers
Re: Function 'PlayerLookingAt' -
vakhtang - 17.02.2012
I think there is not such function

But you can get players facing angle
Re: Function 'PlayerLookingAt' -
nuriel8833 - 17.02.2012
Quote:
Originally Posted by vakhtang
I think there is not such function  But you can get players facing angle 
|
Thats what Im trying to do,get the angle of a player by 4 variables: x,y of an object/checkpoint/pickup/whatever and x,y of a player
Re: Function 'PlayerLookingAt' -
nuriel8833 - 17.02.2012
Quote:
Originally Posted by ******
|
Thanks a lot,you saved me a lot of work
+1 Rep