Skip to content

function getNpcActionsCount (server-side)

Available since version: 0.3.0

This function gets elements count in NPC action queue.

Declaration

int getNpcActionsCount(int npc_id)

Parameters

  • int npc_id: the npc identifier.

Returns int

The count of elements inside queue, otherwise -1.