Audiostream won't play
#1

Hey guys.

The following snippet won't work:
Код:
PlayAudioStreamForPlayer(playerid, "http://gtawesome.net/server/sounds/doublekill.mp3");
What's the problem?

Gz
Reply
#2

Maybe your Audio(option) is off...
Reply
#3

I believe that SA-MP only accepts .pls files so like a shout cast one so try this as an example

pawn Код:
PlayAudioStreamForPlayer(playerid, "http://yp.shoutcast.com/sbin/tunein-station.pls?id=1266433");
Reply
#4

Nope, that wasn't the issue.
"Radio volume" was set to 0. xD
Reply
#5

Quote:
Originally Posted by moehq
Посмотреть сообщение
I believe that SA-MP only accepts .pls files so like a shout cast one so try this as an example

pawn Код:
PlayAudioStreamForPlayer(playerid, "http://yp.shoutcast.com/sbin/tunein-station.pls?id=1266433");
No MP3 files can also be played, and glad to see your problem was resolved.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)