30.04.2014, 23:48
(
Последний раз редактировалось satafinix; 11.05.2014 в 03:30.
)
How To Make a Simple Join Music Stream with auto start when player connect to server!
Hello guys, today I will be showing you how to make Simple Join Music Stream with auto start
Hello guys, today I will be showing you how to make Simple Join Music Stream with auto start
● First you must host your music MP3 you want & best place to host it is DropBox Register an account and upload your Music
● Go to your download link Bar & Take just the Download bar Link and copy it!
![](https://fbcdn-sphotos-h-a.akamaihd.net/hphotos-ak-prn2/v/t35.0-12/10328012_763561437011469_501793965_o.jpg?oh=af59853b236af0f4673e1f08bf1cb46f&oe=5370F525&__gda__=1399898003_d8fbbbcffa9e41a78d6ba5a07552d06b)
● Now in your Gamemode go down into:
Код:
public OnPlayerConnect(playerid)
Quote:
PlayAudioStreamForPlayer(playerid, "YOUR_MUSIC_LINK_HERE"); |
Код:
PlayAudioStreamForPlayer(playerid, "https://dl.dropbox.com/u/81961893/Eric%20Prydz%20-%20Pjanoo.mp3");
![](https://fbcdn-sphotos-h-a.akamaihd.net/hphotos-ak-prn2/v/t35.0-12/10332968_763564500344496_2142627433_o.jpg?oh=aae2fd3224bcd0b73d493db3809107d8&oe=53715CFE&__gda__=1399925179_76785346760c9119b4e9ea389230428a)
How to off it In-Game?:
● Simply Start new Command Called /Offradio or what ever you want & Add This code on the Command:
Код:
StopAudioStreamForPlayer(playerid);
Код:
} COMMAND:radiooff(playerid,params[]) { StopAudioStreamForPlayer(playerid); GameTextForPlayer(playerid, "~r~Radio ~y~Is ~b~Off", 2000, 5); return 0; }
Quote:
By: SkulleR |
![Wink](images/smilies/wink.png)