Audio Stream on player class - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Audio Stream on player class (
/showthread.php?tid=390212)
Audio Stream on player class -
Beljulji - 05.11.2012
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
Re: Audio Stream on player class -
Glad2BeHere - 05.11.2012
onrequestclass
play the sound
on playerspawn u can create a timer the leads to the audio stopping
Re: Audio Stream on player class -
Beljulji - 05.11.2012
yes i done that bu on class when i klick on "<<" say again audio stream and START AGAIN TO STREAM FROM SONG START!
Re: Audio Stream on player class -
Ballu Miaa - 05.11.2012
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);