KevinC Posted July 10, 2017 Share Posted July 10, 2017 (edited) Hi, one window and three button. Window name = myWindow Button One Name = buttona Button Two Name = buttonb Button Three Name = buttonc I need all buton only one operation text buttond ı make but no work for k, v in ipairs(getElementType("gui-button")) do guiSetText( v, "buttond" ) end Edited July 10, 2017 by KevinC text true Link to comment
Gordon_G Posted July 10, 2017 Share Posted July 10, 2017 What - The - :O ? Please explain correctly what do you want to make ? How could we help you ? 1 Link to comment
Mr.Loki Posted July 10, 2017 Share Posted July 10, 2017 Do you want a button that opens and closes a window? Link to comment
KevinC Posted July 11, 2017 Author Share Posted July 11, 2017 I need all button text only one operation change. Link to comment
pa3ck Posted July 11, 2017 Share Posted July 11, 2017 getElementType =/= getElementsByType, you are using the wrong function to get the buttons. 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