PlayAudioStreamForPlayer is not working on mine
#4

Quote:
Originally Posted by iggy1
Посмотреть сообщение
Send a message to the player (or print) after you play the audio. Then tell us if you get the message.
Testing it out now, I'm just gonna edit this post for my reply

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(playerid0x00FF00FF"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;

Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)