Thread: AudioStream
View Single Post
Old 29/08/2012, 06:12 AM   #1
oliver12
Big Clucker
 
Join Date: Aug 2010
Posts: 95
Reputation: 0
Default AudioStream

Hello! I wanted to create a radio system for my server, but it doesn't work. I show te actual code(everything else is right).
PHP Code:
    if(response)
    {
        if(
listitem == 0)
        {
             
PlayAudioStreamForPlayer(playerid,"http://stream.akaver.com/streamgen.php?stream=powerhit&format=ogg&quality=low");
             
SendClientMessage(playeridCOLOR_YELLOW,"Nüüd mängib raadio Power Hit");
            
APlayerData[playerid][Raadio] = true;
        }
        if(
listitem == 1)
        {
            
PlayAudioStreamForPlayer(playerid,"http://striiming.trio.ee:8008/elmar.mp3");
             
SendClientMessage(playeridCOLOR_YELLOW,"Nüüd mängib raadio Elmar");
               
APlayerData[playerid][Raadio] = true;
        }
        if(
listitem == 2)
        {
            
PlayAudioStreamForPlayer(playerid,"http://streamer.akaver.com/streamgen.php?stream=skyplus&format=mp3&quality=hi");
             
SendClientMessage(playeridCOLOR_YELLOW,"Nüüd mängib raadio Sky Plus");
               
APlayerData[playerid][Raadio] = true;
        }
    }
    return 
1
The code works, because I can see the SendClientMessage, but that Audio Stream: ..... doesn't show up and the music doesn't play too.
__________________
oliver12 is offline   Reply With Quote