Quote:
Originally Posted by Twinny
The heck? If you have a DBNPC, just do echo(dbnpc.objecttype()) and you will get TServerNPC
|
I made a mistake when I said it would echo the npc's chat. I forgot that I had said objecttype(). Basically, the chat variable is already a pre-defined variable in the npc so you wouldn't by calling the function from the Chat npc. I'm just pointing out to Gambet that findnpc() isn't completely useless although his arrogance is.