> and <
#1

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

Does anyone understand?
Reply
#2

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 <=
Reply
#3

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

Thanks VERY much!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)