Sign in to follow this  
0xNull

Music, that all players hear in a certain radius

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

Share this post


Link to post
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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.