G.DropEntityIfHeld
From GMod Wiki
Revision as of 19:18, 6 October 2009 by Crazy Quebecer (Talk | contribs)
Function | |
Syntax |
DropEntityIfHeld( Entity HeldEntity ) Where is this used? |
Description: | |
Causes a player to drop an entity being held with a Gravity Gun. | |
Returns: | nil |
Part of Library: | Global Functions |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=G.DropEntityIfHeld]G.DropEntityIfHeld [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Additional Notes
- This is only useful with the Gravity Gun. It seems to work with the Physics Gun as well but gets grabbed immediately again.