PlayAudioStreamForPlayer
#2

It is for all the players.
That is a loop which starts from id 0 and finished to MAX_PLAYERS (value defined 50,100 etc) All the players connected will receive your message + music.

To use just for a player try:


if(IsPlayerConnected(playerid))
{
PlayAudioStreamForPlayer(playerid,"http://s1.vocaroo.com/media/download_temp/Vocaroo_s1NSemW8oOZi.mp3");
SendClientMessage(playerid, 0xFFFFFF, "Hardwell ft. Mitch Crown - Call Me A Spaceman");
}
return 1;
Reply


Messages In This Thread
PlayAudioStreamForPlayer - by Micko123 - 10.05.2016, 08:07
Re: PlayAudioStreamForPlayer - by Nin9r - 10.05.2016, 09:22
Re: PlayAudioStreamForPlayer - by BornHuman - 10.05.2016, 09:48
Re: PlayAudioStreamForPlayer - by Micko123 - 10.05.2016, 16:03
Re: PlayAudioStreamForPlayer - by MBilal - 10.05.2016, 17:04
Re: PlayAudioStreamForPlayer - by Micko123 - 10.05.2016, 17:29

Forum Jump:


Users browsing this thread: 1 Guest(s)