View Single Post
  #15  
Old 01-12-2010, 09:09 PM
Immolate Immolate is offline
Indigo
Join Date: Dec 2009
Posts: 322
Immolate is on a distinguished road
Quote:
Originally Posted by DustyPorViva View Post
So is it echoing test?
Try this:
PHP Code:
//#CLIENTSIDE

function onCreated()
{
  
FinalStar_Test_Gui.destroy();
  
  new 
GuiWindowCtrl("FinalStar_Test_Gui")
  {
    
profile GuiBlueWindowProfile;
    
useownprofile true;
    
    
profile.bitmap "finalstar_gui.png";
    
    
10;
    
width 200;
    
height 300;
    
    
canclose =
    
canmaximize =
    
canminimize =
    
canresize false;
    
    
text "Test";
  }
  
  echo(
"Test");

It might help to assign an X and Y. I imagine it doesn't, but in this case it doesn't hurt to try. Also, I think useownprofile expects you to actually provide all the data needed to create a successful profile. In your case, all you're providing is the bitmap, so the other data may not be provided. You assign a profile like GuiBlueWindowProfile, then you edit individual values that you want to change and the default profile fills in the rest.
This example and solution actually worked. Thanks man
Reply With Quote