Garry's Mod Wiki

Revision Difference

Entity:Remove#528886

<function name="Remove" parent="Entity" type="classfunc"> <description>Removes the entity it is used on.</description> <description>Removes the entity it is used on. The entity will be removed at the start of next tick.</description> <realm>Shared</realm> </function> <example> <description></description> <code>ents.FindByClass( "prop_physics" )[1]:Remove()</code> <output>Removes whichever prop is first found or errors if no entity was found.</output> </example>