Simple 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)
+--- Thread: Simple question (
/showthread.php?tid=605000)
Simple question -
iCurse - 13.04.2016
If i do
I have 8 for example.
< 4 - What will happen?
=< 4 - What will happen?
Respuesta: Simple question -
Thewin - 13.04.2016
< 4 (3,2,1,0,-infinite)
<= 4 (4,3,2,1,0,-infinite)
> 4 (5,6,7,8,+infinite)
>= 4 (4,5,6,7,+infinite)
Re: Simple question -
Godey - 13.04.2016
If < 4 (Less than 4)
Then 3, 2, 1, 0
If <= 4 (Less than or equal to 4)
Then 4, 3, 2, 1, 0
The difference is if you use <= it will include it's value
else, only the value lower to it
Re: Simple question -
iCurse - 13.04.2016
So if < 4, 4 can't use a specified command? 5 6 7 8... Can use?
Re: Simple question -
Godey - 13.04.2016
Can use ( 4, 5, 6, 7, 8 )
Re: Simple question -
iCurse - 13.04.2016
Huh? If < 4, 4 can use? I really don't understand, sorry for that.
Re: Simple question -
Godey - 13.04.2016
Listen, if you use < 4
IT MEANS LESS THAN 4 NOT 4
Sorry for caps :P
Re: Simple question -
itsCody - 13.04.2016
Quote:
Originally Posted by iCurse
Huh? If < 4, 4 can use? I really don't understand, sorry for that.
|
What he said is straight forward.
Quote:
Originally Posted by Godey
If < 4 (Less than 4)
Then 3, 2, 1, 0
If <= 4 (Less than or equal to 4)
Then 4, 3, 2, 1, 0
The difference is if you use <= it will include it's value
else, only the value lower to it
|