07.12.2014, 03:07
pawn Код:
stock BLigarMP3(playerid, url[])
{
if(strlen(url) <= 1) return SendClientMessage(playerid, -1, "ERRO: Digite a URL da mъsica");
for(new i=0;i< MAX_PLAYERS; i++)
{
StopAudioStreamForPlayer(i);
PlayAudioStreamForPlayer(i, url);
}
StopAudioStreamForPlayer(playerid);
PlayAudioStreamForPlayer(playerid, url);
return 1;
}