Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
2

I dont get what the <= and >= means?

Asked by 10 years ago

I've seen it used many times in scripts, for example;

if thing >= thing2 then

I dont understand what and how its used?

0
lol User#11440 120 — 7y

2 answers

Log in to vote
3
Answered by 10 years ago

This is basic math :) The ">=" means greater than or equal to so

if game.Players.Numplyrs >= 2 then

end

This would be equal to as saying "If the number of players online is equal to or greater than two then start the script." The "<=" means the exact opposite which is "Less than or equal to"

I hope this helped :)

0
Thanks man! That explained allot! :D TheeDeathCaster 2368 — 10y
Ad
Log in to vote
0
Answered by 9 years ago

<= means Less than(<) or Equal To(=) >= means Greater Than(>) or Equal To(=)

Answer this question