new coordsstring[256]; SendClientMessage(playerid, COLOR_RED," "); format(coordsstring, sizeof(coordsstring),"------------------------------------| %s |------------------------------------",name); SendClientMessage(playerid, COLOR_RED,coordsstring); format(coordsstring, sizeof(coordsstring), "- Level:[%d] Sex:[%s] Age:[%d] Cash:[$%d] Bank:[$%d] Ph:[%d]", level,atext,age,cash,account,pnumber); SendClientMessage(playerid, COLOR_WHITE,coordsstring); format(coordsstring, sizeof(coordsstring), "- PlayingHours:[%d] Job:[%s] Respect:[%d/%d] DonateRank:[%s]", ptime,jtext,exp,expamount,drank); SendClientMessage(playerid, COLOR_WHITE,coordsstring); format(coordsstring, sizeof(coordsstring), "- Drugs:[%d] Materials:[%d] Organisation:[%s] Rank:[%s]",drugs,mats,ftext,rtext); SendClientMessage(playerid, COLOR_WHITE,coordsstring);
That is so easy..
I don't think that anybody will help you with this, instead of read & study that: ShowPlayerDialog use DIALOG_STYLE_MSGBOX . |
new string[256]; format(string, sizeof(string), "Kills [%d] Deaths [%d]...", PlayerInfo[playerid][Kills]); //change variables to your defined one ShowPlayerDialog(playerid, 1, DIALOG_STYLE_MSGBOX, "Your Statistics", string, "Continue", "Cancel");