Audio Stream on server doesn't work
#1

Hello all!
i have audiostream in my server but when i do the command /audiourl [volume] [seek] [range] and then a dialog pop up, i paste a link there from the site kiwi6 (i uploaded my songs there) and press ok , nothing hears, i wait about 5 minutes - doesn't start.
i using Audio plugin of inconginto v0.5 R2 (the latest version + plugin.dll + include)
BTW /setstation on vehicles also doesn't work...
how can i fix that?


Код:
CMD:audiourl(playerid, params[])
{
    if(PlayerInfo[playerid][pAdmin] >= 4) {

        new volume, seek, range;
        if(sscanf(params, "ddd", volume, seek, range)) {
            SendClientMessageEx(playerid, COLOR_GRAD2, "USAGE: /audiourl [volume] [seek] [range].");
            return 1;
        }

        SetPVarInt(playerid, "aURLvol", volume);
        SetPVarInt(playerid, "aURLseek", seek);
        SetPVarInt(playerid, "aURLrange", range);
        ShowPlayerDialog(playerid, AUDIO_URL, DIALOG_STYLE_INPUT, "Audio URL", "Enter Audio URL", "OK", "Cancel");
    }
    else {
        SendClientMessageEx(playerid, COLOR_GRAD1, "   You are not authorized to use that command !");
        return 1;
    }
    return 1;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)