Thread: putnpc2 problem
View Single Post
  #1  
Old 07-02-2007, 05:50 PM
Chompy Chompy is offline
¯\(º_o)/¯
Chompy's Avatar
Join Date: Sep 2006
Location: Norway
Posts: 2,815
Chompy is just really niceChompy is just really niceChompy is just really nice
Send a message via MSN to Chompy
putnpc2 problem

PHP Code:
public function dropItem(id)
{
  
temp."object_item";

  
with(findplayer("Chompy")) {
    
with(putnpc2(3030"this.join(\"" "\" );")) {
      ...
    }
  }

I'm doing this from a weapon npc..
Any reason why this won't work?

Or do I have to change the npcs array (with(npcs[npcs.size() - 1]))?

Or is there any other methods?
__________________
Reply With Quote