solidsnake Posted February 19, 2010 Share Posted February 19, 2010 hi all .... i just want to know how to add except (For do) example : for superman = 10, 20 do bla bla bla i want to add except like all value from 10 to 20 just only 15 (except 15) i dont want value from 10 to 20 i want it like this [1, 2, ,3 ...(without 15) ... 20 ] i hope understanding Link to comment
Robert333 Posted February 19, 2010 Share Posted February 19, 2010 for i = 1, 20 do if i ~= 15 then -- if the value i is not 15 the script go on else it do nothing -- do what you must do end end I think you mean this. But I also new in Lua, so it can maybe wrong or i haven't understood you. Link to comment
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