Streaming for all vehicle pessengers
#3

Here :
PHP код:
            switch(listitem)
            {
                case 
0:
                {
                    if(
playing[playerid] == 1)
                    {
                        
playing[playerid] = 0;
                        
GameTextForPlayer(playerid"~w~Music ~r~stopped"30003);
                        
StopAudioStreamForPlayer(playerid);
                    }
                    else
                    {
                        
SendClientMessage(playeridcolor_wa"- You aren't playing music -");
                    }
                }
                case 
1:
                {
                    
playing[playerid] = 1;
                    
GameTextForPlayer(playerid"~w~Music ~g~started"30003);
                    
PlayAudioStreamForPlayer(playerid"http://83.87.110.147/files/music/cl_01.mp3");
                    
/*
                    If you navigate to:
                    - http://83.87.110.147/files/music/
                    - http://83.87.110.147/files/
                    or
                    - http://83.87.110.147/
                    The webserver will return: "Not Found".
                    This does NOT mean the .mp3 files aren't available.
                    The .mp3 files are hosted 24/7 at a professional webserver system.
                    The reason why there isn't a .com domain is because it is not needed.
                    That is why it is just the IP address of the webserver.
                    Any attempt to hack or take down the webserver will be logged.
                    Also, your IP address will be reported to the France minister of internet crime and your ISP.
                    */
                
}
                case 
2:
                {
                    
playing[playerid] = 1;
                    
GameTextForPlayer(playerid"~w~Music ~g~started"30003);
                    
PlayAudioStreamForPlayer(playerid"http://83.87.110.147/files/music/du_01.mp3");
                }
                case 
3:
                {
                    
playing[playerid] = 1;
                    
GameTextForPlayer(playerid"~w~Music ~g~started"30003);
                    
PlayAudioStreamForPlayer(playerid"http://83.87.110.147/files/music/el_01.mp3");
                }
                case 
4:
                {
                    
playing[playerid] = 1;
                    
GameTextForPlayer(playerid"~w~Music ~g~started"30003);
                    
PlayAudioStreamForPlayer(playerid"http://83.87.110.147/files/music/hi_01.mp3");
                }
                case 
5:
                {
                    
playing[playerid] = 1;
                    
GameTextForPlayer(playerid"~w~Music ~g~started"30003);
                    
PlayAudioStreamForPlayer(playerid"http://83.87.110.147/files/music/ho_01.mp3");
                }
                case 
6:
                {
                    
playing[playerid] = 1;
                    
GameTextForPlayer(playerid"~w~Music ~g~started"30003);
                    
PlayAudioStreamForPlayer(playerid"http://83.87.110.147/files/music/ja_01.mp3");
                }
                case 
7:
                {
                    
playing[playerid] = 1;
                    
GameTextForPlayer(playerid"~w~Music ~g~started"30003);
                    
PlayAudioStreamForPlayer(playerid"http://83.87.110.147/files/music/me_01.mp3");
                }
                case 
8:
                {
                    
playing[playerid] = 1;
                    
GameTextForPlayer(playerid"~w~Music ~g~started"30003);
                    
PlayAudioStreamForPlayer(playerid"http://83.87.110.147/files/music/po_01.mp3");
                }
                case 
9:
                {
                    
playing[playerid] = 1;
                    
GameTextForPlayer(playerid"~w~Music ~g~started"30003);
                    
PlayAudioStreamForPlayer(playerid"http://83.87.110.147/files/music/rn_01.mp3");
                }
                case 
10:
                {
                    
playing[playerid] = 1;
                    
GameTextForPlayer(playerid"~w~Music ~g~started"30003);
                    
PlayAudioStreamForPlayer(playerid"http://83.87.110.147/files/music/ro_01.mp3");
                }
            }
        } 
Reply


Messages In This Thread
Streaming for all vehicle pessengers - by Black Axe - 15.01.2012, 11:51
Re: Streaming for all vehicle pessengers - by xGoldenx - 15.01.2012, 12:16
Re: Streaming for all vehicle pessengers - by Black Axe - 17.01.2012, 11:46
Re: Streaming for all vehicle pessengers - by Black Axe - 17.01.2012, 16:36
Re: Streaming for all vehicle pessengers - by jamesbond007 - 17.01.2012, 17:03
Re: Streaming for all vehicle pessengers - by Black Axe - 18.01.2012, 12:38
Re: Streaming for all vehicle pessengers - by thimo - 18.01.2012, 12:41
Re: Streaming for all vehicle pessengers - by Black Axe - 18.01.2012, 12:43
Re: Streaming for all vehicle pessengers - by thimo - 18.01.2012, 12:55
Re: Streaming for all vehicle pessengers - by Black Axe - 18.01.2012, 16:42

Forum Jump:


Users browsing this thread: 1 Guest(s)