SA-MP Forums Archive
sign for between two numbers - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: sign for between two numbers (/showthread.php?tid=179024)



sign for between two numbers - nejc001 - 25.09.2010

Whats the sign to make like if pistol skill is between 100 and 199 it does that and that whatever i will make.
Code:
if(pistolskill[playerid] == 100 ? 199)



Re: sign for between two numbers - Voldemort - 25.09.2010

if(pistolskill[playerid] >= 100 && pistolskill[playerid] <= 199)