View Single Post
  #3  
Old 12-14-2007, 02:34 PM
Knightmare1 Knightmare1 is offline
Billy Allan
Knightmare1's Avatar
Join Date: Apr 2007
Posts: 804
Knightmare1 can only hope to improve
Quote:
Originally Posted by DustyPorViva View Post
PHP Code:
profile = GuiBlueWindowProfile;
useownprofile = true;
bitmap="image.png"; 
This applies for any profile.

EDIT: there is a profile specifically for bitmap buttons... so you might want to look that up on the wiki.
its still not working
PHP Code:
//#CLIENTSIDE
new GuiWindowCtrl("window") 
{ 
  
profile = GuiBlueWindowProfile; 
  
extent = {300,500}; 
  
position = {5, 5}; 
  
text = "This is the title"; 
   
  new 
GuiButtonCtrl("mybutton") 
  { 
    
profile = GuiBlueButtonProfile;
    
useownprofile = true;
    
bitmap="gui_final-button.png"; 
    
extent = {100, 25}; 
    
position = {5,5}; 
    
text = "Push me!"; 
  } 
} 


function 
mybutton.onAction() 
{ 
  
player.chat = "I pushed the button!"; 
} 
__________________
I am the devil, I am here to do to devils work.
Reply With Quote