Garry's Mod Wiki

Garry's Mod Wiki

  DropEntityIfHeld( Entity ent )

Description

We advise against using this. It may be changed or removed in a future update. You really should be using Entity:ForcePlayerDrop, which does the same thing.

Drops the specified entity if it is being held by any player with Gravity Gun, Physics Gun or +use pickup.

See also Player:DropObject and Entity:ForcePlayerDrop.

Arguments

1 Entity ent
The entity to drop.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...