View Single Post
  #1  
Old 12-16-2012, 09:04 PM
sssssssssss sssssssssss is offline
Cyril Rain
sssssssssss's Avatar
Join Date: May 2003
Location: Texas, USA
Posts: 1,134
sssssssssss will become famous soon enough
Gui Image Cut Off

I'm showing a gui image, and it's a player head. Using partx, y, ect, and zoom cuts it out. If I keep the zoom at 1 it's fine of coarse, but even expanding the width double on zoom = 2 cuts out the image and it seems partx doesn't matter anymore. Heres the code for the image

PHP Code:
new GuiShowImgCtrl("Dialog_Head"
  { 
    
this.screenheight 3;
    
this.50;
    
    
image temp.headNPC;
    
partx 0;
    
party 64;
    
partw 32;
    
parth 32;
    
    
width 64;
    
height 64;
      
    
layer 7;
    
zoom 2;
    
alpha 0;
  } 
the head image is passed as the full .png image for a head. Like I said it's fine on zoom = 1, but cuts like the x isn't 0 anymore on partx when zoom is 2. No idea why it's doing that.

Also tried this outside of the gui control and it doesn't work either...
PHP Code:
Dialog_Head.zoom 2
__________________
Cyril Rain
Creator and leader of SLX
Admin of Elysium
Elysium's Facebook Page: http://facebook.com/GraalOnlineElysium
Graal Forum Thread: http://forums.graalonline.com...
Graalians Thread: http://www.graalians.com...


Reply With Quote