Revision Difference
GM:GravGunPickupAllowed#553053
<function name="GravGunPickupAllowed" parent="GM" type="hook">
	<ishook>yes</ishook>⤶
	<description>
Called every tick to poll whether a player is allowed to pick up an entity with the gravity gun or not.
See <page>GM:AllowPlayerPickup</page> for the +USE pickup variant.<br/>
See <page>GM:PhysgunPickup</page> for the Physics Gun pickup variant.
Calls <page>ENTITY:GravGunPickupAllowed</page> on the entity being hovered every frame in Sandbox-derived gamemodes.
	</description>
	<realm>Server</realm>
	<predicted>No</predicted>⤶
	<args>
		<arg name="ply" type="Player">The player wielding the gravity gun</arg>
		<arg name="ent" type="Entity">The entity the player is attempting to pick up</arg>
	</args>
	<rets>
		<ret name="" type="boolean">Return true to allow entity pick up</ret>
	</rets>
</function>
 Garry's Mod
			Garry's Mod 
		 Rust
			Rust 
		 Steamworks
			Steamworks 
		 Wiki Help
			Wiki Help