Song cannot be hear by everyone
#10

no not that i mean this

pawn Code:
CMD:youaremyno1(playerid, params[])
{
     new string[128],pname[MAX_PLAYER_NAME];
     for(new i = 0; i < MAX_PLAYERS; i++)
     {
        GetPlayerName(playerid, pname, sizeof(pname));
        if(IsSongPlaying[i] == 0)
        {
           if(IsPlayerConnected(i))
           {
               format(string, sizeof(string), "%s has played the song You're my number one by S CLUB 7", pname);
               SendClientMessageToAll(COLOR_RED, string);
               SendClientMessage(playerid, COLOR_GREEN, "You played the song You're my number one by S CLUB 7");
               PlayAudioStreamForPlayer(i, "http://k002.kiwi6.com/hotlink/04gp2006f8/s_club_7_you_re_my_number_one.mp3");
               IsSongPlaying[i] = 1;
           }
        }
        else
        {
           if(IsPlayerConnected(i))
           {
              format(string, sizeof(string), "%s has stop playing the song You're my number one by S CLUB 7", pname);
              SendClientMessageToAll(COLOR_RED, string);
              SendClientMessage(playerid, COLOR_RED, "You stop playing the song You're my number one by S CLUB 7");
              StopAudioStreamForPlayer(i);
              IsSongPlaying[i] = 0;
           }
        }
     }
     return 1;
}
Reply


Messages In This Thread
Song cannot be hear by everyone - by L0zaix - 17.02.2012, 07:50
Re: Song cannot be hear by everyone - by L0zaix - 17.02.2012, 08:09
Re: Song cannot be hear by everyone - by L0zaix - 17.02.2012, 11:37
Re: Song cannot be hear by everyone - by emokidx - 17.02.2012, 11:39
Re: Song cannot be hear by everyone - by L0zaix - 17.02.2012, 11:48
Re: Song cannot be hear by everyone - by L0zaix - 17.02.2012, 12:11
Re: Song cannot be hear by everyone - by Madd Kat - 17.02.2012, 12:15
Re: Song cannot be hear by everyone - by L0zaix - 17.02.2012, 12:33
Re: Song cannot be hear by everyone - by Madd Kat - 17.02.2012, 12:39
Re: Song cannot be hear by everyone - by L0zaix - 17.02.2012, 12:42

Forum Jump:


Users browsing this thread: 1 Guest(s)