Skip to content

function destroyNpc (client-side)

Available since version: 0.3.0

Destroy a client-side NPC previously created with createNpc.

Declaration

bool destroyNpc(int npc_id)

Parameters

  • int npc_id: Internal npc id returned by createNpc.

Returns bool

True on success.