Skip to content

function isLocalNpc (client-side)

Available since version: 0.3.0

This function checks whether id related to given object is local NPC.

Declaration

bool isLocalNpc(int npcId)

Parameters

  • int npcId: the npc id.

Returns bool

true when object is local NPC, otherwise false.