DzMG-LV Posted April 20, 2016 Posted April 20, 2016 Hey, how to make if number is from -> to then Example: 3-5 then my code.
Noki Posted April 22, 2016 Posted April 22, 2016 Anubhav, the equals sign always goes on the right. local var = 4 if (var <= 3 and var >= 5) then -- Code end
Anubhav Posted April 22, 2016 Posted April 22, 2016 Anubhav, the equals sign always goes on the right. local var = 4 if (var <= 3 and var >= 5) then -- Code end My bad. I always fail to remember them for some reason, I should work on this!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now