Thread: player
View Single Post
  #6  
Old 07-27-2007, 08:12 PM
Twinny Twinny is offline
My empire of dirt
Twinny's Avatar
Join Date: Mar 2006
Location: Australia
Posts: 2,422
Twinny is just really niceTwinny is just really nice
Send a message via AIM to Twinny
I grabbed this from an old script of mine. I found playerlook to be shifty for myself as well.

PHP Code:
function setactor() 
{
  
temp.a = Tailorani.actor;
  for (
i=0;i<6;i++) a.colors[i] = player.colors[i];
  
a.body = player.body;
  
a.head = player.head;
  
a.body = player.body;
  
a.shield = player.shield;
} 
From this, you could do

PHP Code:
//#CLIENTSIDE
new GuiShowImgCtrl("Test_ShowImg") 
{ 
  
x = 10; 
  
y = 10; 
  
width = 60; 
  
height = 60; 
  for (
i=0;i<6;i++) actor.colors[i] = player.colors[i]; 
  
actor.body = player.body;
  
actor.head = player.head;
  
actor.body = player.body;
  
actor.shield = player.shield;
  
ani = "walk"; 
} 
Should hopefully work for ya
Reply With Quote