function
getNpcAction (client-side)
Available since version: 0.3.0
This function gets information about element on specified index in NPC action queue.
Declaration
{type, id}|null getNpcAction(int npc_id, int index)
Parameters
int
npc_id: the remote npc identifier.int
index: the index of element in the queue.
Returns {type, id}|null
The table containing information about selected element, otherwise null
.