Gamemode.OnPhysgunReload
From GMod Wiki
Event Hook | |
Hook Name | OnPhysgunReload |
Syntax | GM:OnPhysgunReload( Entity Weapon, Player Player ) |
Description | Determines whether a player can use the Physgun reload function (UnFreeze). |
Returns | Boolean Allow reload |
Lua State | |
BBCode | [b][url=wiki.garrysmod.com/?title=Gamemode.OnPhysgunReload]Gamemode.OnPhysgunReload [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Additional Notes
- Only return a value if you do not want the physgun's default reload function to work. If you just want something to happen before the default unfreeze function occurs, don't return a value.