Garry's Mod Wiki

Revision Difference

Global.DropEntityIfHeld#562594

<function name="DropEntityIfHeld" parent="Global" type="libraryfunc"> <description>Drops the specified entity if it is being held by any player with Gravity Gun or +use pickup.</description>⤶ <description>Drops the specified entity if it is being held by any player with Gravity Gun or `+use` pickup.⤶ See also <page>Player:DropObject</page> and <page>Entity:ForcePlayerDrop</page>.⤶ </description>⤶ <realm>Server</realm> <args> <arg name="ent" type="Entity">The entity to drop.</arg> </args> </function>