Zentharus Posted July 4, 2013 Posted July 4, 2013 I would like to know if instead of having guiSetFont(usernameLabel, "default-bold-small") guiSetFont(passwordLabel, "default-bold-small") If doing this would work as to make it shorter, guiSetFont(usernameLabel,passwordLabel "default-bold-small")
Zentharus Posted July 4, 2013 Author Posted July 4, 2013 If im not mistaking, would it be somethig like this? t = { passwordLabel, usernameLabel } guiSetFont(t, "default-bold-small")
Zentharus Posted July 4, 2013 Author Posted July 4, 2013 Sorry, im a bit new to this, what do you mean by that?
iPrestege Posted July 4, 2013 Posted July 4, 2013 local vTable = { passwordLabel, usernameLabel } for _,v in ipairs ( vTable ) do guiSetFont ( v,'default-bold-small' ) end Try it and tell me the results!
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