I’m trying to find the emitter, or the ambient sound of the Car Meet Underground, to make it sound in a different location where it originaly is with LinkStaticEmitterToEntity, but i cant find the name in this list Static Emitter GTAV - Pastebin.com. Does anyone knows the name, or how can i do the thing mentioned above?
Edit: seems like its not an emitter, it is a scene. How can i make it sound in specific coordinates?
Anyone correct me if I’m wrong, but if it’s an audio scene then you can use PlayStreamFromPosition(), but you also need to request the correct audio bank with RequestScriptAudioBank() and load the correct stream with LoadStream() and start the scene with StartAudioScene().
I use this for the casino on my server when a player enters it so you’d need to find the correct values for the car meet:
CreateThread(function()
while not RequestScriptAudioBank("DLC_VINEWOOD/CASINO_GENERAL", false, -1) do
Wait(1000)
end
while not RequestScriptAudioBank("DLC_VINEWOOD/CASINO_SLOT_MACHINES_01", false, -1) do
Wait(1000)
end
while not RequestScriptAudioBank("DLC_VINEWOOD/CASINO_SLOT_MACHINES_02", false, -1) do
Wait(1000)
end
while not RequestScriptAudioBank("DLC_VINEWOOD/CASINO_SLOT_MACHINES_03", false, -1) do
Wait(1000)
end
while inCasino do
if not IsStreamPlaying() and LoadStream("casino_walla", "DLC_VW_Casino_Interior_Sounds") then
PlayStreamFromPosition(coords.x, coords.y, coords.z)
end
if IsStreamPlaying() and not IsAudioSceneActive("DLC_VW_Casino_General") then
StartAudioScene("DLC_VW_Casino_General")
end
Wait(1000)
end
if IsStreamPlaying() then
StopStream()
end
if IsAudioSceneActive("DLC_VW_Casino_General") then
StopAudioScene("DLC_VW_Casino_General")
end
end)
You’re welcome
I don’t remember where I got them exactly
Could be from the repo gta-v-data-dumps (I can’t post the link because the owner name is blacklisted on the forum, idk why though)