Garry's Mod Wiki

Revision Difference

Global.SafeRemoveEntity#552347

<function name="SafeRemoveEntity" parent="Global" type="libraryfunc"> <description>Removes the given entity unless it is a player or the world entity</description> <realm>Shared and Menu</realm> <file line="235-L244">lua/includes/util.lua</file> <file line="239-L245">lua/includes/util.lua</file> <args> <arg name="ent" type="Entity">Entity to safely remove.</arg> </args> </function>