Skip to content

function isNpcActionTypeRunning (client-side)

Available since version: 0.3.5.7

This function checks whether specified NPC action type is currently processed.

Declaration

bool isNpcActionTypeRunning(int npc_id, int action_type)

Parameters

  • int npc_id: the npc identifier.
  • int action_type: the unique action type identifier. For more information see Action types.

Returns bool

true if specified action type is currently processed, otherwise false.