Thread: 0 is a no show.
View Single Post
  #4  
Old 03-06-2007, 12:07 AM
Chompy Chompy is offline
¯\(º_o)/¯
Chompy's Avatar
Join Date: Sep 2006
Location: Norway
Posts: 2,815
Chompy is just really niceChompy is just really niceChompy is just really nice
Send a message via MSN to Chompy
Quote:
Originally Posted by Angel_Light View Post
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 == NULMaster_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 ?  currentexp "0") @ " / " clientr.mud.stats.maxexp); 
__________________
Reply With Quote