View Single Post
  #1  
Old 08-08-2013, 05:37 AM
baseman101 baseman101 is offline
Scripter
baseman101's Avatar
Join Date: Nov 2012
Location: Purcellville, VA
Posts: 76
baseman101 will become famous soon enough
GuiShowImgCtrl Cutting Off

Hello,

I have an issue with a GuiShowImgCtrl cutting off. I'm attempting to script a GUI profile script for a server, but resizing the actor just adds the issue of it cutting off. I have tried GuiBitmapCtrl like another post suggested, but that doesn't support actors (I don't believe). Is there a way to achieve setting the height and width efficiently?



PHP Code:
new GuiShowImgCtrl("Profile_Char") {
  
235;
  
100;
  
playerlook false;
  
actor.head temp.char[0];
  
actor.attr[1] = temp.char[1];
  
actor.body temp.char[2];
  
actor.shield temp.char[3];
  
actor.colors[0] = temp.char[4];
  
actor.colors[1] = temp.char[5];
  
actor.colors[2] = temp.char[6];
  
actor.colors[3] = temp.char[7];
  
actor.colors[4] = temp.char[8];
  
ani "idle";
  
stretchx 1.5;
  
stretchy 1.5;
  
width 200;
  
height 50;

Reply With Quote