PlayAudioStreamForPlayer
#5

Код:
SendClientMessageToAll(-1, "Hardwell ft. Mitch Crown - Call Me A Spaceman");
This line going to spam when this loop start.
Like you have MAX_PLAYERS is equal to 100 or 200

it will spam 200 time in chat .

Notice: this is not SendClientMessage // this is SendClientMessageToAll.

I'll not recommend you to use loop and start stream. better to use Boombox type script.
Play music who are in range of that area in which music is playing because the loop you using work only for players
online but if some budy got crash !! and he join again server what you will do start steam again ? that cause lag better you music with position..
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)