SA-MP Forums Archive
How to check - 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: How to check (/showthread.php?tid=631517)



How to check - Kraeror - 30.03.2017

How can i check if player is stop aiming with sniper?
+1 rep for help!


Re: How to check - LazzyBoy - 30.03.2017

Код:
if( GetPlayerCameraMode(playerid) != 7 ) // cam mode 7 is sniping mode so this will check if he is not on cam mode 7



Re: How to check - Kraeror - 30.03.2017

Quote:
Originally Posted by LazzyBoy
Посмотреть сообщение
Код:
if( GetPlayerCameraMode(playerid) != 7 ) // cam mode 7 is sniping mode so this will check if he is not on cam mode 7
error 029: invalid expression, assumed zero


Re: How to check - Kraeror - 30.03.2017

Quote:
Originally Posted by Kraeror
Посмотреть сообщение
error 029: invalid expression, assumed zero
Fixed!


Re: How to check - Vince - 30.03.2017

I hate when people post an error message BUT NO FREAKING CODE! Seriously, we are not magicians!


Re: How to check - Kraeror - 30.03.2017

Quote:
Originally Posted by LazzyBoy
Посмотреть сообщение
Код:
if( GetPlayerCameraMode(playerid) != 7 ) // cam mode 7 is sniping mode so this will check if he is not on cam mode 7
1 error, but i fixed! Thanks for help! +1 REP!!!


Re: How to check - [eLg]elite - 30.03.2017

-Removed


Re: How to check - Kraeror - 30.03.2017

Quote:
Originally Posted by Vince
Посмотреть сообщение
I hate when people post an error message BUT NO FREAKING CODE! Seriously, we are not magicians!
There is just one lane which LazzyBoy pasted!