Garry's Mod Wiki

Revision Difference

GM:GravGunOnPickedUp#553279

<function name="GravGunOnPickedUp" parent="GM" type="hook"> <ishook>yes</ishook>⤶ <description>Called when an entity is picked up by a gravity gun. See <page>GM:OnPlayerPhysicsPickup</page> for the player `+use` pickup variant.<br/> See <page>GM:OnPhysgunPickup</page> for the Physics Gun pickup variant. </description> <realm>Server</realm> <args> <arg name="ply" type="Player">The player wielding the gravity gun</arg> <arg name="ent" type="Entity">The entity that has been picked up by the gravity gun</arg> </args> </function>