30.03.2017, 17:33
Quote:
Either remove the last format or change the output string for coordstring and concatenate it to string2
|
PHP код:
new coordsstring[1024];
new string2[1024];
format(coordsstring, sizeof(coordsstring), "Szint: [%d] - Nem: [%s] - Kor: [%d] - Kйszpйnz: [%d$] - Bankszбmla egyenleg: [%d$] - Йleterő: [%0.1f] - Golyубllу mellйny[%0.1f]\n", PlayerInfo[playerb][pLevel], gender, PlayerInfo[playerb][pAge], PlayerInfo[playerb][pMoney], PlayerInfo[playerb][pBank], H, A);
strcat(string2,coordsstring);
format(coordsstring, sizeof(coordsstring), "\nTelefonszбm: [%d] - Jбtszott уrбk: [%d] - Kцvetkező szint: [%d/%d] - Kцvetkező szint бra: [%d$] - Tapasztalat pontok [%d]\n", PlayerInfo[playerb][pNumber], PlayerInfo[playerb][pHours], exp, expamount, costlevel, PlayerInfo[playerb][pExp]);
strcat(string2,coordsstring);
format(coordsstring, sizeof(coordsstring), "\nFoglalkozбs: [%s] - Kцrцzйsi szint: [%d] - Elkцvetett bűncselekmйny: [%d] - Letartуztatva: [%dx] - Gyilkossбg: [%d] - Halбl: [%d]\n", RPJN(playerb), PlayerInfo[playerb][pWanted], PlayerInfo[playerb][pCrimes], PlayerInfo[playerb][pArrested], PlayerInfo[playerb][pKill], PlayerInfo[playerb][pDeath]);
strcat(string2,coordsstring);
format(coordsstring, sizeof(coordsstring), "\nFrakciу: [%s] - Frakciу rang: [%s] - Banda: [%s] - Banda rang: [%s]\n", org, rank, org2, rank2);
strcat(string2,coordsstring);
format(coordsstring, sizeof(coordsstring), "\nЬzlet: [%s] - Hбz: [%s] - Garбzs: [%s]\n", RBT(PlayerInfo[playerb][pBiz]), RPHK(playerb), RPGK(playerb), RVN(GetVehicleModel(PlayerInfo[playerb][pVeh])), PlayerInfo[playerb][pVeh], RVN(GetVehicleModel(PlayerInfo[playerb][pVVeh])), PlayerInfo[playerb][pVVeh], RVN(GetVehicleModel(PlayerInfo[playerb][pVVVeh])), PlayerInfo[playerb][pVVVeh], RVN(GetVehicleModel(PlayerInfo[playerb][pVVVVeh])), PlayerInfo[playerb][pVVVVeh]);
strcat(string2,coordsstring);
format(coordsstring, sizeof(coordsstring), "\nJбrművek: 1=%s - 2=%s - 3=%s - 4=%s", RVN(PlayerInfo[playerb][vModel]), RVN(PlayerInfo[playerid][vVModel]), RVN(PlayerInfo[playerb][vVVModel]), RVN(PlayerInfo[playerb][vVVVModel]));
ShowPlayerDialog(playerid,DIALOG_STATS,DIALOG_STYLE_MSGBOX, "Adataid", coordsstring,"Bezбrбs","");