Graal Forums  

Go Back   Graal Forums > Development Forums > Tech Support
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 11-11-2006, 08:47 AM
Novo Novo is offline
[TServerDeveloper]
Join Date: Jun 2006
Posts: 448
Novo will become famous soon enough
GuiShowImgCtrl and playerlook

... Yea. Doesn't work.

PHP Code:
//#CLIENTSIDE
function onCreated()
  {
  new 
GuiShowImgCtrl()
    {
    
ani "idle";
    
playerlook true;
    }
  } 
Doesn't work.
Reply With Quote
  #2  
Old 11-11-2006, 03:04 PM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
Eventually it doesn't work because the gui-control is not really connected to the player, it should not be hard to copy the player-attributes manually though like

PHP Code:
playerlook false;
actor.head player.head;
actor.body player.body;
for (
i=1i<=30i++)
  
actor.attr[i] = player.attr[i];
for (
i=0i<5i++)
  
actor.colors[i] = player.colors[i]; 
Reply With Quote
  #3  
Old 11-11-2006, 09:15 PM
Novo Novo is offline
[TServerDeveloper]
Join Date: Jun 2006
Posts: 448
Novo will become famous soon enough
Quote:
Originally Posted by Stefan View Post
Eventually it doesn't work because the gui-control is not really connected to the player, it should not be hard to copy the player-attributes manually though like

PHP Code:
playerlook false;
actor.head player.head;
actor.body player.body;
for (
i=1i<=30i++)
  
actor.attr[i] = player.attr[i];
for (
i=0i<5i++)
  
actor.colors[i] = player.colors[i]; 
I know, however... If the attributes changes, the GuiShowImgCtrl doesn't change with it... That's the more complicated part.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 10:21 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.