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: 258ms

DB GetPage 3
Generate Html 0
SaveChanges (1) 246
Render Body 0
Render Sidebar 6