native

remove_entity

Syntax

native remove_entity(iIndex);

Description

Removes an entity from the world.

Parameters

iIndex Entity index

Return

1 if entity was sucessfully removed, 0 if an invalid entity
was provided

Error

If an entity index in the range of 0 to MaxClients is
provided, an error will be thrown.