Garry's Mod Wiki

Revision Difference

WEAPON:CanBePickedUpByNPCs#552926

<function name="CanBePickedUpByNPCs" parent="WEAPON" type="hook"> <ishook>yes</ishook>⤶ <description>Called when a Citizen NPC is looking around to a (better) weapon to pickup.</description> <realm>Server</realm> <predicted>No</predicted>⤶ <rets> <ret name="" type="boolean">Return true to allow this weapon to be picked up by NPCs.</ret> </rets> </function>