Posts: 89
Threads: 40
Joined: Aug 2012
Hello SA-MP Team.
I Make Command for play music in 0.3x, I Haven't Error In Pawn but In Game Is Anything for this.
Code:
Код HTML:
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/Music", cmdtext, true) == 0)
{
PlayAudioStreamForPlayer(playerid, "http://picosong.com/success/e0e82645f046a1a18064b070cede8d1f/");
return 1;
}
return 0;
}
This Is Bug or My Warning?
Posts: 89
Threads: 40
Joined: Aug 2012
i try this but not work

in game not writes AudioStreamblablablabla..

And not starting.
Posts: 1,768
Threads: 91
Joined: Dec 2010
Reputation:
0
The link should be a music file .. so at then ending with .mp3 or .m3u, ...
Posts: 89
Threads: 40
Joined: Aug 2012
Quote:
Originally Posted by Michael@Belgium
The link should be a music file .. so at then ending with .mp3 or .m3u, ...
|
Yes but when i have typed this, in Game why writes AudioStreamblablablabla..?
In 0.3e version, When URL ending isn't Mp3, In Game Writes AudioStream... but music is not starting.
here is None.
But i try this And write here.
Posts: 1,496
Threads: 78
Joined: Jun 2008
Reputation:
0
The download link is different for different users. The site isn't suitable for streaming in server.
Try to use ******'s web service or some other cloud storage. It isn't a bug.
Posts: 89
Threads: 40
Joined: Aug 2012
ahh not!
Код HTML:
public OnPlayerSpawn(playerid)
{
PlayAudioStreamForPlayer(playerid, "http://gdstvfans.org/Georgia-.mp3");
return 1;
}
I try this url but music isn't starting!
Posts: 61
Threads: 3
Joined: Jan 2013
Reputation:
0
Do you have your radio on in the pause menu? You need to have it on to hear the stream.