PlayAudioStreamForPlayer is not being called.
#1

Hey guys, the " PlayAudioStreamForPlayer " is not being called, here are the commands that I have for it,:

pawn Код:
CMD:musictest(playerid, params[])
{
    PlayAudioStreamForPlayer(playerid, "http://listen.technobase.fm/oggvorbis.pls");
    return 1;
}
CMD:musicplayer(playerid, params[]) //editedd
{
    if(strcmp(params, "callmemaybe", true) == 0)
    {
        PlayAudioStreamForPlayer(playerid, "http://www.weebly.com/uploads/1/3/0/7/13072079/carly_rae_jepsen_-_call_me_maybe.mp3");
    }
    else if(strcmp(params, "station1", true) == 0)
    {
        PlayAudioStreamForPlayer(playerid, "http://listen.technobase.fm/oggvorbis.pls");
    }
    else if(strcmp(params, "station2", true) == 0)
    {
        PlayAudioStreamForPlayer(playerid, "http://main-high.rautemusik.fm/rm.page//listen.pls");
    }
    else if(strcmp(params, "station3", true) == 0)
    {
        PlayAudioStreamForPlayer(playerid, "http://charthits-high.rautemusik.fm//listen.pls");
    }
    else if(strcmp(params, "station4", true) == 0)
    {
        PlayAudioStreamForPlayer(playerid, "http://files.sa-mp.im:8000/listen.pls");
    }
    else if(strcmp(params, "susan", true) == 0)
    {
        PlayAudioStreamForPlayer(playerid, "http://72.26.204.28:6834");
        GivePlayerMoney(playerid, 3500+3500);
    }
    else if(strcmp(params, "susan2", true) == 0)
    {
        PlayAudioStreamForPlayer(playerid, "http://206.217.207.207:6140");
        GivePlayerMoney(playerid, 3500+3500);
    }
    else if(strcmp(params, "off", true) == 0)
    {
        StopAudioStreamForPlayer(playerid);
        SendClientMessage(playerid, COLOR_RED, "Audio streaming was stopped.");
    }
    return 1;
}
They used to work, but now they're not working/not being called.
Reply
#2

Check yout "Radio" volume
Reply
#3

It's high, when I type the commands the streaming url doesn't even show on the bottom of the screen.
Reply
#4

make sure that u have ur volume high both radio and game volume and make sure to compile it with latest includes..
Reply
#5

I've got everything, latest plugins and latest everything .. However, it works if my script wasn't running.
Reply
#6

Bump after 24 hours
Reply
#7

oh my god!


Just call them in the audio callback!
Reply
#8

The links are not OK!!

Visit this sitehttp://kiwi6.com
There you can upload your music and then when u upload choose that link where on the end of link stands "mp3"
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)