Garry's Mod Wiki

GM:GravGunOnDropped

  GM:GravGunOnDropped( Player ply, Entity ent )

Description

Called when an entity is released by a gravity gun.

See GM:PhysgunDrop for the Physics Gun drop variant.

Arguments

1 Player ply
Player who is wielding the gravity gun
2 Entity ent
The entity that has been dropped