Skip to content

function destroyNpc (client-side)

Available since version: 0.3.0

Destroy a client-side NPC previously created with createNpc.

Declaration

boolean destroyNpc(number npc_id)

Parameters

  • number npc_id: Internal npc id returned by createNpc.

Returns boolean

True on success.