Command not working
#10

Problems-Spams The ClientMessage like Crazy, Wont let me enter a URL at all

pawn Код:
if(strcmp(cmd, "/playall", true) == 4)
    {
        if(PlayerInfo[playerid][pDJ] < 1) return SendClientMessage(playerid, COLOR_WHITE, "DJ Only Command");
        if(!cmdtext[4]) return SendClientMessage(playerid, -1, "USAGE: /playforall [url]");
        for(new i = 0; i < MAX_PLAYERS; i ++)
        {
            PlayAudioStreamForPlayer(i, cmdtext[4]);
            SendClientMessage(playerid, COLOR_LIGHTBLUE, "You can stop playing this song with /stopall");
            SendClientMessage(i, COLOR_LIGHTBLUE, "An DJ has started playing a song (use /stopaudio to stop this song for you");
        }
        return 1;
    }
Reply


Messages In This Thread
Command not working - by San1 - 24.06.2013, 06:44
Re: Command not working - by introzen - 24.06.2013, 06:56
Re: Command not working - by San1 - 24.06.2013, 07:00
Re: Command not working - by [ABK]Antonio - 24.06.2013, 07:01
Re: Command not working - by park4bmx - 24.06.2013, 07:06
Re: Command not working - by San1 - 24.06.2013, 07:10
Re: Command not working - by [ABK]Antonio - 24.06.2013, 07:13
Re: Command not working - by San1 - 24.06.2013, 07:15
Re: Command not working - by park4bmx - 24.06.2013, 07:22
Re: Command not working - by San1 - 24.06.2013, 07:26

Forum Jump:


Users browsing this thread: 1 Guest(s)