Page 1 of 1

[0.14.7] gui button not showing up

Posted: Sun Sep 18, 2016 10:11 pm
by Adil
For some reason variants of the following command don't cause the button to appear on screen for me

Code: Select all

/c game.player.gui.center.add{type='button',name='asd',label='sda'}
The button seems to be created as repeating the command returns the error.
log

Re: [0.14.7] gui button not showing up

Posted: Sun Sep 18, 2016 10:23 pm
by Rseding91
"label" is not the correct property. It's "caption".

Re: [0.14.7] gui button not showing up

Posted: Sun Sep 18, 2016 10:30 pm
by Adil
Whoops.