Thread: Custom Gui
View Single Post
  #24  
Old 02-24-2007, 08:13 PM
Angel_Light Angel_Light is offline
Varia Developer
Angel_Light's Avatar
Join Date: Nov 2005
Location: Knoxville, TN
Posts: 1,684
Angel_Light is on a distinguished road
Send a message via AIM to Angel_Light Send a message via MSN to Angel_Light
godofwarares sent me this, it didn't work at first, but when I closed graal and logged back on it worked.

PHP Code:
//#CLIENTSIDE
function onCreated()
{
     new 
GuiWindowCtrl("Window")
     {
          
useOwnProfile true;
          
profile.bitmap "whatever.png";
          
          
position = { 100100 };
          
extent = { 200300 };

          
title destroyOnHide true;
          
canMaximize canResize false;

          
text format("Hello, %s!"player.nick);
     }

just one question aswell, I've seen this
PHP Code:
position = { 100100 }; 
and this
PHP Code:
position "100 100"
which way is correct, they both do the same thing?
__________________
Deep into the Darkness peering...
Reply With Quote