30.12.2011, 17:32
No, i actually using this:
Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) { if(dialogid == DIALOG_ERFOLGE && response) { if(listitem == 0) { new textd[35],str2[10]; if(PlayerLanguage[playerid] == 0) { format(str2,sizeof(str2),"%s",Achievements[listitem][Title]); format(textd,sizeof(textd),"%s",Achievements[listitem][Named]); ShowPlayerDialog(playerid,DIALOG_ERFOLGE2,DIALOG_STYLE_MSGBOX,str2,textd,"Ok",""); } else { format(textd,sizeof(textd),"%s",Achievements[listitem][NameE]); format(str2,sizeof(str2),"%s",Achievements[listitem][Title]); ShowPlayerDialog(playerid,DIALOG_ERFOLGE2,DIALOG_STYLE_MSGBOX,str2,textd,"Ok",""); } } return 1; } return 0; } #if defined _ALS_OnDialogResponse #undef OnDialogResponse #else #define _ALS_OnDialogResponse #endif #define OnDialogResponse achievements_OnDialogResponse forward achievements_OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]);