can you help me? can not make it work
YAYSE
Is it possible, to trigger a sound at specific coordinates? (maybe with stereo audio function)
No matter what I’ve tried. I cannot get 0.5 version sounds to play.
Any idea what might be wrong with 0.5 sounds not playing?
The sound does play with 0.4.1 albeit across the entire server still with OneSync enabled.
TriggerServerEvent('InteractSound_SV:PlayWithinDistance', 1.0, 'demo', 1.0)
nor does TriggerEvent('InteractSound_SV:PlayWithinDistance', 1.0, 'demo', 1.0)
ALSO TRIED
TriggerServerEvent('InteractSound_SV:PlayWithinDistance', 100.0, 'demo', 1.0)
TriggerEvent('InteractSound_SV:PlayWithinDistance', 100.0, 'demo', 1.0)
these worked with 0.4.1 (except for the issue of playing across entire server)
I agree with what Volliem said. I’m using this for an alarm script. (With Badger Bank Robbery) if I could just make the sound play at the coordinates of the alarm, that would be so good. Like how they do it in vanilla GTA story mode I believe.
Any fix to the thing where everyone in the server can hear car locking sound, and in general a lot of sounds.
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?
why can i only play the demo sound?
Hey, im sure you ran into the same error like i did.
Open the fxmanifest.lua and add in the files section your sound:
files {
'client/html/index.html',
'client/html/sounds/demo.ogg'
'client/html/sounds/YOUR_SOUND_FILE.ogg'
}
You can set a wildcard by using a *
'client/html/sounds/*.ogg'
Its too bad they play across the entire server when using OneSync. They refuse to play in the area specific. I’ve tried two different methods
Anyone have any luck making PlayWithinDistance work?
@Scott is there anyway i can add sound to Albo’s CameraTech Script, so when an ANPR pings on game i want a sound to play how can i do this?
can someone make me a skript that when i do /purge a sound plays?
ive made a script for Purge Sound… but dm me i can make you a script
does anyone know how i can make all players hear the sound in a specific distance?
Hi guys, I’ve had similar problems with this script and upon further inspection… I’ve found that all the events in the client resource are labelled wrong
Rename them from
LIFE_CL:Sound:PlayOnAll
To
‘InteractSound_CL:PlayOnAll’
etc etc
Can’t believe this was a problem this is so stupid hahaha
you must have had older version? mine are all InteractSound but the commented out part still says LIFE_CL
been trying to get cusom sounds to play during police notifications for all police on duty.
ive been here for 3 hours and can only get them to play server wide.
plz send help lol
Hey There,
Wanting to use this script so when a player does a / command that it will play for them
Are you or someone able to help me out here?
How do you add the alarm bell to eegisters when being robbed?
how to stop the sound?