Garry's Mod Wiki

GM:GravGunOnPickedUp

GM:GravGunOnPickedUp

  GM:GravGunOnPickedUp( Player ply, Entity ent )

Description

Called when an entity is picked up by a gravity gun.

See GM:OnPlayerPhysicsPickup for the player +use pickup variant.
See GM:OnPhysgunPickup for the Physics Gun pickup variant.

Arguments

1 Player ply
The player wielding the gravity gun
2 Entity ent
The entity that has been picked up by the gravity gun

Special Pages


Wikis

?

Render Time: 41ms

DB GetPage 23
Generate Html 4
SaveChanges (1) 6
Render Body 0
Render Sidebar 6