Garry's Mod Wiki

Entity:GetShouldPlayPickupSound

  boolean Entity:GetShouldPlayPickupSound()

Description

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

Returns

1 boolean
true if it plays the pickup sound, false otherwise.