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!
● 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");
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 |