Skip to content

function getNpcActions (server-side)

Available since version: 0.3.0

This function gets informations about elements in NPC action queue.

Declaration

array[{type, id}]|null getNpcActions(int npc_id)

Parameters

  • int npc_id: the npc identifier.

Returns array[{type, id}]|null

The array containing information about queue elements, otherwise null.