Entity/GetShouldPlayPickupSound

From Garry's Mod
Jump to: navigation, search
 Entity:GetShouldPlayPickupSound( )

Description

Checks if the entity plays a sound when picked up by a player.

BUG

This will return nil if Entity:SetShouldPlayPickupSound has not been called.

Pull Request: #1488

Returns

boolean

True if it plays the pickup sound, false otherwise.
Personal tools
Navigation