SA-MP Forums Archive
PlayAudioStream while disconnected - 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: PlayAudioStream while disconnected (/showthread.php?tid=391690)



PlayAudioStream while disconnected - SKAzini - 11.11.2012

Is there any way to continue playing PlayAudioStreamForPlayer while the player is disconnected? My problem is that I want to play a song when you get kicked/banned, together with Kick(playerid); and this will not work since the song gets cut out on disconnect.


Re: PlayAudioStream while disconnected - XtremeR - 11.11.2012

well, if ur using KickPlayer(playerid); then its possible

just paste the link above KickPlayer(playerid) and it should work fine..


Re: PlayAudioStream while disconnected - SKAzini - 17.11.2012

There's no KickPlayer function..


Re: PlayAudioStream while disconnected - RichieĀ© - 17.11.2012

i think he meant Kick(playerid)


Re: PlayAudioStream while disconnected - [KHK]Khalid - 17.11.2012

Um, no, because audio streaming stops as soon as a player disconnects. You can try PlayerPlaySound though.