Hello dear !
Following function does not working with some reason that I can't investigate. It outputs "playing" but there's no sound generating !
addCommandHandler("play",
function (command,number1,number2)
if number1 and number2 and tonumber(number1) <= 44 then
outputChatBox("playing")
setWorldSoundEnabled(tonumber(number1),tonumber(number2),true)
end
end
)
How to fix this ??