Audio Plugin - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Audio Plugin (
/showthread.php?tid=250269)
Audio Plugin -
HondaCBR - 22.04.2011
hello i want to use audio plugin on my server and to do so i need to include #include <audio>
and when i do that the server doesnt start:
Re: Audio Plugin -
playbox12 - 22.04.2011
You most likely forgot to include the plugin. You need the .dll in your plugins folder, and in server.cfg the dll at your 'plugins' line.
Re: Audio Plugin -
HondaCBR - 22.04.2011
i added it, the server starts now but doesnt work still
what i have is in server.cfg plugins audio
in plugins folder: audio.dll
in my gm:
pawn Код:
#include <audio>
if(strcmp(cmd, "/test", true) == 0)
{
Audio_PlayStreamed(playerid, "http://solidfiles.com/d/e79d0/download/");
}
why does it not work? thx
Re: Audio Plugin -
Raimis_R - 22.04.2011
If you can show more lines of a server-log
Re: Audio Plugin -
HondaCBR - 22.04.2011
No, the server starts, its just that the music doesnt play when i type test
Re: Audio Plugin -
Raimis_R - 22.04.2011
You should look at this:
http://pastebin.com/tR36X9ge
Its good example
Re: Audio Plugin -
HondaCBR - 22.04.2011
this looks like the content of audio.ini? Just tell me what to add in my map for it to play i dont really need to do this [Defalut_Playlist] stuff cos im streaming music not playing it from server?
Re: Audio Plugin -
HondaCBR - 22.04.2011
right it works now its fine, how can i allow the songs to change? so when one song finish the other one start
lets say this song just finished : muzaR[playerid] = Audio_PlayStreamed(playerid, "http://solidfiles.com/d/e79d0/download/");
so i want this one to start : muzaR2[playerid] = Audio_PlayStreamed(playerid, "http://solidfiles.com/d/b421s/download/");