SA-MP Forums Archive
if score is higher / lower then help - 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: if score is higher / lower then help (/showthread.php?tid=190572)



if score is higher / lower then help - DaneAMattie - 15.11.2010

Hello i want something that if the score is betweet 34 and 45 that it does something i know i can use this:

if(GetPlayerScore(playerid) > 34)

but how can i also make it say if its < 45 in that same if statement?


Re: if score is higher / lower then help - blackwave - 15.11.2010

Код:
if(GetPlayerScore(playerid) > 34 && GetPlayerScore(playerid) < 45)



Re: if score is higher / lower then help - DaneAMattie - 15.11.2010

Quote:
Originally Posted by blackwave
Посмотреть сообщение
Код:
if(GetPlayerScore(playerid) > 34 && GetPlayerScore(playerid) < 45)
Thanks, i think it worked