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") {
x = 290;
y = 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=0; i<5; i++)
actor.colors[i] = player.colors[i];
ani = "ride";
}
