Audio Plugin Problem :(
#1

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?

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)