Quote:
Originally Posted by DustyPorViva
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!";
}