StopAudioStreamForPlayer / PlayAudioStreamForPlayer - 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 / PlayAudioStreamForPlayer (
/showthread.php?tid=417717)
StopAudioStreamForPlayer / PlayAudioStreamForPlayer -
Beckett - 22.02.2013
------
Re: StopAudioStreamForPlayer / PlayAudioStreamForPlayer -
Maraudeur - 22.02.2013
Are you using:
pawn Код:
StopAudioStreamForPlayer(playerid);
PlayAudioStreamForPlayer(playerid, "http://somafm.com/tags.pls");
Re: StopAudioStreamForPlayer / PlayAudioStreamForPlayer -
Beckett - 22.02.2013
------
Re: StopAudioStreamForPlayer / PlayAudioStreamForPlayer -
Rock - 22.02.2013
Update your a_samp include.
Or maybe you don't use 0.3b or higher version.
Re: StopAudioStreamForPlayer / PlayAudioStreamForPlayer -
Maraudeur - 22.02.2013
Update all your Includes to 0.3X and pawn aswell.
Or you could do: (havent tried this, just found it by googling)
pawn Код:
native PlayAudioStreamForPlayer(playerid, url[], Float:posX = 0.0, Float:posY = 0.0, Float:posZ = 0.0, Float:distance = 50.0, usepos = 0);
native StopAudioStreamForPlayer(playerid);
Re: StopAudioStreamForPlayer / PlayAudioStreamForPlayer -
SilverKiller - 22.02.2013
Download Latest SAMP Server package, and copy the includes in the package in pawno / include , to your server pawno / include, and recompile.
Edit: Sorry didnt notice that someone answered before me!