Qbox-project / qbx_core

http://qbox-project.github.io
Other
44 stars 106 forks source link

[SUGGESTION] Sound Broadcast #492

Open ArturMichalak opened 1 week ago

ArturMichalak commented 1 week ago

The problem

The core has a playAudio function. This is a useful tool, but it has a limitation. The played sound is only heard by one player.

Ideal solution

The function has a brodcast parameter so that everyone can hear the sound.

Alternative solutions

No response

Additional context

The parameter can be useful, for example, when unlocking a vehicle.

Manason commented 1 week ago

https://github.com/Manason/mana_audio solves this problem.

ArturMichalak commented 1 week ago

Do you think this should be added to the default recipe?

Manason commented 1 week ago

I suggested it when we created the Qbox API, but I think there was some resistance at the time. Could bring it up to the team again to see how we want to move forward.