event onNpcChangeHostPlayer (server-side)
Available since version: 0.3.0
Triggered when the player responsible for executing an NPC's actions changes.
Parameters
void onNpcChangeHostPlayer(number npc_id, number current_id, number previous_id)
numbernpc_id: NPC id.numbercurrent_id: New host id, or -1 for no host.numberprevious_id: Previous host id, or -1 for no host.