Jump to content

Playing music for the player while...


Wes

Recommended Posts

Posted

How can I do that so while something is active (eg a gui panel) theres a music playing in the background? Can I do it like in PAWN, so with an URL pointing to the music itself, so it wont download anything? Thanks for the answers

Posted

Yes, you can use stream URL's.

Use the function:

playSound 

to play a sound, and then to destroy it:

stopSound 

You can also play a 3D sound with:

playSound3D 

Posted

And how to stream URL-s? Cause in the syntax description it only shows the path. Do I need to write like the youtube link there?

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