Garry's Mod Wiki

DropEntityIfHeld

  DropEntityIfHeld( Entity ent )

Description

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

Arguments

1 Entity ent
The entity to drop.