Sounds
Playing a Sound (Client Export)
exports['koja-lib']:PlaySound(file, volume, soundId, loop)Parameter
Type
Description
Stopping a Sound (Client Export)
exports['koja-lib']:StopSound(soundId)Parameter
Type
Description
Sound File Sources
Sounds inside koja-lib
Sounds from another resource
Server Exports
PlaySoundForSource
PlaySoundForAll
PlayDistanceSound
Parameter
Type
Description
StopSoundForAll
Examples
Looping alarm that can be stopped
Distance-based explosion sound from another resource
Client: one-shot UI sound
Net Events (alternative)
Last updated