plunkettscott / interact-sound

A resource providing the ability to play sounds using the FiveM NUI environment.
https://plunkettscott.gitbooks.io/scott-s-script-documentation/content/scripts/interactsound.html
MIT License
63 stars 129 forks source link

onesync infinity not working #20

Closed henrikmaa closed 3 years ago

henrikmaa commented 3 years ago

When trying to use onesync infinity all players can here sound when its played

TriggerServerEvent('InteractSound_SV:PlayWithinDistance', 4.0, 'demo', 0.1)

Also tried to remove the if statement to use original or onesync to only

RegisterServerEvent('InteractSound_SV:PlayWithinDistance')
AddEventHandler('InteractSound_SV:PlayWithinDistance', function(maxDistance, soundFile, soundVolume)

TriggerClientEvent('InteractSound_CL:PlayWithinDistanceOS', -1, GetEntityCoords(GetPlayerPed(source)), maxDistance, soundFile, soundVolume)
end)
renzigpp commented 3 years ago

Yeah same issue here, did you tried something else?

JSneaux commented 3 years ago

Did you figure this out? Still trying to find a fix my side of things too, to no avail.

(EDIT: Found out that TXAdmin had onesync enabled but my server.cfg had "set onesync on" I need to changed it to "+set onesync on". That "+" ruined so much.

Tinky124 commented 3 years ago

Fixed #21 #22 :)

plunkettscott commented 3 years ago

OneSync is fixed in release 0.5. Feel free to reopen this if your problem is not resolved.

Legacy-TacticalGamingInteractive commented 2 years ago

The issue seems to still be happening