Hey all!
Just wondering whether it is possible to find a label from a GUI by it's ID. I know that all labels have an ID relative to the GUI, but that all GUI's hav a unique ID. So I'm looking for something along the lines of:
gui[number1].Label[number2] = stringValue;
obviously, it's not that easy, but is there a way of doing this sort of thing?
Thanks
I think this should work:
Label* mylabel = gui[number1].Controls[number2].AsLabel;
if (mylabel != null) mylabel.Text = stringValue;
Thanks, it works perfectly! ;D