Garry's Mod Wiki

GM:OnPlayerPhysicsPickup

GM:OnPlayerPhysicsPickup

  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.

Special Pages


Wikis

?

Render Time: 71ms

DB GetPage 52
Generate Html 5
SaveChanges (1) 5
Render Body 0
Render Sidebar 6