Garry's Mod Wiki

Revision Difference

GM:OnPhysgunReload#552864

<function name="OnPhysgunReload" parent="GM" type="hook"> <ishook>yes</ishook>⤶ <description>Called when a player reloads with the physgun. Override this to disable default unfreezing behavior.</description> <realm>Server</realm> <predicted>No</predicted>⤶ <args> <arg name="physgun" type="Weapon">The physgun in question</arg> <arg name="ply" type="Player">The player wielding the physgun</arg> </args> <rets> <ret name="" type="boolean">Whether the player can reload with the physgun or not</ret> </rets> </function>