Garry's Mod Wiki

Revision Difference

Entity:GetShouldPlayPickupSound#547798

<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> <file line="7-9">lua/includes/extensions/entity.lua</file>⤶ <rets> <ret name="" type="boolean">True if it plays the pickup sound, false otherwise.</ret> </rets> </function>