View Single Post
  #8  
Old 02-22-2010, 02:25 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
Is what I have right now in the weapon npc.
PHP Code:
function onActionserverside(){
  if (
params[0] == "place") {
//    temp.npc = putnpc2(player.x, player.y, "join(\"hat\");");

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

//    }  
temp.npc putnpc2(player.xplayer.yNull);
npc.hatImage "3";
npc.join("hat");  

  }

Is what I have right now in the class npc.

PHP Code:
function onCreated() {
  
setshape(13232);
  echo(
this.hatimage);


Reply With Quote