Hey,
Ich hab in meinem Radio System ein fehler entdeckt.
if(dialogid == DIALOG_RADIO)
{
if(response)
{
if(listitem == 0)
{
SendClientMessage(playerid, COLOR_LIGHTGREEN, "Technobase.FM!");
PlayAudioStreamForPlayer(playerid, "http://listen.technobase.fm/dsl.pls");
}
if(listitem == 1)
{
SendClientMessage(playerid, COLOR_LIGHTGREEN, "Hardbase.FM!");
PlayAudioStreamForPlayer(playerid, "http://listen.hardbase.fm/dsl.pls");
}
if(listitem == 2)
{
SendClientMessage(playerid, COLOR_LIGHTGREEN, "Clubtime.FM!");
PlayAudioStreamForPlayer(playerid, "http://listen.clubtime.fm/dsl.pls");
}
if(listitem == 3)
{
SendClientMessage(playerid, COLOR_LIGHTGREEN, "Housetime.FM!");
PlayAudioStreamForPlayer(playerid, "http://listen.housetime.fm/dsl.pls");
}
if(listitem == 4)
{
SendClientMessage(playerid, COLOR_LIGHTGREEN, "Trancebase.FM!");
PlayAudioStreamForPlayer(playerid, "http://listen.trancebase.fm/dsl.pls");
}
if(listitem == 5)
{
SendClientMessage(playerid, COLOR_LIGHTGREEN, "Coretime.FM!");
PlayAudioStreamForPlayer(playerid, "http://listen.coretime.fm/dsl.pls");
}
if(listitem == 6)
{
SendClientMessage(playerid, COLOR_LIGHTGREEN, "Radio Aus!");
StopAudioStreamForPlayer(playerid);
}
return 1;
}
Es wird nur z.b. Coretime.FM eingezeigt und es kommt keine Musik.
Mit freundlichen Grüßen,
Electro