#include <a_samp>#pragma tabsize 0#if defined FILTERSCRIPT#endifpublic OnPlayerConnect(playerid){return 1;}public OnPlayerCommandText(playerid, cmdtext[]){if (strcmp(\"/zene\", cmdtext, true, 10) == 0){ ShowPlayerDialog(playerid, 0, DIALOG_STYLE_LIST, \"{D82CC1}Zene lejátszó\",\"{2CD8D6}Fake Blood - I Think I Like It\\n{2CD8D6}Pákó - Szõke Barna x\'DDD\\n{2CD8D6}Reflected - Flags & Lies\\n{2CD8D6}Reflected - Twenty three\\n{2CD8D6}Meglepetés Zene XD\\n{2CD8D6}South Central - Demons\\n{2CD8D6}Dr. Dre - Still D.R.E. ft. Snoop Dogg\\n{CC0CE1}Zene kikapcsolás\",\"Ok\",\"Kilép\"); return 1;}return 0;}public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]){if(response) { switch(dialogid) {case 200: { switch(listitem) { case 0: { StopAudioStreamForPlayer(playerid); PlayAudioStreamForPlayer(playerid, \"http://paradisedrift.do.am/Paradise/fake.mp3\");//Fake Blood - I Think I Like It } case 1: { StopAudioStreamForPlayer(playerid); PlayAudioStreamForPlayer(playerid, \"http://paradisedrift.do.am/Paradise/fekete_pako-szoke-barna-music-team.net.mp3\");//PÁKÓ - SZÕKE, BARNA } case 2: { StopAudioStreamForPlayer(playerid); PlayAudioStreamForPlayer(playerid, \"http://paradisedrift.do.am/Paradise/Reflected-Flags_Lies-1-.mp3\");//Reflected - Flags & Lies } case 3: { StopAudioStreamForPlayer(playerid); PlayAudioStreamForPlayer(playerid, \"http://paradisedrift.do.am/Paradise/Twenty-three-Reflected.mp3\");//ReflectedTwentythree } case 4: { StopAudioStreamForPlayer(playerid); PlayAudioStreamForPlayer(playerid, \"http://paradisedrift.do.am/Paradise/kecske.mp3\"); } case 5: { StopAudioStreamForPlayer(playerid); PlayAudioStreamForPlayer(playerid, \"http://paradisedrift.do.am/Paradise/dirt.mp3\");// South Central - Demons } case 6: { StopAudioStreamForPlayer(playerid); PlayAudioStreamForPlayer(playerid, \"http://paradisedrift.do.am/Paradise/snoop.mp3\");//Dr. Dre - Still D.R.E. ft. Snoop Dogg } case 7: { StopAudioStreamForPlayer(playerid); } } }} } return 1;}
ShowPlayerDialog(playerid, 0, DIALOG_STYLE_LIST[/quote] switch(dialogid) { case 200: {[/quote]Ez csak nekem tûnt fel?Másik pedig..OnDialogResponse(..) végére nem return 1; hanem return 0; kell
switch(dialogid) { case 200: {[/quote]Ez csak nekem tûnt fel?Másik pedig..OnDialogResponse(..) végére nem return 1; hanem return 0; kell
#include <a_samp>#pragma tabsize 0#if defined FILTERSCRIPT#endifpublic OnPlayerConnect(playerid){return 1;}public OnPlayerCommandText(playerid, cmdtext[]){if (strcmp(\"/zene\", cmdtext, true, 10) == 0){ ShowPlayerDialog(playerid, 200, DIALOG_STYLE_LIST, \"{D82CC1}Zene lejátszó\",\"{2CD8D6}Fake Blood - I Think I Like It\\n{2CD8D6}Pákó - Szõke Barna x\'DDD\\n{2CD8D6}Reflected - Flags & Lies\\n{2CD8D6}Reflected - Twenty three\\n{2CD8D6}Meglepetés Zene XD\\n{2CD8D6}South Central - Demons\\n{2CD8D6}Dr. Dre - Still D.R.E. ft. Snoop Dogg\\n{CC0CE1}Zene kikapcsolás\",\"Ok\",\"Kilép\"); return 1;}return 0;}public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]){if(response) { switch(dialogid) {case 200: { switch(listitem) { case 0: { StopAudioStreamForPlayer(playerid); PlayAudioStreamForPlayer(playerid, \"http://paradisedrift.do.am/Paradise/fake.mp3\");//Fake Blood - I Think I Like It } case 1: { StopAudioStreamForPlayer(playerid); PlayAudioStreamForPlayer(playerid, \"http://paradisedrift.do.am/Paradise/fekete_pako-szoke-barna-music-team.net.mp3\");//PÁKÓ - SZÕKE, BARNA } case 2: { StopAudioStreamForPlayer(playerid); PlayAudioStreamForPlayer(playerid, \"http://paradisedrift.do.am/Paradise/Reflected-Flags_Lies-1-.mp3\");//Reflected - Flags & Lies } case 3: { StopAudioStreamForPlayer(playerid); PlayAudioStreamForPlayer(playerid, \"http://paradisedrift.do.am/Paradise/Twenty-three-Reflected.mp3\");//ReflectedTwentythree } case 4: { StopAudioStreamForPlayer(playerid); PlayAudioStreamForPlayer(playerid, \"http://paradisedrift.do.am/Paradise/kecske.mp3\"); } case 5: { StopAudioStreamForPlayer(playerid); PlayAudioStreamForPlayer(playerid, \"http://paradisedrift.do.am/Paradise/dirt.mp3\");// South Central - Demons } case 6: { StopAudioStreamForPlayer(playerid); PlayAudioStreamForPlayer(playerid, \"http://paradisedrift.do.am/Paradise/snoop.mp3\");//Dr. Dre - Still D.R.E. ft. Snoop Dogg } case 7: { StopAudioStreamForPlayer(playerid); } } }} } return 0;}
#include <a_samp>#pragma tabsize 0public OnPlayerConnect(playerid){ return 1;}public OnPlayerCommandText(playerid, cmdtext[]){ if (strcmp(\"/zene\", cmdtext, true, 10) == 0) { ShowPlayerDialog(playerid, 200, DIALOG_STYLE_LIST, \"{D82CC1}Zene lejátszó\",\"{2CD8D6}Fake Blood - I Think I Like It\\n{2CD8D6}Pákó - Szõke Barna x\'DDD\\n{2CD8D6}Reflected - Flags & Lies\\n{2CD8D6}Reflected - Twenty three\\n{2CD8D6}Meglepetés Zene XD\\n{2CD8D6}South Central - Demons\\n{2CD8D6}Dr. Dre - Still D.R.E. ft. Snoop Dogg\\n{CC0CE1}Zene kikapcsolás\",\"Ok\",\"Kilép\"); return 1; } return 0;}public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]){if(response) { switch(dialogid) { case 200: { switch(listitem) { case 0: { StopAudioStreamForPlayer(playerid); PlayAudioStreamForPlayer(playerid, \"http://paradisedrift.do.am/Paradise/fake.mp3\");//Fake Blood - I Think I Like It } case 1: { StopAudioStreamForPlayer(playerid); PlayAudioStreamForPlayer(playerid, \"http://paradisedrift.do.am/Paradise/fekete_pako-szoke-barna-music-team.net.mp3\");//PÁKÓ - SZÕKE, BARNA } case 2: { StopAudioStreamForPlayer(playerid); PlayAudioStreamForPlayer(playerid, \"http://paradisedrift.do.am/Paradise/Reflected-Flags_Lies-1-.mp3\");//Reflected - Flags & Lies } case 3: { StopAudioStreamForPlayer(playerid); PlayAudioStreamForPlayer(playerid, \"http://paradisedrift.do.am/Paradise/Twenty-three-Reflected.mp3\");//ReflectedTwentythree } case 4: { StopAudioStreamForPlayer(playerid); PlayAudioStreamForPlayer(playerid, \"http://paradisedrift.do.am/Paradise/kecske.mp3\"); } case 5: { StopAudioStreamForPlayer(playerid); PlayAudioStreamForPlayer(playerid, \"http://paradisedrift.do.am/Paradise/dirt.mp3\");// South Central - Demons } case 6: { StopAudioStreamForPlayer(playerid); PlayAudioStreamForPlayer(playerid, \"http://paradisedrift.do.am/Paradise/snoop.mp3\");//Dr. Dre - Still D.R.E. ft. Snoop Dogg } case 7: { StopAudioStreamForPlayer(playerid); } } } } } return 0;}