23.05.2012, 07:54
Quote:
Send a message to the player (or print) after you play the audio. Then tell us if you get the message.
|
EDIT: Tried this, but still it does not play the radio
PHP код:
if(dialogid == 15151)
{
if(response)
{
if(listitem == 0)
{
PlayAudioStreamForPlayer(playerid, "http://yp.shoutcast.com/sbin/tunein-station.pls?id=780577");
SendClientMessage(playerid, 0x00FF00FF, "You have tuned in to SkyFM");
}
if(listitem == 1)
{
PlayAudioStreamForPlayer(playerid, "http://yp.shoutcast.com/sbin/tunein-station.pls?id=213653");
}
if(listitem == 2)
{
StopAudioStreamForPlayer(playerid);
}
}
return 1;
}