sound

docs.globals.sound
field signature:
sound
Method Property Fluent Description Representation
Field Type a SoundAPI

SoundAPI.playSound

Example by JimmyHelp:
sounds:playSound("entity.bat.ambient", player:getPos(),1,1,false)
docs.soundapi.playsound
overload 1:
sound:playSound(sound, pos)
Method Property Fluent Description Representation
sound accepts a String
pos accepts a Vector3
Return Value nil
overload 2:
sound:playSound(sound, posX, posY, posZ)
Method Property Fluent Description Representation
sound accepts a String
posX accepts a Number
posY accepts a Number
posZ accepts a Number
Return Value nil
overload 3:
sound:playSound(sound, pos, volume, pitch, loop)
Method Property Fluent Description Representation
sound accepts a String
pos accepts a Vector3
volume accepts a Number
pitch accepts a Number
loop accepts a Boolean
Return Value nil
overload 4:
sound:playSound(sound, posX, posY, posZ, volume, pitch, loop)
Method Property Fluent Description Representation
sound accepts a String
posX accepts a Number
posY accepts a Number
posZ accepts a Number
volume accepts a Number
pitch accepts a Number
loop accepts a Boolean
Return Value nil

SoundAPI.stopSound

docs.soundapi.stopsound
overload 1:
sound:stopSound()
Method Property Fluent Description Representation
Return Value nil
overload 2:
sound:stopSound(id)
Method Property Fluent Description Representation
id accepts a String
Return Value nil
a a