SA-MP Forums Archive
> and < - 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: > and < (/showthread.php?tid=84739)



> and < - Klutty - 02.07.2009

What means what? For example if I use GetPlayerMoney, what is "If he has more than (what sign? > or < ?) %s"

Does anyone understand?


Re: > and < - BMUK - 02.07.2009

GetCash > AmountNeeded

That asks if GetCash is greater than AmountNeeded

GetCash >= AmountNeeded

That asks if GetCash is equal to or greater than AmountNeeded

Much of the same for < and <=


Re: > and < - Djiango - 02.07.2009

https://sampwiki.blast.hk/wiki/Control_Structures#Operators


Re: > and < - Klutty - 03.07.2009

Thanks VERY much!