06.02.2013, 17:04
Hello,
I need help with URL streaming system, I would like players to stream the Audio by themselves with their own URL.
I need help with URL streaming system, I would like players to stream the Audio by themselves with their own URL.
Код:
else if(listitem == 3)
{
if(GetPVarType(playerid, "pBoomBox"))
{
foreach(Player, i)
{
if(IsPlayerInDynamicArea(i, GetPVarInt(playerid, "pBoomBoxArea")))
{
PlayAudioStreamForPlayer(i, "((here))", GetPVarFloat(playerid, "pBoomBoxX"), GetPVarFloat(playerid, "pBoomBoxY"), GetPVarFloat(playerid, "pBoomBoxZ"), 30.0, 1);
}
}
SetPVarString(playerid, "pBoomBoxStation", "((Here is where is want the streamed URL to be))");
}
else
{
PlayAudioStreamForPlayer(playerid, "((Here))");
SetPVarInt(playerid, "MusicIRadio", 1);
}
}


