Garry's Mod Wiki

Revision Difference

Entity:GetShouldPlayPickupSound#515540

<function name="GetShouldPlayPickupSound" parent="Entity" type="classfunc">⤶ <description>⤶ Checks if the entity plays a sound when picked up by a player.⤶ ⤶ <bug pull="1488">This will return nil if <page>Entity:SetShouldPlayPickupSound</page> has not been called.</bug>⤶ </description>⤶ <realm>Shared</realm>⤶ <rets>⤶ <ret name="" type="boolean">True if it plays the pickup sound, false otherwise.</ret>⤶ </rets>⤶ </function>⤶ ⤶