Garry's Mod Wiki

Revision Difference

GM:OnPhysgunPickup#511162

<function name="OnPhysgunPickup" parent="GM" type="hook">⤶ <ishook>yes</ishook>⤶ <description>⤶ Called to when a player has successfully picked up an entity with their Physics Gun.⤶ ⤶ Not to be confused with <page>GM:PhysgunPickup</page> which is called multiple times to ask if the player should be able to pick up an entity.⤶ </description>⤶ <realm>Server</realm>⤶ <predicted>No</predicted>⤶ <args>⤶ <arg name="ply" type="Player">The player that has picked up something using the physics gun.</arg>⤶ <arg name="ent" type="Entity">The entity that was picked up.</arg>⤶ </args>⤶ </function>⤶ ⤶