Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //mp3 Radio by Filipicx
- //Moj e-mail: [email protected]
- #include <a_samp>
- #include <zcmd>
- #define FILTERSCRIPT
- #define SCM SendClientMessage
- #define green 0x33FF33AA
- public OnFilterScriptInit()
- {
- print("\n--------------------------------------");
- print(" SA:MP mp3 Muzika by Filipicx ");
- print("--------------------------------------\n");
- return 1;
- }
- public OnFilterScriptExit()
- {
- print("\n--------------------------------------");
- print(" Hvala sto koristite ovu filterscriptu!");
- print("--------------------------------------\n");
- return 1;
- }
- CMD:mp3pomoc(playerid, params[]) {
- SCM(playerid, green, "Radio uzivo sa [Vase Ime Servera]");
- SCM(playerid, green, "Koristi /mp3 da bi video/la Radio stanice!");
- SCM(playerid, green, "Da ugasis radio kucaj /ugasimp3.");
- return 1;
- }
- public OnPlayerConnect(playerid)
- {
- SendClientMessageToAll(green, "Ovaj server koristi mp3 Radio. Kucajte /mp3pomoc. Ucitavanje...");
- }
- CMD:mp3(playerid, params[]) {
- SCM(playerid, green, "/radio1 - Radio CNR");
- SCM(playerid, green, "/radio2 - Radio Rap");
- SCM(playerid, green, "/radio3 - Radio Dubstep");
- return 1;
- }
- ///////////////////////////////////////////////////////////
- CMD:ugasimp3(playerid, params[]) {
- StopAudioStreamForPlayer(playerid);
- SCM(playerid, green,"Ugasio si mp3.");
- RemovePlayerAttachedObject(playerid, 4);
- }
- ///////////////////////////////////////////////////////////
- CMD:radio1(playerid, params[]) {
- PlayAudioStreamForPlayer(playerid,"http://cnr-radio.com/listen.m3u");
- SCM(playerid, green,"Sada slusate CNR Radio!");
- SetPlayerAttachedObject(playerid, 4, 19424, 2, 0.050000, -0.014999, 0.000000, 95.000000, 183.000000, 89.000000, 1, 1, 1, 0xffffffff);
- }
- ///////////////////////////////////////////////////////////
- CMD:radio2(playerid, params[]) {
- PlayAudioStreamForPlayer(playerid,"http://streaming.radionomy.com/A-RAP-FM-WEB");
- SCM(playerid, green,"Sada slusate Radio Rap!");
- SetPlayerAttachedObject(playerid, 4, 19424, 2, 0.050000, -0.014999, 0.000000, 95.000000, 183.000000, 89.000000, 1, 1, 1, 0xffffffff);
- }
- ///////////////////////////////////////////////////////////
- CMD:radio3(playerid, params[]) {
- PlayAudioStreamForPlayer(playerid,"http://www.dubstep.fm/listen.pls");
- SCM(playerid, green,"Sada slusate Radio Dubstep!");
- SetPlayerAttachedObject(playerid, 4, 19424, 2, 0.050000, -0.014999, 0.000000, 95.000000, 183.000000, 89.000000, 1, 1, 1, 0xffffffff);
- }
- ///////////////////////////////////////////////////////////////////////////////////////////////////////
- ///////////////////////////////////////////////////////////////////////////////////////////////////////
- /////////////////////////////////////////////////////////////////////////////////////////////////////// by Filipicx 2015
Advertisement
Add Comment
Please, Sign In to add comment