Gamemode.PhysgunPickup
From GMod Wiki
Revision as of 19:04, 27 September 2011 by TheFreeman193 (Talk | contribs)
Event Hook | |
Hook Name | PhysgunPickup |
Syntax | GM:PhysgunPickup( Player ply, Entity ent ) |
Description | Determines whether a player can pick up an entity with the Physgun. |
Returns | Boolean Allow Pickup |
Lua State | |
BBCode | [b][url=wiki.garrysmod.com/?title=Gamemode.PhysgunPickup]Gamemode.PhysgunPickup [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Additional Notes
- Only return a value if you want to change the way something operates when using hooks like this. Don't return anything if you do not want to change any behaviours!
- Only return true if you want to override other PhysgunPickup hooks, otherwise just don't return a value.