/stats command in dialog
#8

Quote:
Originally Posted by Troydere
Посмотреть сообщение
Either remove the last format or change the output string for coordstring and concatenate it to string2
I did something what you said, but I don't know what did you mean exactly..
PHP код:
new coordsstring[1024];
    new 
string2[1024];
    
format(coordsstringsizeof(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], genderPlayerInfo[playerb][pAge], PlayerInfo[playerb][pMoney], PlayerInfo[playerb][pBank], HA);
    
strcat(string2,coordsstring);
    
format(coordsstringsizeof(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], expexpamountcostlevelPlayerInfo[playerb][pExp]);
    
strcat(string2,coordsstring);
    
format(coordsstringsizeof(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(coordsstringsizeof(coordsstring), "\nFrakciу: [%s] - Frakciу rang: [%s] - Banda: [%s] - Banda rang: [%s]\n"orgrankorg2rank2);
    
strcat(string2,coordsstring);
    
format(coordsstringsizeof(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(coordsstringsizeof(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",""); 
Reply


Messages In This Thread
/stats command in dialog - by TheAdii15 - 30.03.2017, 17:10
Re: /stats command in dialog - by Toroi - 30.03.2017, 17:13
Re: /stats command in dialog - by TheAdii15 - 30.03.2017, 17:16
Re: /stats command in dialog - by Toroi - 30.03.2017, 17:19
Re: /stats command in dialog - by iMaxy - 30.03.2017, 17:19
Re: /stats command in dialog - by Toroi - 30.03.2017, 17:26
Re: /stats command in dialog - by TheAdii15 - 30.03.2017, 17:31
Re: /stats command in dialog - by TheAdii15 - 30.03.2017, 17:33
Re: /stats command in dialog - by Toroi - 30.03.2017, 17:56
Re: /stats command in dialog - by TheAdii15 - 30.03.2017, 18:35

Forum Jump:


Users browsing this thread: 4 Guest(s)