Jump to content

playsong3d


Arsilex

Recommended Posts

Posted
addEventHandler( 'onClientResourceStart', resourceRoot, 
    function( ) 
        local uSound = playSound3D( 'http://84.16.224.52:34995', 2498, -1659, 12 ) 
        setSoundMaxDistance( uSound, 100 ) 
    end 
) 

i have one problems only i listed the song other players no what is the problem?

rsilex.png.0e6ad382b3fdc3cbe6390e3e847572c9.png
Posted

Nothing is wrong, it should work just fine.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted

The sound is created for local player only.

"[...] If you don’t love it, if you’re not having fun doing it, you don’t really love it, you’re going to give up." - Steve Jobs, 2007

Posted (edited)

Well there is no problem as soildersnake14 says.

But I think I know what you want you want to play the sound to hole server instead of you only

just change distance (100) to a bigger value

Or take a look here

setSoundMaxDistance 

Edited by Guest
n-560x95_FF9900_FFFAFA_000000_000000.png
Posted (edited)
Well there is no problem as soildersnake14 says.

But I think I know what you want you want to play the sound to hole server instead of the distance

(100) just Change it to a bigger value

Or take a look here

setSoundMaxDistance 

Or make an event creating the sound for source and trigger it for everybody.

Edited by Guest

"[...] If you don’t love it, if you’re not having fun doing it, you don’t really love it, you’re going to give up." - Steve Jobs, 2007

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...