05.04.2012, 17:08
Hello, i was putting the stats in dialog but something wrong i tryed and string 2048 with coordstring 524 but nothing so i dont know why not showing the full stats only some.
This is the code:
This is the code:
pawn Code:
new string[1024];
new coordsstring1[256];
new coordsstring2[256];
new coordsstring3[256];
new coordsstring4[256];
format(coordsstring1, sizeof(coordsstring1),"\n{FFD200}- Igrac:{00B9FF}[%s]\n{FFD200}- Level:{00B9FF}[%d]\n-{FFD200} Spol:{00B9FF}[%s]\n-{FFD200} God:[%d]\n-{FFD200} Drzava:{00B9FF}[%s]\n-{FFD200} Novac:{00B9FF}[%d$]\n-{FFD200} Bank:{00B9FF}[%d$]\n-{FFD200} Karticka:{00B9FF}[%d$]\n-{FFD200} PinKod:{FAFAFA}[%d]\n-{FFD200} Broj:{00B9FF}[%d]", name,level,atext,age,otext,cash,account,bankomat,pinkod,pnumber);
format(coordsstring2, sizeof(coordsstring2),"\n{FAFAFA}- Posao:{00B9FF}[%s]\n-{FAFAFA} Organizacija:{00B9FF}[%s]\n-{FAFAFA} Rank:{00B9FF}[%s]\n-{FAFAFA} Tim:{00B9FF}[%s]",jtext,ftext,rtext,ttext);
format(coordsstring3, sizeof(coordsstring3),"\n{FFD200}- IgraSati:{00B9FF}[%d]\n-{FFD200} Respekti:{00B9FF}[%d/%d]\n-{FFD200} PayDay Poeni:{00B9FF}[%d/6]\n-{FFD200} Ubistva:{00B9FF}[%d]\n-{FFD200} Smrti:{00B9FF}[%d]\n-{FFD200} Wanted:{00B9FF}[%d]\n-{FFD200} Droga:{00B9FF}[%d]\n-{FFD200} Materijali:{00B9FF}[%d]\n-{FFD200} Upozorenja:{00B9FF}[%d/5]", ptime,exp,expamount,poeni,kills,deaths,wanted,drugs,mats,warns);
format(coordsstring4, sizeof(coordsstring4),"\n{FAFAFA}- Imovina: {00B9FF}[%d]\n{FAFAFA}- Kuca:{00B9FF}[%d]\n-{FAFAFA} Firma:{00B9FF}[%d]\n-{FAFAFA} Local:{00B9FF}[%d]\n-{FAFAFA} Donator:{00B9FF}[%s]",housekey,bizkey,local,drank);
format(string, 1024," %s%s%s%s",coordsstring1,coordsstring2,coordsstring3,coordsstring4);
ShowPlayerDialog(playerid, 13, DIALOG_STYLE_MSGBOX,"{FFD200}Osobna {00B9FF}Iskaznica",string,"U redu","");
}
}