marcoshps11
New Member
- Joined
- Jan 29, 2011
- Messages
- 25
- Reaction score
- 0
Hello, how can i set not to loop ?
Code:
function playSound(sound)
rcSoundChannel:enqueue(sound, 0)
setLabel(clearName(sound))
end
function onExtendedOpcode(protocol, code, buffer)
local path = "/sounds/"..buffer
if g_resources.fileExists(path) then
playSound(path)
end
end