Garry's Mod Wiki

Revision Difference

ENTITY:GravGunPickupAllowed#515562

<function name="GravGunPickupAllowed" parent="ENTITY" type="hook">⤶ <ishook>yes</ishook>⤶ <description>Called by <page>GM:GravGunPickupAllowed</page> on ALL entites in Sandbox-derived gamemodes and acts as an override.</description>⤶ <realm>Server</realm>⤶ <predicted>No</predicted>⤶ <args>⤶ <arg name="ply" type="Player">The player aiming at us</arg>⤶ </args>⤶ <rets>⤶ <ret name="" type="boolean">Return true to allow the entity to be picked up</ret>⤶ </rets>⤶ </function>⤶ ⤶