function
getNpcHostPlayer (server-side)
Available since version: 0.3.0
This function gets NPC host player id.
Declaration
int getNpcHostPlayer(int npc_id)
Parameters
int
npc_id: the npc identifier.
Returns int
the host player identifier. If there is no host player -1 is returned instead.