Garry's Mod Wiki

Revision Difference

GM:GravGunOnDropped#553054

<function name="GravGunOnDropped" parent="GM" type="hook"> <ishook>yes</ishook>⤶ <description>Called when an entity is released by a gravity gun. See <page>GM:PhysgunDrop</page> for the Physics Gun drop variant. </description> <realm>Server</realm> <predicted>No</predicted>⤶ <args> <arg name="ply" type="Player">Player who is wielding the gravity gun</arg> <arg name="ent" type="Entity">The entity that has been dropped</arg> </args> </function>