Audio Plugin Problem :( - 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 Problem :( (
/showthread.php?tid=271666)
Audio Plugin Problem :( -
TiNcH010 - 25.07.2011
Hi all!

Well, i tried to use the audio plugin and it works perfect, but i have a problem with the 'Audio_Pause'
I tried everything but doesn't works :S
When i pause the song, doesn't works, and the same with 'Audio_Stop'
It works 'play' but not 'Audio_Pause' and 'Audio_Stop'
I tried this command too...
pawn Код:
dcmd_play(playerid, params[])
{
new audioid;
if(sscanf(params, "d", audioid)) return SendClientMessage(playerid, COLOR_YELLOW, "USAGE: /play (audioid)");
{
Audio_Play(playerid, audioid, false, false, false);
return 1;
}
}
dcmd_stop(playerid, params[])
{
new handleid;
if(sscanf(params, "d", handleid)) return SendClientMessage(playerid, COLOR_YELLOW, "USAGE: /stop (handleid)");
{
Audio_Stop(playerid, handleid);
return 1;
}
}
But just works 'Audio_Play'
Sorry for my bad english.. how i fix that?