Need help with audio stream
#1

Hello,
I'm trying to make a command when a player types /play [station] it will play the station but it isn't working (I don't got pawno errors or warnings)
pawn Код:
CMD:play(playerid, params[])
{
    SendClientMessage(playerid, COLOR_WHITE, "Syntax: /play [station]");
    SendClientMessage(playerid, COLOR_GREY, "Stations: SlamFM");

    if(strcmp("SlamFM", true) == 0)
    {
        PlayAudioStreamForPlayer(playerid, "http://www.true.nl/streams/slamfmlivestream.pls");
        return 1;
    }
    return 1;
}
Reply


Messages In This Thread
Need help with audio stream - by McFellow - 20.02.2013, 16:52
Re: Need help with audio stream - by batonsa - 20.02.2013, 17:45
Re: Need help with audio stream - by ryansheilds - 20.02.2013, 18:03

Forum Jump:


Users browsing this thread: 1 Guest(s)