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
.