Skip to content

function isNpc (server-side)

Available since version: 0.3.0

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

Declaration

bool isNpc(int npc_id)

Parameters

  • int npc_id: the npc identifier.

Returns bool

true when object is NPC, otherwise false.