Music in Class Selection
#1

Hi i would like people to hear music while in class selection, i know the music has to be streamed somewhere.
How can i do this? (0.3d)

Also, is there a website where i can stream 1 song all the time?
Reply
#2

Well For Playing The San Andreas Sounds Look Into https://sampwiki.blast.hk/wiki/PlayerPlaySound

For Streaming Custom Sounds Look For A Audio Plugin
Reply
#3

Isn't there a audio plugin in 0.3d or does it just stream the music, do i need an audio plugin for my server to stream it?
Reply
#4

Okay so i fixed that there's music in class selection, but everytime you change character, like go to left or right the music stops for a second.

EDIT: Nevermind i fixed it, put it on "OnPlayerConnect" instead.
Reply
#5

make sure only one playerplaysound onplayerrequestclass if its double it will stop the music
Reply
#6

Quote:
Originally Posted by Chrillzen
Посмотреть сообщение
Isn't there a audio plugin in 0.3d or does it just stream the music, do i need an audio plugin for my server to stream it?
No they added it so that you can stream without plugins, it's coded into the client and the stream url is passed by the server.
Reply
#7

https://sampwiki.blast.hk/wiki/PlayAudioStreamForPlayer

https://sampwiki.blast.hk/wiki/StopAudioStreamForPlayer
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)