Scripting/Server/Classes/Sound_server
Plays an .mp3 from Sounds/ on the server machine. Mostly useful for a radio-style console jingle. Players do not hear it - see the client Sound class for in-game audio.
Methods and functions
- FindSound – Returns a Sound object, or null if the file is not in Sounds/.
- sound.Open – Standard transport controls.
- sound.SetVolume / sound.Volume – Volume percentage.
Categories: Server classes