Garry's Mod Wiki

Revision Difference

GM:GravGunOnDropped#511378

<function name="GravGunOnDropped" parent="GM" type="hook"> <ishook>yes</ishook> <description>Called when an entity is released by a gravity gun.</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>