View Single Post
  #3  
Old 04-28-2007, 03:11 AM
killerogue killerogue is offline
Registered Omega
killerogue's Avatar
Join Date: Apr 2006
Location: United States
Posts: 1,920
killerogue is on a distinguished road
Send a message via AIM to killerogue Send a message via MSN to killerogue
Well, why do you have the onCreated event in there man you don't need that. Just use mouse down as well instead of on action mouse. Give me a few moments to fix that up for you.


PHP Code:
//#CLIENTSIDE
function onMouseDown(mousebutton){
  if ( 
mousebutton == "leftmousebutton" )
  {
    new 
GuiWindowCtrlshopwin ) {
      
profile GuiBlueWindowProfile;
      
10;
      
10;
      
destroyonhide=true;
      
width 160;
      
height 80;

             new 
GuiMLTextCtrlshopitem ) {
               
profile GuiBlueMLTextProfile;
               
10;
               
20;
               
width 160;
               
height 1;
               
text this.itemname;
             }
           }
         }
       } 
Also a suggestion would be to format your scripts with styling so they are more readable bro. Otherwise nice work.
__________________


REMEMBER, IF YOU REP ME, LEAVE A NAME!

Quote:
Originally Posted by haunter View Post
Graal admins don't die. They go to hell and regroup.
Quote:
Originally Posted by Inverness View Post
Without scripters, your graphics and levels wouldn't do anything but sit there and look pretty.
Reply With Quote