Help with Playaudiostreamforplayer
#1

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...
Reply
#2

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

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

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

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

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

Oooooh.... Thanks you!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)