function npcUseClosestMob (server-side)
Available since version: 0.3.0
This function enqueues use closest mob action to the remote NPC action queue.
Declaration
void npcUseClosestMob(int npc_id, string sceme, int target_state)
Parameters
intnpc_id: the npc identifier.stringsceme: the animation sceme name, e.g:"BENCH"when you want to interact with bench.inttarget_state: the target state, use1if you want to start interaction and-1to end it.