Act0nMX Posted July 26, 2018 Posted July 26, 2018 Hello I am new I would like to know how to make a condition not to repeat if, It is to make an achievement script!!! pls HELP!!
Act0nMX Posted July 26, 2018 Author Posted July 26, 2018 1 hour ago, Act0nMX said: Hello I am new I would like to know how to make a condition not to repeat condition, It is to make an achievement script!!! pls HELP!!
Moderators IIYAMA Posted July 26, 2018 Moderators Posted July 26, 2018 local index = 1 repeat print(index) index = index + 1 until index > 100 Do you want to improve your Lua programming skills and make less mistakes? Start with Lua Language Server! Useful functions 3x Spoiler checkPassiveTimer getScreenStartPositionFromBox getPedGender Tutorials 4x Spoiler Scaling DX Events Attach an addEventHandler on a group of elements Debugging
Act0nMX Posted July 27, 2018 Author Posted July 27, 2018 (edited) I asked him not to repeat Edited July 27, 2018 by Act0nMX
Moderators IIYAMA Posted July 27, 2018 Moderators Posted July 27, 2018 Stop screaming, you are not a baby. local achievementState = {} local achievement = "test" if not achievementState[achievement] then achievementState[achievement] = true end Do you want to improve your Lua programming skills and make less mistakes? Start with Lua Language Server! Useful functions 3x Spoiler checkPassiveTimer getScreenStartPositionFromBox getPedGender Tutorials 4x Spoiler Scaling DX Events Attach an addEventHandler on a group of elements Debugging
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