Msypon Posted September 15, 2013 Share Posted September 15, 2013 someone can give me an example using break¿ Link to comment
isa_Khamdan Posted September 15, 2013 Share Posted September 15, 2013 someone can give me an example using break¿ for k, v in ipairs(Tag) do if isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup(v["tag"])) then cancelEvent() outputChatBox('#'..v["color1"]..' ' ..v["name"]..' '.. getPlayerName ( source ) .. ' : #'..v["color2"]..''..text..'', getRootElement(), r, g, b, true ) break Link to comment
myonlake Posted September 15, 2013 Share Posted September 15, 2013 You use break within a for, while or repeat in order to break the loop. Like within the example above. 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