18.06.2018, 10:20
Код:
new kitkerle[MAX_PLAYERS] if(dialogid == DIALOG_MDC3) { new string[256]; if(listitem == 0) { ShowPlayerDialog(playerid, DIALOG_MDC4, DIALOG_STYLE_INPUT, "MDC", "Нrd be a jбtйkos idjйt!", "Rendben", "Mйgsem"); new targetid = strval(inputtext); kitkerle[playerid] = targetid; } } }
Код:
if(dialogid == DIALOG_MDC4) { new target = kitkerle[playerid]; new Frakcio[100], Rang[100], Munka[100], Nem[30], S[800]; new string[1024]; new statusz[10]; new registration[1024]; if(IsPlayerConnected(target)) if(pInfo[target][pKorozesAlatt] == 1) { statusz = "Igen"; } else { statusz = "Nem"; } if(pInfo[target][pFrakcio] == RENDOR) { format(Frakcio, sizeof(Frakcio), "BCSD"); if(pInfo[target][pNrang] == 1) { format(Rang, sizeof(Rang), "Deputy Sheriff I"); } else if(pInfo[target][pNrang]== 2) { format(Rang, sizeof(Rang), "Deputy Sheriff II"); } else if(pInfo[target][pNrang]== 3) { format(Rang, sizeof(Rang), "Deputy Sheriff III"); } else if(pInfo[target][pNrang]== 4) { format(Rang, sizeof(Rang), "Master Deputy"); } else if(pInfo[target][pNrang]== 5) { format(Rang, sizeof(Rang), "Sergeant"); } else if(pInfo[target][pNrang]== 6) { format(Rang, sizeof(Rang), "Staff Sergeant"); } else if(pInfo[target][pNrang]== 7) { format(Rang, sizeof(Rang), "Lieutenant"); } else if(pInfo[target][pNrang]== 8) { format(Rang, sizeof(Rang), "Captain"); } else if(pInfo[target][pNrang]== 9) { format(Rang, sizeof(Rang), "Commander"); } else if(pInfo[target][pNrang]== 10) { format(Rang, sizeof(Rang), "Assistant Sheriff"); } else if(pInfo[target][pNrang]== 11) { format(Rang, sizeof(Rang), "Undersheriff"); } else if(pInfo[target][pNrang]== 12) { format(Rang, sizeof(Rang), "Sheriff"); } } else if(pInfo[target][pFrakcio] == RFONOK) { format(Frakcio, sizeof(Frakcio), "BCSD"); if(pInfo[target][pNrang] == 1) { format(Rang, sizeof(Rang), "Deputy Sheriff I"); } else if(pInfo[target][pNrang]== 2) { format(Rang, sizeof(Rang), "Deputy Sheriff II"); } else if(pInfo[target][pNrang]== 3) { format(Rang, sizeof(Rang), "Deputy Sheriff III"); } else if(pInfo[target][pNrang]== 4) { format(Rang, sizeof(Rang), "Master Deputy"); } else if(pInfo[target][pNrang]== 5) { format(Rang, sizeof(Rang), "Sergeant"); } else if(pInfo[target][pNrang]== 6) { format(Rang, sizeof(Rang), "Staff Sergeant"); } else if(pInfo[target][pNrang]== 7) { format(Rang, sizeof(Rang), "Lieutenant"); } else if(pInfo[target][pNrang]== 8) { format(Rang, sizeof(Rang), "Captain"); } else if(pInfo[target][pNrang]== 9) { format(Rang, sizeof(Rang), "Commander"); } else if(pInfo[target][pNrang]== 10) { format(Rang, sizeof(Rang), "Assistant Sheriff"); } else if(pInfo[target][pNrang]== 11) { format(Rang, sizeof(Rang), "Undersheriff"); } else if(pInfo[target][pNrang]== 12) { format(Rang, sizeof(Rang), "Sheriff"); } } else if(pInfo[target][pFrakcio] == FBITAG) { format(Frakcio, sizeof(Frakcio), "FBI Tag"); if(pInfo[target][pNrang] == 1) { format(Rang, sizeof(Rang), "Probationary Agent"); } else if(pInfo[target][pNrang]== 2) { format(Rang, sizeof(Rang), "Field Agent"); } else if(pInfo[target][pNrang]== 3) { format(Rang, sizeof(Rang), "Special Agent"); } else if(pInfo[target][pNrang]== 4) { format(Rang, sizeof(Rang), "Detective"); } else if(pInfo[target][pNrang]== 5) { format(Rang, sizeof(Rang), "Division Chief"); } else if(pInfo[target][pNrang]== 6) { format(Rang, sizeof(Rang), "Assistant of Director"); } else if(pInfo[target][pNrang]== 7) { format(Rang, sizeof(Rang), "Deputy Director"); } else if(pInfo[target][pNrang]>= 8) { format(Rang, sizeof(Rang), "Director"); } } else if(pInfo[target][pFrakcio] == FBIFONOK) { format(Frakcio, sizeof(Frakcio), "FBI"); if(pInfo[target][pNrang] == 1) { format(Rang, sizeof(Rang), "Probationary Agent"); } else if(pInfo[target][pNrang]== 2) { format(Rang, sizeof(Rang), "Field Agent"); } else if(pInfo[target][pNrang]== 3) { format(Rang, sizeof(Rang), "Special Agent"); } else if(pInfo[target][pNrang]== 4) { format(Rang, sizeof(Rang), "Detective"); } else if(pInfo[target][pNrang]== 5) { format(Rang, sizeof(Rang), "Division Chief"); } else if(pInfo[target][pNrang]== 6) { format(Rang, sizeof(Rang), "Assistant of Director"); } else if(pInfo[target][pNrang]== 7) { format(Rang, sizeof(Rang), "Deputy Director"); } else if(pInfo[target][pNrang]>= 8) { format(Rang, sizeof(Rang), "Director"); } } else if(pInfo[target][pFrakcio] == MENTOS) { format(Frakcio, sizeof(Frakcio), "Orvos"); if(pInfo[target][pNrang] == 1) { format(Rang, sizeof(Rang), "Medikus"); } else if(pInfo[target][pNrang]== 2) { format(Rang, sizeof(Rang), "Бpolу"); } else if(pInfo[target][pNrang]== 3) { format(Rang, sizeof(Rang), "Mentőtiszt"); } else if(pInfo[target][pNrang]== 4) { format(Rang, sizeof(Rang), "Reztargetens"); } else if(pInfo[target][pNrang]== 5) { format(Rang, sizeof(Rang), "Orvos"); } else if(pInfo[target][pNrang]== 6) { format(Rang, sizeof(Rang), "Főorvos"); } else if(pInfo[target][pNrang]== 7) { format(Rang, sizeof(Rang), "Osztбlyvezető főorvos"); } else if(pInfo[target][pNrang]== 8) { format(Rang, sizeof(Rang), "Professzor"); } else if(pInfo[target][pNrang]>= 9) { format(Rang, sizeof(Rang), "Ph.D.,Professor Emeritus"); } } else if(pInfo[target][pFrakcio] == MFONOK) { format(Frakcio, sizeof(Frakcio), "Kуrhбz"); if(pInfo[target][pNrang] == 1) { format(Rang, sizeof(Rang), "Medikus"); } else if(pInfo[target][pNrang]== 2) { format(Rang, sizeof(Rang), "Бpolу"); } else if(pInfo[target][pNrang]== 3) { format(Rang, sizeof(Rang), "Mentőtiszt"); } else if(pInfo[target][pNrang]== 4) { format(Rang, sizeof(Rang), "Reztargetens"); } else if(pInfo[target][pNrang]== 5) { format(Rang, sizeof(Rang), "Orvos"); } else if(pInfo[target][pNrang]== 6) { format(Rang, sizeof(Rang), "Főorvos"); } else if(pInfo[target][pNrang]== 7) { format(Rang, sizeof(Rang), "Osztбlyvezető főorvos"); } else if(pInfo[target][pNrang]== 8) { format(Rang, sizeof(Rang), "Professzor"); } else if(pInfo[target][pNrang]>= 9) { format(Rang, sizeof(Rang), "Ph.D.,Professor Emeritus"); } } else if(pInfo[target][pFrakcio] == SZERELO) { format(Frakcio, sizeof(Frakcio), "Szerelő"); if(pInfo[target][pNrang] == 1) { format(Rang, sizeof(Rang), "Autуmentő"); } else if(pInfo[target][pNrang]== 2) { format(Rang, sizeof(Rang), "Karosszйria lakatos"); } else if(pInfo[target][pNrang]== 3) { format(Rang, sizeof(Rang), "Autуszerelő"); } else if(pInfo[target][pNrang]== 4) { format(Rang, sizeof(Rang), "Autуvillamossбgi műszerйsz"); } else if(pInfo[target][pNrang]== 5) { format(Rang, sizeof(Rang), "Műhelyfőnцk"); } else if(pInfo[target][pNrang]>= 6) { format(Rang, sizeof(Rang), "Cйgvezető"); } } else if(pInfo[target][pFrakcio] == SZFONOK) { format(Frakcio, sizeof(Frakcio), "Szerelő"); if(pInfo[target][pNrang] == 1) { format(Rang, sizeof(Rang), "Autуmentő"); } else if(pInfo[target][pNrang]== 2) { format(Rang, sizeof(Rang), "Karosszйria lakatos"); } else if(pInfo[target][pNrang]== 3) { format(Rang, sizeof(Rang), "Autуszerelő"); } else if(pInfo[target][pNrang]== 4) { format(Rang, sizeof(Rang), "Autуvillamossбgi műszerйsz"); } else if(pInfo[target][pNrang]== 5) { format(Rang, sizeof(Rang), "Műhelyfőnцk"); } else if(pInfo[target][pNrang]>= 6) { format(Rang, sizeof(Rang), "Cйgvezető"); } } else if(pInfo[target][pFrakcio] == RADIOS) { format(Frakcio, sizeof(Frakcio), "Rбdiуs"); if(pInfo[target][pNrang] == 1) { format(Rang, sizeof(Rang), "Riporter"); } else if(pInfo[target][pNrang]== 2) { format(Rang, sizeof(Rang), "Műsorvezető"); } else if(pInfo[target][pNrang]== 3) { format(Rang, sizeof(Rang), "Szerkesztő"); } else if(pInfo[target][pNrang]== 4) { format(Rang, sizeof(Rang), "Főszerkesztő"); } else if(pInfo[target][pNrang]== 5) { format(Rang, sizeof(Rang), "Programigazgatу"); } else if(pInfo[target][pNrang]>= 6) { format(Rang, sizeof(Rang), "Vezйrigazgatу"); } } else if(pInfo[target][pFrakcio] == RAFONOK) { format(Frakcio, sizeof(Frakcio), "Rбdiуs"); if(pInfo[target][pNrang] == 1) { format(Rang, sizeof(Rang), "Riporter"); } else if(pInfo[target][pNrang]== 2) { format(Rang, sizeof(Rang), "Műsorvezető"); } else if(pInfo[target][pNrang]== 3) { format(Rang, sizeof(Rang), "Szerkesztő"); } else if(pInfo[target][pNrang]== 4) { format(Rang, sizeof(Rang), "Főszerkesztő"); } else if(pInfo[target][pNrang]== 5) { format(Rang, sizeof(Rang), "Programigazgatу"); } else if(pInfo[target][pNrang]>= 6) { format(Rang, sizeof(Rang), "Vezйrigazgatу"); } } else if(pInfo[target][pFrakcio] == ADOFONOK) { format(Frakcio, sizeof(Frakcio), "Adу Йs Vбmhivatal Főnцk"); } else if(pInfo[target][pFrakcio] == ADOTAG) { format(Frakcio, sizeof(Frakcio), "Adу Йs Vбmhivatal"); } else if(pInfo[target][pFrakcio] == TUZOLTOFONOK) { format(Frakcio, sizeof(Frakcio), "Tűzoltу"); if(pInfo[target][pNrang] == 1) { format(Rang, sizeof(Rang), "Őrmester"); } else if(pInfo[target][pNrang]== 2) { format(Rang, sizeof(Rang), "Tцrzsőrmester"); } else if(pInfo[target][pNrang]== 3) { format(Rang, sizeof(Rang), "Főtцrzsőrmester"); } else if(pInfo[target][pNrang]== 4) { format(Rang, sizeof(Rang), "Zбszlуs"); } else if(pInfo[target][pNrang]== 5) { format(Rang, sizeof(Rang), "Tцrzszбszlуs"); } else if(pInfo[target][pNrang]== 6) { format(Rang, sizeof(Rang), "Főtцrzszбszlуs"); } else if(pInfo[target][pNrang]== 7) { format(Rang, sizeof(Rang), "Hadnagy"); } else if(pInfo[target][pNrang]== 8) { format(Rang, sizeof(Rang), "Főhadnagy"); } else if(pInfo[target][pNrang]== 9) { format(Rang, sizeof(Rang), "Szбzados"); } else if(pInfo[target][pNrang]== 10) { format(Rang, sizeof(Rang), "Őrnagy"); } else if(pInfo[target][pNrang]== 11) { format(Rang, sizeof(Rang), "Alezredes"); } else if(pInfo[target][pNrang]== 12) { format(Rang, sizeof(Rang), "Ezredes"); } else if(pInfo[target][pNrang]== 13) { format(Rang, sizeof(Rang), "Dandбrtбbornok"); } } else if(pInfo[target][pFrakcio] == TUZOLTO) { format(Frakcio, sizeof(Frakcio), "Tűzoltу"); if(pInfo[target][pNrang] == 1) { format(Rang, sizeof(Rang), "Őrmester"); } else if(pInfo[target][pNrang]== 2) { format(Rang, sizeof(Rang), "Tцrzsőrmester"); } else if(pInfo[target][pNrang]== 3) { format(Rang, sizeof(Rang), "Főtцrzsőrmester"); } else if(pInfo[target][pNrang]== 4) { format(Rang, sizeof(Rang), "Zбszlуs"); } else if(pInfo[target][pNrang]== 5) { format(Rang, sizeof(Rang), "Tцrzszбszlуs"); } else if(pInfo[target][pNrang]== 6) { format(Rang, sizeof(Rang), "Főtцrzszбszlуs"); } else if(pInfo[target][pNrang]== 7) { format(Rang, sizeof(Rang), "Hadnagy"); } else if(pInfo[target][pNrang]== 8) { format(Rang, sizeof(Rang), "Főhadnagy"); } else if(pInfo[target][pNrang]== 9) { format(Rang, sizeof(Rang), "Szбzados"); } else if(pInfo[target][pNrang]== 10) { format(Rang, sizeof(Rang), "Őrnagy"); } else if(pInfo[target][pNrang]== 11) { format(Rang, sizeof(Rang), "Alezredes"); } else if(pInfo[target][pNrang]== 12) { format(Rang, sizeof(Rang), "Ezredes"); } else if(pInfo[target][pNrang]== 13) { format(Rang, sizeof(Rang), "Dandбrtбbornok"); } } else if(pInfo[target][pFrakcio] == KFONOK) { format(Frakcio, sizeof(Frakcio), "Katona"); if(pInfo[target][pNrang] == 1) { format(Rang, sizeof(Rang), "Őrmester"); } else if(pInfo[target][pNrang]== 2) { format(Rang, sizeof(Rang), "Tцrzsőrmester"); } else if(pInfo[target][pNrang]== 3) { format(Rang, sizeof(Rang), "Főtцrzsőrmester"); } else if(pInfo[target][pNrang]== 4) { format(Rang, sizeof(Rang), "Zбszlуs"); } else if(pInfo[target][pNrang]== 5) { format(Rang, sizeof(Rang), "Tцrzszбszlуs"); } else if(pInfo[target][pNrang]== 6) { format(Rang, sizeof(Rang), "Főtцrzszбszlуs"); } else if(pInfo[target][pNrang]== 7) { format(Rang, sizeof(Rang), "Hadnagy"); } else if(pInfo[target][pNrang]== 8) { format(Rang, sizeof(Rang), "Főhadnagy"); } else if(pInfo[target][pNrang]== 9) { format(Rang, sizeof(Rang), "Szбzados"); } else if(pInfo[target][pNrang]== 10) { format(Rang, sizeof(Rang), "Őrnagy"); } else if(pInfo[target][pNrang]== 11) { format(Rang, sizeof(Rang), "Alezredes"); } else if(pInfo[target][pNrang]== 12) { format(Rang, sizeof(Rang), "Ezredes"); } else if(pInfo[target][pNrang]== 13) { format(Rang, sizeof(Rang), "Dandбrtбbornok"); } else if(pInfo[target][pNrang]== 14) { format(Rang, sizeof(Rang), "Vezйrőrnagy"); } else if(pInfo[target][pNrang]== 15) { format(Rang, sizeof(Rang), "Altбbornagy"); } else if(pInfo[target][pNrang]== 16) { format(Rang, sizeof(Rang), "Vezйrezredes"); } } else if(pInfo[target][pFrakcio] == KATONA) { format(Frakcio, sizeof(Frakcio), "Katona"); if(pInfo[target][pNrang] == 1) { format(Rang, sizeof(Rang), "Őrmester"); } else if(pInfo[target][pNrang]== 2) { format(Rang, sizeof(Rang), "Tцrzsőrmester"); } else if(pInfo[target][pNrang]== 3) { format(Rang, sizeof(Rang), "Főtцrzsőrmester"); } else if(pInfo[target][pNrang]== 4) { format(Rang, sizeof(Rang), "Zбszlуs"); } else if(pInfo[target][pNrang]== 5) { format(Rang, sizeof(Rang), "Tцrzszбszlуs"); } else if(pInfo[target][pNrang]== 6) { format(Rang, sizeof(Rang), "Főtцrzszбszlуs"); } else if(pInfo[target][pNrang]== 7) { format(Rang, sizeof(Rang), "Hadnagy"); } else if(pInfo[target][pNrang]== 8) { format(Rang, sizeof(Rang), "Főhadnagy"); } else if(pInfo[target][pNrang]== 9) { format(Rang, sizeof(Rang), "Szбzados"); } else if(pInfo[target][pNrang]== 10) { format(Rang, sizeof(Rang), "Őrnagy"); } else if(pInfo[target][pNrang]== 11) { format(Rang, sizeof(Rang), "Alezredes"); } else if(pInfo[target][pNrang]== 12) { format(Rang, sizeof(Rang), "Ezredes"); } else if(pInfo[target][pNrang]== 13) { format(Rang, sizeof(Rang), "Dandбrtбbornok"); } else if(pInfo[target][pNrang]== 14) { format(Rang, sizeof(Rang), "Vezйrőrnagy"); } else if(pInfo[target][pNrang]== 15) { format(Rang, sizeof(Rang), "Altбbornagy"); } else if(pInfo[target][pNrang]== 16) { format(Rang, sizeof(Rang), "Vezйrezredes"); } } else if(pInfo[target][pFrakcio] == TAXI) { format(Frakcio, sizeof(Frakcio), "Taxis"); } else if(pInfo[target][pFrakcio] == TAXIFONOK) { format(Frakcio, sizeof(Frakcio), "Taxisfőnцk"); } else if(pInfo[target][pFrakcio] == 0) { format(Frakcio, sizeof(Frakcio), "Nincs"); } if(pInfo[target][pMunka] == UTNYALO) { format(Munka, sizeof(Munka), "Ъttisztнtу"); } else if(pInfo[target][pMunka] == TARGONCAS) { format(Munka, sizeof(Munka), "Targonca Vezető"); } else if(pInfo[target][pMunka] == HALASZ) { format(Munka, sizeof(Munka), "Halбsz"); } else if(pInfo[target][pMunka] == BUSZSOFOR) { format(Munka, sizeof(Munka), "Busz Vezető"); } else if(pInfo[target][pMunka] == KUKAS) { format(Munka, sizeof(Munka), "Szemйtszбllнtу"); } else if(pInfo[target][pMunka] == BETONOS) { format(Munka, sizeof(Munka), "Beton Szбllнtу"); } else if(pInfo[target][pMunka] == PIZZAS) { format(Munka, sizeof(Munka), "Pizzбs"); } else if(pInfo[target][pMunka] == POSTAS) { format(Munka, sizeof(Munka), "Postбs"); } else if(pInfo[target][pMunka] == RSZALLITO) { format(Munka, sizeof(Munka), "Ruhaszбllнtу"); } else if(pInfo[target][pMunka] == TSZALLITO) { format(Munka, sizeof(Munka), "Tejszбllнtу"); } else if(pInfo[target][pMunka] == TEHENESZ) { format(Munka, sizeof(Munka), "Termйsszedő"); } else if(pInfo[target][pMunka] == UGYVED) { format(Munka, sizeof(Munka), "Ьgyvйd"); } else if(pInfo[target][pMunka] == VSZERELO) { format(Munka, sizeof(Munka), "Villanyszerelő"); } else if(pInfo[target][pMunka] == FSZALLITO) { format(Munka, sizeof(Munka), "Fa szбllнtу"); } else if(pInfo[target][pMunka] == 0) { format(Munka, sizeof(Munka), "Nincs"); } /*if(pInfo[target][pAdmin] == 1) { format(Admin, sizeof(Admin), "Admin 1"); } else if(pInfo[target][pAdmin] == 2) { format(Admin, sizeof(Admin), "Admin 2"); } else if(pInfo[target][pAdmin] == 3) { format(Admin, sizeof(Admin), "Admin 3"); } else if(pInfo[target][pAdmin] == 4) { format(Admin, sizeof(Admin), "Admin 4"); } else if(pInfo[target][pAdmin] == 5) { format(Admin, sizeof(Admin), "Admin 5"); } else if(pInfo[target][pAdmin] == 6) { format(Admin, sizeof(Admin), "Főadmin"); } else if(pInfo[target][pAdmin] == 7) { format(Admin, sizeof(Admin), "AdminController"); } else if(pInfo[target][pAdmin] == 8) { format(Admin, sizeof(Admin), "Tulajdonos"); } else if(pInfo[target][pAdmin] == 9) { format(Admin, sizeof(Admin), "Fejlesztő"); } else if(pInfo[target][pAs] == 1) { format(Admin, sizeof(Admin), "targeteiglenes Adminsegйd"); } else if(pInfo[target][pOrokAs] == 1) { format(Admin, sizeof(Admin), "Adminsegйd"); } else if(pInfo[target][pAdmin] == 0) { format(Admin, sizeof(Admin), "Nincs"); } else if(pInfo[target][pVIP2] == 4) { format(VIP, sizeof(VIP), "Elismert VIP"); } else if(pInfo[target][pVIP2] == 5) { format(VIP, sizeof(VIP), "Tбmogatу VIP"); }*/ if(pInfo[target][pNem] == FERFI) { format(Nem, sizeof(Nem), "Fйrfi"); } else if(pInfo[target][pNem] == NO) { format(Nem, sizeof(Nem), "Nő"); } //SendClientMessage(playertarget, KEK, "|_____Kцzponti adatbбzis_____|"); //format(S, sizeof(S), "Nйv: %s | Kor: %d | Nem: %s", Nev(target), pInfo[target][pKor], Nem), SendClientMessage(playertarget,KEK,S); //format(S, sizeof(S), "(( Admin: %s | VIP: %s | RP Pontok: %d | Prйmium pontok: %d | Megvбlaszolt kйrdйsek: %d ))", Admin, pInfo[target][pVIP], pInfo[target][pRPPont], pInfo[target][pPremium], pInfo[target][pValaszok]), SendClientMessage(playertarget,KEK,S); //format(S, sizeof(S), "Munka: %s", Munka), //SendClientMessage(playertarget,KEK,S); /* if(pInfo[target][pFrakcio] > 0) { format(S, sizeof(S), "Frakciу: %s | Rang: %s", Frakcio, Rang), //SendClientMessage(playertarget,KEK,S); }*/ /*if(pInfo[target][pSzerv] > 0) { format(S, sizeof(S), "(( Szervezet: %s | Rang: %s ))", Szervezet, pInfo[target][pBRang]), SendClientMessage(playertarget,KEK,S); }*/ //format(S, sizeof(S), "Telefonszбm: %d",pInfo[target][pNumber]), //SendClientMessage(playertarget,KEK,S); // if(pInfo[target][pBankSzamla] > 0) format(S, sizeof(S), "Bankszбmla: %d | Pinkуd: %d | Bank: %d $", pInfo[target][pBankSzamla], pInfo[target][pBankPin], pInfo[target][pBankMoney]), //SendClientMessage(playertarget,KEK,S); //SendClientMessage(playertarget, KEK, "Tulajdonok:"); //format(szoveg1, sizeof(szoveg1), "Kцrцzйs alatt: %s",statusz); //format(szoveg2, sizeof(szoveg2), "Kцrцzйst kiadta: %s | Vбd: %s", pInfo[target][pKorozestKiadta], pInfo[target][pKorozesIndok]); //SendClientMessage(playertarget, KEK, szoveg1); //SendClientMessage(playertarget, KEK, szoveg2); if(pInfo[target][pKorozesAlatt] == 1) { format(string, sizeof(string), "Nйv: %s \n \n{4286f4}Jбtйkos adatai{FFFFFF}\n \nKor: %d \n\nNem: %s \n\nFrakciу: %s \n\nRang: %s \n\nTelefonszбm: %d \n\nBankszбmlaszбm: %d \n\nBank: %d$ \n\nKцrцzйs alatt: %s\nKцrцzйs kiadta: %s\n\nKцrцzйs indoka: %s\n ", Nev(target), pInfo[target][pKor], Nem, Frakcio, Rang, pInfo[target][pNumber], pInfo[target][pBankSzamla], pInfo[target][pBankMoney], statusz, pInfo[target][pKorozestKiadta], pInfo[target][pKorozesIndok]); strcat(registration, string); ShowPlayerDialog(playerid, DIALOG_MDC1, DIALOG_STYLE_LIST,"{4286f4}MDC{FFFFFF}",registration,"Rendben","Mйgsem"); } else { format(string, sizeof(string), "Nйv: %s \n \n{4286f4}Jбtйkos adatai{FFFFFF}\n \nKor: %d \n\nNem: %s \n\nFrakciу: %s \n\nRang: %s \n\nTelefonszбm: %d \n\nBankszбmlaszбm: %d \n\nBank: %d$ \n\nKцrцzйs alatt: %s\n ", Nev(target), pInfo[target][pKor], Nem, Frakcio, Rang, pInfo[target][pNumber], pInfo[target][pBankSzamla], pInfo[target][pBankMoney], statusz); strcat(registration, string); ShowPlayerDialog(playerid, DIALOG_MDC2, DIALOG_STYLE_LIST,"{4286f4}MDC{FFFFFF}",registration,"Rendben","Mйgsem"); } { //ShowPlayerDialog(playerid, DIALOG_MDC5, DIALOG_STYLE_LIST, "MDC", "asd", "Rendben", "Mйgsem"); } }