View Single Post
  #1  
Old 11-24-2009, 01:56 AM
sssssssssss sssssssssss is offline
Cyril Rain
sssssssssss's Avatar
Join Date: May 2003
Location: Texas, USA
Posts: 1,134
sssssssssss will become famous soon enough
Change Image in gui

If i have a script with imgctrl in it:

PHP Code:
    new GuiShowImgCtrl("Stan_Window_Image" this.guildflag) { 
      
12
      
50
      
width 150
      
height 150
      
image this.guildflag
    } 
And I need to change that image later, how would I go about it?

I tried doing a triggerserver on created, then get the image from dbnpc, then triggerclient, and set the this.gulidflag clientside, but that isnt working.
Also, on a whim, tried gui.setImage(this.guildflag), but I guess thats not a way to do it, kinda like setText.
__________________
Cyril Rain
Creator and leader of SLX
Admin of Elysium
Elysium's Facebook Page: http://facebook.com/GraalOnlineElysium
Graal Forum Thread: http://forums.graalonline.com...
Graalians Thread: http://www.graalians.com...


Reply With Quote