how could i make it so when i click on an npc it deletes the npc and spawns a different one?
Code:
Server.npcHandler.spawnNpc2(6142,2628,2591,0,0,200,0,0,100);
is that how to spawn it?