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: 33ms

DB GetPage 8
Generate Html 5
SaveChanges (1) 10
Render Body 0
Render Sidebar 7