SA-MP Forums Archive
StopAudioStreamForPlayer for PlayerPlaySound ? - 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: StopAudioStreamForPlayer for PlayerPlaySound ? (/showthread.php?tid=652993)



StopAudioStreamForPlayer for PlayerPlaySound ? - Zeus666 - 23.04.2018

Hi, How can I realise this?

PHP код:
CMD:1(playerid)
{
    
PlayerPlaySound(playerid1760.00.010.0);
    return 
1;
}
CMD:Stop1(playerid)
{
StopAudioStreamForPlayer(playerid);
return 
1;




Re: StopAudioStreamForPlayer for PlayerPlaySound ? - Rolux - 23.04.2018

You can stop it with:
Код:
PlayerPlaySound(playerid, 0, 0.0, 0.0, 0.0);