Try using
npc.name instead of the ID, then using
findNPC(name) on serverside.
Quote:
Originally Posted by Crow
Though, putnpc2() returns the name of the newly created NPC when it is called. Maybe you will find this useful.
|
No, putnpc2() returns the actual NPC object, hence why you can do this:
PHP Code:
temp.npc = putnpc2(32, 32, "");
npc.var = "foo";
npc.join("meow");