![]() |
GuiTextCtrl passed text not showing
This is just showing up "0"...
The echo right above the gui shows the correct value as well. I've also done it without destroy(), destroyonhide, and without the tween. None of that is effecting it. PHP Code:
|
Change...
PHP Code:
PHP Code:
|
Ok cool that was it. Can you give me a brief explanation of making variables objects and why?
Also, am I doing the addcontrol correctly? It tends to mess things up but I obviously wanted it all to be part of a control. Specifically in this weapon another brings up bitmap buttons and it seems they lose on catchevent if I hit any button or click anything, even one of the 3 buttons itself. Even the hover highlight never works at all unless I remove the addcontrol. PHP Code:
|
Quote:
PHP Code:
|
Ok I think I get it.
And with addcontrol I was just making sure I guess its controller.addcontrol(controlled); |
| All times are GMT +2. The time now is 07:46 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.