public OnPlayerCommandText(playerid, cmdtext[]){if (strcmp(\"/radio\", cmdtext, true, 10) == 0){SendClientMessage(playerid,0x7300ffAA,\"1.Rádio1-/radio1,ClassFM-/calassfm,NeoFM-/neofm\");SendClientMessage(playerid,0x7300ffAA,\"Rockvilág1-/rockvilag1,Rockvilág2-/rockvilag2,HeavyMetal-/heavymetal\");return 1;}if (strcmp(\"/radio1\", cmdtext, true, 10) == 0){PlayAudioStreamForPlayer(playerid,\"http://195.70.35.172:8000/radio1.mp3.m3u\");return 1;}if (strcmp(\"/classfm\", cmdtext, true, 10) == 0){PlayAudioStreamForPlayer(playerid,\"http://www.sztarnet.hu/ClassFM/mp3_adas_1.m3u\");return 1;}if (strcmp(\"/neofm\", cmdtext, true, 10) == 0){PlayAudioStreamForPlayer(playerid,\"http://www.xhosting.hu/NeoFM/128_kbs_mp3.m3u\");return 1;}if (strcmp(\"/rockvilag1\", cmdtext, true, 10) == 0){PlayAudioStreamForPlayer(playerid,\"http://94.199.181.124:8800/rockvilag1\");return 1;}if (strcmp(\"/rockvilag2\", cmdtext, true, 10) == 0){PlayAudioStreamForPlayer(playerid,\"http://94.199.181.124:8800/rockvilag2\");return 1;}if (strcmp(\"/heavymetal\", cmdtext, true, 10) == 0){PlayAudioStreamForPlayer(playerid,\"http://www.millioradio.hu/radio.php?file=heavymetalattack\");return 1;}return 0;}
Rádió 1 - http://195.70.35.172:8000/radio1.mp3.m3uClass FM - http://www.sztarnet.hu/ClassFM/mp3_adas_1.m3uNeo FM - http://www.xhosting.hu/NeoFM/128_kbs_mp3.m3uRockvilág1 - http://94.199.181.124:8800/rockvilag1Rockvilág2 - http://94.199.181.124:8800/rockvilag2HeavyMetal - http://www.millioradio.hu/radio.php?file=heavymetalattackÚgy legyen, hogy beírom a /radio parancsot és kijönnek SendClientMessage-el, hogy: 1. Rádió1 - /radio1 2. Class FM - /classfm stb....Reklám nem kell.