Garry's Mod Wiki

Revision Difference

GM:OnPlayerPhysicsPickup#529185

<function name="OnPlayerPhysicsPickup" parent="GM" type="hook">⤶ <ishook>yes</ishook>⤶ <added>2021.01.27</added>⤶ <description>Called when a player +use pickups up an entity. This will be called after the entity passes though <page>GM:AllowPlayerPickup</page>.</description>⤶ <realm>Server</realm>⤶ <args>⤶ <arg name="ply" type="Player">The player that picked up the object</arg>⤶ <arg name="ent" type="Entity">The object that was picked up.</arg>⤶ </args>⤶ </function>⤶