30.03.2017, 17:10
Hi!
I use the zGaming gamemode, and I can't make the /stats command show in dialog, it only show one line, and I don't know why...Please help me guys..
That's all, what is the problem?
I use the zGaming gamemode, and I can't make the /stats command show in dialog, it only show one line, and I don't know why...Please help me guys..
Код:
new coordsstring[256]; new string2[200]; 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), "Telefonszб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), "Foglalkozб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), "Frakciу: [%s] - Frakciу rang: [%s] - Banda: [%s] - Banda rang: [%s]\n", org, rank, org2, rank2); strcat(string2,coordsstring); format(coordsstring, sizeof(coordsstring), "Ь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(string2, sizeof(string2), "Jб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", string2,"Bezбrбs","");