17.01.2012, 11:46
Here :
PHP код:
switch(listitem)
{
case 0:
{
if(playing[playerid] == 1)
{
playing[playerid] = 0;
GameTextForPlayer(playerid, "~w~Music ~r~stopped", 3000, 3);
StopAudioStreamForPlayer(playerid);
}
else
{
SendClientMessage(playerid, color_wa, "- You aren't playing music -");
}
}
case 1:
{
playing[playerid] = 1;
GameTextForPlayer(playerid, "~w~Music ~g~started", 3000, 3);
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", 3000, 3);
PlayAudioStreamForPlayer(playerid, "http://83.87.110.147/files/music/du_01.mp3");
}
case 3:
{
playing[playerid] = 1;
GameTextForPlayer(playerid, "~w~Music ~g~started", 3000, 3);
PlayAudioStreamForPlayer(playerid, "http://83.87.110.147/files/music/el_01.mp3");
}
case 4:
{
playing[playerid] = 1;
GameTextForPlayer(playerid, "~w~Music ~g~started", 3000, 3);
PlayAudioStreamForPlayer(playerid, "http://83.87.110.147/files/music/hi_01.mp3");
}
case 5:
{
playing[playerid] = 1;
GameTextForPlayer(playerid, "~w~Music ~g~started", 3000, 3);
PlayAudioStreamForPlayer(playerid, "http://83.87.110.147/files/music/ho_01.mp3");
}
case 6:
{
playing[playerid] = 1;
GameTextForPlayer(playerid, "~w~Music ~g~started", 3000, 3);
PlayAudioStreamForPlayer(playerid, "http://83.87.110.147/files/music/ja_01.mp3");
}
case 7:
{
playing[playerid] = 1;
GameTextForPlayer(playerid, "~w~Music ~g~started", 3000, 3);
PlayAudioStreamForPlayer(playerid, "http://83.87.110.147/files/music/me_01.mp3");
}
case 8:
{
playing[playerid] = 1;
GameTextForPlayer(playerid, "~w~Music ~g~started", 3000, 3);
PlayAudioStreamForPlayer(playerid, "http://83.87.110.147/files/music/po_01.mp3");
}
case 9:
{
playing[playerid] = 1;
GameTextForPlayer(playerid, "~w~Music ~g~started", 3000, 3);
PlayAudioStreamForPlayer(playerid, "http://83.87.110.147/files/music/rn_01.mp3");
}
case 10:
{
playing[playerid] = 1;
GameTextForPlayer(playerid, "~w~Music ~g~started", 3000, 3);
PlayAudioStreamForPlayer(playerid, "http://83.87.110.147/files/music/ro_01.mp3");
}
}
}