Quote:
Originally Posted by Angel_Light
I cant get a single digit0 to display in my gui, it's a mud var I'm using,
PHP Code:
this.clientr.mud.stats.curexp = 0;
I know 0 is null but why doesnt the gui still show 0?
EDIT :
Think I found a solution :
PHP Code:
if (clientr.mud.stats.curexp == NUL) Master_Gui_Text_Exp.setText("EXP : 0/ " @ clientr.mud.stats.maxexp);
Still want 0 to show by itself.
|
PHP Code:
Master_Gui_Text_Exp.setText("EXP : " @ (currentexp > 0 ? currentexp : "0") @ " / " @ clientr.mud.stats.maxexp);