Audio Stream on player class
#1

i tryed to add audio stream on player class but when i want to change mplayer with << or >> audio stream start to play again and game load one charachter for about 30 seconds do i need to attach audio stream
Reply
#2

onrequestclass
play the sound

on playerspawn u can create a timer the leads to the audio stopping
Reply
#3

yes i done that bu on class when i klick on "<<" say again audio stream and START AGAIN TO STREAM FROM SONG START!
Reply
#4

Quote:
Originally Posted by Beljulji
Посмотреть сообщение
yes i done that bu on class when i klick on "<<" say again audio stream and START AGAIN TO STREAM FROM SONG START!
Uhmm if its an mp3 song or something. Then add it in the servers mp3pack folder.

More help is given on this page

then you can use this function to play the audio file for the playerid
pawn Код:
Audio_Play(playerid, audioid, bool:pause = false, bool:loop = false, bool:downmix = false);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)