Garry's Mod Wiki

CSoundPatch:GetSoundName

  string CSoundPatch:GetSoundName()

Recently Added

This was recently added in version (2026.06.19). It might only be available on the Dev Branch right now.

Description

Returns the sound name of this sound patch. This may be name of a sound script (sound.Add) or a file path.

Returns

1 string
The sound name.