Skip to content

function destroyNpc (client-side)

Available since version: 0.1.1

This function will destroy NPC.

Declaration

bool destroyNpc(int npcId)

Parameters

  • int npcId: the NPC id.

Returns bool

true when NPC was successfully destroyed, otherwise false.