Garry's Mod Wiki

Garry's Mod Wiki

  GM:OnPlayerPhysicsPickup( Player ply, Entity ent )

Description

Called when a player +use pickups up an entity. This will be called after the entity passes though GM:AllowPlayerPickup.

See GM:GravGunOnPickedUp for the Gravity Gun pickup variant.
See GM:OnPhysgunPickup for the Physics Gun pickup variant.

Arguments

1 Player ply
The player that picked up the object
2 Entity ent
The object 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...