View Single Post
  #1  
Old 09-21-2013, 09:32 PM
Starfire2001 Starfire2001 is offline
Unholy Nation
Starfire2001's Avatar
Join Date: Dec 2010
Location: The streets.
Posts: 156
Starfire2001 will become famous soon enough
GuiShowImgCtrl and horseimg

Trying to display the player riding a horse in a GUI.

This is what I've got. It doesn't work, no horse displays. Can't figure out why. Can anyone tell me how to make it work? Thanks.

PHP Code:
new GuiShowImgCtrl("PonyViewer_Image_Pony") {
  
290;
  
65;
  
width 100;
  
height 80;
  
offsetx 40;
  
offsety 25;
  
dir 2;
  
actor.horseimg "ride.png";      
  
actor.headimg player.head;
  
actor.bodyimg player.body;
  for (
i=0i<5i++)
    
actor.colors[i] = player.colors[i];
  
ani "ride";

__________________
-Ph8
Reply With Quote