Skip to content

function getNpcLastActionId (server-side)

Available since version: 0.3.0

Returns the most recently allocated action id, including completed actions.

Declaration

number getNpcLastActionId(number npc_id)

Parameters

  • number npc_id: Server NPC id.

Returns number

Action id, zero before any actions, or -1 for a missing NPC.