#include <a_samp>#define DIALOG_2 (2) if(dialogid == DIALOG_2){if(response == 1){SendClientMessage(playerid,0x0900ffAA,\"ASDA\");}ShowPlayerDialog(playerid, DIALOG_2, DIALOG_STYLE_LIST, \"asd\",\"Rendben\",\"Mégse\"); public OnPlayerCommandText(playerid, cmdtext[]){if (strcmp(\"/clan\", cmdtext, true, 10) == 0){ ShowPlayerDialog(playerid, DIALOG_2, DIALOG_STYLE_LIST, \"asd\",\"Rendben\",\"Mégse\");return 1;}
#include <a_samp>#define DIALOG_2 (2)public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]){if(dialogid == DIALOG_2){if(response == 1){ switch(listitem) { case 0: SendClientMessage(playerid,-1,\"Kiválasztottad a Valami1-et!\"); case 1: SendClientMessage(playerid,-1,\"Kiválasztottad a Valami2-et!\"); case 2: SendClientMessage(playerid,-1,\"Kiválasztottad a Valami3-et!\"); }}}return 1;} public OnPlayerCommandText(playerid, cmdtext[]){if (strcmp(\"/clan\", cmdtext, true, 10) == 0){ ShowPlayerDialog(playerid, DIALOG_2, DIALOG_STYLE_LIST, \"asd\",\"Valami 1\\nValami2\\nValami3\",\"Rendben\",\"Mégse\"); return 1; } return 1;}
Ebben Minden hiba. #include <a_samp>#define DIALOG_2 (2)public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]){if(dialogid == DIALOG_2){if(response == 1){ switch(listitem) { case 0: SendClientMessage(playerid,-1,\"Kiválasztottad a Valami1-et!\"); case 1: SendClientMessage(playerid,-1,\"Kiválasztottad a Valami2-et!\"); case 2: SendClientMessage(playerid,-1,\"Kiválasztottad a Valami3-et!\"); }}}return 1;} public OnPlayerCommandText(playerid, cmdtext[]){if (strcmp(\"/clan\", cmdtext, true, 10) == 0){ ShowPlayerDialog(playerid, DIALOG_2, DIALOG_STYLE_LIST, \"asd\",\"Valami 1\\nValami2\\nValami3\",\"Rendben\",\"Mégse\"); return 1; } return 1;}
#include <a_samp>#define DIALOG_2 (2)public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]){ if(dialogid == DIALOG_2) { if(response == 1) { switch(listitem) { case 0: SendClientMessage(playerid,-1,\"Kiválasztottad a Valami1-et!\"); case 1: SendClientMessage(playerid,-1,\"Kiválasztottad a Valami2-et!\"); case 2: SendClientMessage(playerid,-1,\"Kiválasztottad a Valami3-et!\"); } } } return 1;} public OnPlayerCommandText(playerid, cmdtext[]){ if (strcmp(\"/clan\", cmdtext, true, 10) == 0) { ShowPlayerDialog(playerid, DIALOG_2, DIALOG_STYLE_LIST, \"asd\",\"Valami 1\\nValami2\\nValami3\",\"Rendben\",\"Mégse\"); return 1; } return 0;}