View Single Post
  #1  
Old 01-18-2011, 07:50 PM
AlexanderK AlexanderK is offline
Registered User
AlexanderK's Avatar
Join Date: Mar 2006
Location: Germany
Posts: 79
AlexanderK is on a distinguished road
Send a message via MSN to AlexanderK
NPC only shows after "update level"

I use this to display windows:
PHP Code:
//#CLIENTSIDE
function onCreated() {
  
this.windowtype="1b";
  
this.join("window");

this is the class:
PHP Code:
//#CLIENTSIDE
function onCreated() {
  
this.setShape(13232);
  
showimg(200"sorna_window"@this.windowtype@"_glass.png"this.xthis.y);
  
changeimgcolors(2001110.7);
  
changeimgvis(2000);
  
showimg(201"sorna_window"@this.windowtype@"_frame.png"this.xthis.y);
  
changeimgvis(2011);

When I connect to the server, the window doesn't show. It only does after I've used the update level command. I have no idea at all why this is, especially because I display the trees in the exact same way and I have no problem with them.
Reply With Quote