Sounds
PlaySoundForSource
exports['koja-lib']:PlaySoundForSource(source, file, volume, soundId, loop)Parameter
Type
Description
PlaySoundForAll
exports['koja-lib']:PlaySoundForAll(file, volume, soundId, loop)PlayDistanceSound
Parameter
Type
Description
StopSoundForAll
Examples
Play alert for one player
Looping heist alarm for everyone
Distance-based explosion from another resource
Using sounds from another resource
Net Events (alternative)
Last updated