With:
UPDATE npc SET title=... WHERE id =...
? If yes, so don't i need to write //reload npc on every he die, because when he spawns, server will not reload npcs.
Let's say A = Good B = Evil
When server starts monster have title A when he dies, check killer faction if good, then title will stays A if killer was evil then monster title changes to B.
Hello. Can someone help me to make code which changes title to monster after he die? I tried setTitle(); function, but when i killed monster and when he respawned he was with his basic title.