PlayAudioStreamForPlayer Issue - 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: PlayAudioStreamForPlayer Issue (
/showthread.php?tid=346878)
PlayAudioStreamForPlayer Issue -
vIBIENNYx - 30.05.2012
I get this error whenever using the function:
pawn Код:
PlayAudioStreamForPlayer(playerid, "intro.mp3");
The error is:
pawn Код:
error 017: undefined symbol "PlayAudioStreamForPlayer"
I don't understand why, I have the server version 0.3e.
Re: PlayAudioStreamForPlayer Issue -
Infinity90 - 30.05.2012
have you got all the updated Includes?
Re: PlayAudioStreamForPlayer Issue -
dannyk0ed - 30.05.2012
Do you have
pawn Код:
audio.inc and plugins audio
Re: PlayAudioStreamForPlayer Issue -
SuperViper - 30.05.2012
Quote:
Originally Posted by dannyk0ed
Do you have
pawn Код:
audio.inc and plugins audio
|
You don't need the audio plugin for that. It's an 0.3d function.
@Poster,
Make sure you have 0.3d or 0.3e includes.
Re: PlayAudioStreamForPlayer Issue -
TheArcher - 30.05.2012
You need to link up a URL example:
pawn Код:
PlayAudioStreamForPlayer(playerid, "http://mysite.com/intro.mp3");
if you're trying from localhost just do
pawn Код:
PlayAudioStreamForPlayer(playerid, "http://localhost/intro.mp3");
Re: PlayAudioStreamForPlayer Issue -
vIBIENNYx - 30.05.2012
Thanks guys, got it working.