20.12.2013, 06:46
any way to get music valid url to play it in gamem using PlayAudioStreamerForPlayer?
i dont know how to get url to music to play it,please help
i dont know how to get url to music to play it,please help
// This command allows a player to start playing an audiostream
COMMAND:startstream(playerid, params[])
{
// Start audiostream
PlayAudioStreamForPlayer(playerid, "http://listen.sky.fm/public3/the80s.pls");
// Let the server know that this was a valid command
return 1;
}
// This command allows a player to stop playing an audiostream
COMMAND:stopstream(playerid, params[])
{
// Stop audiostream
StopAudioStreamForPlayer(playerid);
// Let the server know that this was a valid command
return 1;
}