SA-MP Forums Archive
Best method to check if a player is aiming with a sniper? - 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: Best method to check if a player is aiming with a sniper? (/showthread.php?tid=592500)



Best method to check if a player is aiming with a sniper? - rangerxxll - 25.10.2015

Solved.


Re: Best method to check if a player is aiming with a sniper? - Onfroi - 26.10.2015

GetPlayerCameraMode(playerid) == 7

https://sampwiki.blast.hk/wiki/GetPlayerCameraMode
https://sampwiki.blast.hk/wiki/CameraModes


Re: Best method to check if a player is aiming with a sniper? - rangerxxll - 26.10.2015

Appreciate it. Just needed to find a correct function for checking.