View Single Post
  #1  
Old 01-19-2012, 06:34 AM
khortez khortez is offline
PrototypeX
khortez's Avatar
Join Date: Dec 2008
Posts: 91
khortez will become famous soon enough
GUI explanation needed please.

Alright, to save time I'm just gonna post my code here. And explain my situation. So any questions on the script that you have just ask and i'll explain. with that said...

How do i make a custom profile with the graphics I want for my GUI? I have looked at the only site i know that holds an explanation on custom profiles, but i just cannot seem to grasp it. I've studied it for a very long time (A lot more then you may think).

I got no where else to look. So any errors (which i'm sure you will find many) and mistakes, please point them out, and lead me in the right direction. Thanks in advance for any helpful input:

PHP Code:
//#CLIENTSIDE
function onCreated() {
  new 
GuiControlProfile("Test") {
    
fillColor = {
      
25500
    
};
    
fontColor = {
      
255255255
    
};
    
bitmap "block.png";
    
opaque false;
    
transparency 0.5;
  }
  new 
GuiWindowCtrl("Test_Window") {
    
profile "Test";
    
10;
    
10;
    
width 160;
    
height 80;
    
text "Window";
  }

Reply With Quote