Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #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
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 06:52 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.