View Single Post
  #1  
Old 02-21-2010, 02:48 AM
Jman9912 Jman9912 is offline
Registered User
Join Date: Jun 2001
Location: North Carolina
Posts: 114
Jman9912 is on a distinguished road
Send a message via AIM to Jman9912
PutNPC2 Questions

First off, let me explain what i'm doing.

I'm making an npc which drops something when selected.

I've got a class which should read which image to show from a variable in the original weapon.

PHP Code:
with (putnpc2(x,y"join hat;")) {
  
this.hatImage "1";
  }
  } 
Is the method i'm trying to use. But whatn I read this.hatimage in the hat class, it is empty. PutNPC is executed serverside.

I've also tried it like this:
PHP Code:
   temp.npc putnpc2(player.xplayer.y"join(\"hat\");");

    
with(temp.npc) {
    
temp.hatImage "3";


Reply With Quote