SA-MP Forums Archive
Help with Playaudiostreamforplayer - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Help with Playaudiostreamforplayer (/showthread.php?tid=665475)



Help with Playaudiostreamforplayer - Edvukas - 05.04.2019

Hello, why I can't use PlayAudioStreamForPlayer function? I tried to put this code in some callbacks and commands, code:
pawn Code:
PlayAudioStreamForPlayer(playerid, "http://www.radijas.fm/media/_catalog/www.radijas.fm-radijo-stotis-radiocentras.pls");
but when I type /sound it doesnt show anything like green text etc...


Re: Help with Playaudiostreamforplayer - MicroKyrr - 05.04.2019

Maybe your audio message is off, try /audiomsg. If your audio stream is not working, there is something wrong with your script.


Re: Help with Playaudiostreamforplayer - Edvukas - 05.04.2019

Audio messages is on, I'm using new gamemode ( https://sampforum.blast.hk/showthread.php?tid=659037 )


Re: Help with Playaudiostreamforplayer - v1k1nG - 05.04.2019

Hello, I've take a look at the gamemode, there isn't any use of Playaudiostreamforplayer, show us your code where you added this


Re: Help with Playaudiostreamforplayer - Edvukas - 05.04.2019

After OnPlayerConnect also I tried to put in forward CheckAccount(playerid);
public CheckAccount(playerid)
{


Re: Help with Playaudiostreamforplayer - Logic_ - 05.04.2019

You must have the radio volume enabled to hear audio streams.


Re: Help with Playaudiostreamforplayer - Edvukas - 05.04.2019

Oooooh.... Thanks you!