Garry's Mod Wiki

Entity:Remove

Entity:Remove

Entity:Remove()

Description

Removes the entity it is used on. The entity will be removed at the start of next tick.

Example

ents.FindByClass( "prop_physics" )[1]:Remove()
Output: Removes whichever prop is first found or errors if no entity was found.

Special Pages


Wikis

?

Render Time: 52ms

DB GetPage 38
Generate Html 0
SaveChanges (1) 5
Render Body 0
Render Sidebar 7