Quote:
|
Originally Posted by falco10291029
I did, the problem is that the callnpc isnt getting picked up by the monster.
|
This would probably then mean that you're not getting the proper NPC. I think it's more intelligent to do the selection in a weapon. Also I think it's helpful to do a this.npctype string on class NPCs so you know exactly what it is via the script. That way you could check if (strequals(#s(this.npctype)),monster)) and know it's a monster.
For debugging, that's a crucial part man x.x I'd suggest trying with (npc[client.id]) sendtonc accessing the monster!: And if you do the this.npctype I said also send that, perhaps your'e not on the right NPC (as I said prior). What server is this on and I might swing by?