How to play a specific song via command
#1

Im familiar with the AudioStream, but I have only used it to where it plays music like a playlist.
ex. HOT 108 JAMZ Online Radio Station.

Is there any way i could just play one specific song if i type a command?
Reply
#2

****** or serach in wiki about this
PlayAudioStreamForPlayer: Plays a audio stream for a player. (https://sampwiki.blast.hk/wiki/PlayAudioStreamForPlayer)
PlayerPlaySound: Play a sound for a player.(https://sampwiki.blast.hk/wiki/PlayerPlaySound)
Reply
#3

Код:
CMD:music(playerid)
{
     PlayAudioStreamForPlayer(playerid,"http://yp.shoutcast.com/sbin/tunein-station.pls?id=32999");
     return 1;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)