Hi! i have a problem because i’m trying to activate sounds and nothing happen… i have all of sounds in ogg format in client/htm/sounds.
I’m tying with coffindance script [StandAlone] Coffin Dance when you death
my __resource:
– InteractSound by Scott
– Verstion: v0.0.1
– Manifest Version
resource_manifest_version ‘77731fab-63ca-442c-a67b-abc70f28dfa5’
– Client Scripts
client_script ‘client/main.lua’
– Server Scripts
server_script ‘server/main.lua’
– NUI Default Page
ui_page(‘client/html/index.html’)
– Files needed for NUI
– DON’T FORGET TO ADD THE SOUND FILES TO THIS!
files({
‘client/html/index.html’,
– Begin Sound Files Here…
– client/html/sounds/ … .ogg
‘client/html/sounds/stupid.ogg’,
‘client/html/sounds/stupid2.ogg’,
‘client/html/sounds/stupid1.ogg’,
‘client/html/sounds/changeBet.ogg’,
‘client/html/sounds/roulette.ogg’,
‘client/html/sounds/CoffinDance.ogg’,
})
in the coffindance script i have:; Config.PlayMusic = true – need InteractSound script: GitHub - plunkettscott/interact-sound: A resource providing the ability to play sounds using the FiveM NUI environment.
and: RegisterCommand(“coffindance”, function(source, args, rawCommand)
if not commState then
commState = true
if Config.PlayMusic then
if Config.PlayMusicOnlyOnSelf then
TriggerServerEvent(‘InteractSound_SV:PlayOnSource’, ‘CoffinDance’, 0.2)
else
TriggerServerEvent(‘InteractSound_SV:PlayWithinDistance’, Config.PlayMusicDistance, ‘CoffinDance’, 0.2)
end
end
StartCoffinDance(“Command”)
else
why none of my sounds are working? 