Entity/Remove

From Garry's Mod
Jump to: navigation, search
 Entity:Remove( )

Description

Removes the entity it is used on.

Examples

Example

ents.FindByClass( "prop_physics" )[1]:Remove()

Output:

Removes whichever prop is first found or errors if no entity was found.
Personal tools
Navigation