G.DropEntityIfHeld
From GMod Wiki
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.