Jump to content

Music, that all players hear in a certain radius


0xNull

Recommended Posts

Hi,

You can create a server-side method that polls all players in a loop near location X. Then you can call a client event for the appropriate players.

Use https://wiki.rage.mp/index.php?title=Audio::playSoundFrontend on Client side.

Also you can use: https://wiki.rage.mp/index.php?title=Audio::playSoundFromCoord for this.

greetz

Edited by Ryson
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...