SA-MP Forums Archive
xD i got a stupid question - 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: xD i got a stupid question (/showthread.php?tid=243962)



xD i got a stupid question - [ProX]BlueFire - 25.03.2011

well idk witch of those simboles mean what.... xD
> is bigger or smaller then 1?
< is bigger or smaller then 1?

ik its a stupid question....
i wanna make a "SendClientMessage" when the vip lvl is to small, so witch make it like thet:this "(vip[playerid] < 1)" or this "if(vip[playerid] > 1)"
but i forgot what does it mean -.-"


Re: xD i got a stupid question - mrcoolballs - 25.03.2011

> means "more than"
>= means "more than or equal to"
== means "it is"


Re: xD i got a stupid question - Zh3r0 - 25.03.2011

X < Y | X is smaller than Y
X > Y | X is bigger than Y
X <= Y | X is smaller or equals Y
X >= Y | X is bigger or equals Y
X == Y | X equals Y



Re: xD i got a stupid question - jaami - 25.03.2011

what are these for?


Re: xD i got a stupid question - Zh3r0 - 25.03.2011

Quote:
Originally Posted by jaami
Посмотреть сообщение
what are these for?
Comparing one variable's value to another!