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 06-29-2013, 06:28 PM
scriptless scriptless is offline
Banned
Join Date: Dec 2008
Location: N-Pulse
Posts: 1,412
scriptless is a splendid one to beholdscriptless is a splendid one to beholdscriptless is a splendid one to beholdscriptless is a splendid one to behold
GuiControl profile.fillcolor

So I was wondering how I would get a background in a GuiControl to fill a certain color. Right now what I am trying does not seem to work.

PHP Code:
//#CLIENTSIDE
function onCreated() {
  
preview();
}

function 
preview() {
  (
"Window_test").Destroy();
  new 
GuiControl("Window_test") {
    
useownprofile true;
    
profile.border 1;
    
profile.fillcolor "50, 50, 50, 150";
    
screenwidth 162.5;
    
screenheight 150;
    
width 325;
    
height 100;
  }

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 03:59 AM.


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