DNLS 31 Odesláno: 3. Duben, 2016 Share Odesláno: 3. Duben, 2016 (upraveno) Zdravím. Prostě a jelikož u příspěvku BTomase bylo DMCD, rozhodl jsem se to dát do CMD. Obsahuje to úplně to samé, takže funkce je stejná. http://pawno.cz/files/download/32-radiosystem/ Není to moje práce, takže mě nemusíte hodnotit Edited 3. Duben, 2016 by Daniels Link to comment Share on other sites More sharing options...
Scydo 397 Odesláno: 3. Duben, 2016 Share Odesláno: 3. Duben, 2016 ~> To v žádném případě není přes YSI. Jen si nahrál include... TOHLE je přes YSI: #include <a_samp> #include <YSI_Visual\y_commands> #include <YSI_Visual\y_dialog> #include <YSI_Coding\y_inline> #include <YSI_Server\y_scriptinit> public OnScriptInit() { print("Radio System By BTomas"); return (true); } YCMD:radio(playerid, params[], help) { Dialog_ShowCallback(playerid, using callback dDialogRadio, DIALOG_STYLE_LIST,"Radio System by BTomas","Fun Radio\nThe Vibe of Vegas\nDance Radio\nEvropa 2\nHipHopStage\nFrekvence 1\nVypnout Radio", "Spustit","Zavrit"); return (true); } forward dDialogRadio(playerid, dialogid, response, listitem, inputtext[]); public dDialogRadio(playerid, dialogid, response, listitem, inputtext[]) { if (!response) return (true); switch(listitem) { case 0: SendClientMessage(playerid, 0xFF6600 , "[ RadioSystem ] Spustil si radio Fun Radio.") , PlayAudioStreamForPlayer(playerid,"http://stream.funradio.sk:8000/fun128.mp3.m3u"); case 1: SendClientMessage(playerid, 0xFF6600 , "[ RadioSystem ] Spustil si radio The Vibe Of Vegas.") , PlayAudioStreamForPlayer(playerid,"http://108.61.73.117:8074/listen.pls"); case 2: SendClientMessage(playerid, 0xFF6600 , "[ RadioSystem ] Spustil si radio Dance Radio.") , PlayAudioStreamForPlayer(playerid,"http://www.play.cz/radio/danceradio128.mp3.m3u"); case 3: SendClientMessage(playerid, 0xFF6600 , "[ RadioSystem ] Spustil si radio Evropa 2.") , PlayAudioStreamForPlayer(playerid,"http://www.play.cz/radio/evropa2-128.mp3.m3u"); case 4: SendClientMessage(playerid, 0xFF6600 , "[ RadioSystem ] Spustil si radio HipHopStage.") , PlayAudioStreamForPlayer(playerid,"http://www.play.cz/radio/hiphopstage192.mp3.m3u"); case 5: SendClientMessage(playerid, 0xFF6600 , "[ Rado System ] Spustil si radio Frekvence 1.") , PlayAudioStreamForPlayer(playerid,"http://www.play.cz/radio/frekvence1-128.mp3.m3u"); case 6: SendClientMessage(playerid, 0xFF0000FF , "[ RadioSystem ] Rádio úspěšně vypnuté.") , StopAudioStreamForPlayer(playerid); } return (true); } Link to comment Share on other sites More sharing options...
DNLS 31 Odesláno: 3. Duben, 2016 Author Share Odesláno: 3. Duben, 2016 (upraveno) Tak. Přejmenováno na YCMD. Edited 3. Duben, 2016 by Daniels Link to comment Share on other sites More sharing options...
Scydo 397 Odesláno: 3. Duben, 2016 Share Odesláno: 3. Duben, 2016 Tak. Přejmenováno na YCMD. ~> Ale stejně jsi ho nepoužil...s y_cmd se nepracuje: CMD:prikaz(playerid, params[]) { ale YCMD:prikaz(playerid, params[], help) { Link to comment Share on other sites More sharing options...
DNLS 31 Odesláno: 3. Duben, 2016 Author Share Odesláno: 3. Duben, 2016 ~> Ale stejně jsi ho nepoužil...s y_cmd se nepracuje: CMD:prikaz(playerid, params[]) { ale YCMD:prikaz(playerid, params[], help) { Přejmenováno na CMD, ještě něco? Link to comment Share on other sites More sharing options...
Scydo 397 Odesláno: 3. Duben, 2016 Share Odesláno: 3. Duben, 2016 Přejmenováno na CMD, ještě něco? ~> To bych tu vypisoval hodiny. Tak vše potřebné je již ve spoileru v prvním příspěvku. Link to comment Share on other sites More sharing options...
DNLS 31 Odesláno: 3. Duben, 2016 Author Share Odesláno: 3. Duben, 2016 Pokud máš čas ty, já si ty hodiny klidně najdu. Link to comment Share on other sites More sharing options...
BTomas 0 Odesláno: 3. Duben, 2016 Share Odesláno: 3. Duben, 2016 Zdravím. Prostě a jelikož u příspěvku BTomase bylo DMCD, rozhodl jsem se to dát do CMD. Obsahuje to úplně to samé, takže funkce je stejná. http://pawno.cz/files/download/32-radiosystem/ Není to moje práce, takže mě nemusíte hodnotit Mas chybu, napsal si "DMCD" ma to byt DCMD Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now