Garry's Mod Wiki

Garry's Mod Wiki

  GM:OnPhysgunPickup( Player ply, Entity ent )

Description

Called to when a player has successfully picked up an entity with their Physics Gun.

Not to be confused with GM:PhysgunPickup which is called multiple times to ask if the player should be able to pick up an entity.

See GM:GravGunOnPickedUp for the Gravity Gun pickup variant.
See GM:OnPlayerPhysicsPickup for the player +use pickup variant.

Arguments

1 Player ply
The player that has picked up something using the physics gun.
2 Entity ent
The entity that was picked up.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated twice a day. Edits and history are not available.

Last Parsed: Loading...