What is problem here?
#6

pawn Код:
new tstring[200];
new string[MAX_STRING];

strcat(string,""embed_blue"« "embed_white"General Player Status\n");

format(tstring,200,""embed_blue"« "embed_white"Name: "embed_blue"%s\n",pName[playerid]);
strcat(string,tstring);

format(tstring,200,""embed_blue"« "embed_white"Money: "embed_blue"%d\n",pInfo[playerid][pMoney]);
strcat(string,tstring);

format(tstring,200,""embed_blue"« "embed_white"XP: "embed_blue"%d\n",pInfo[playerid][pXP]);
strcat(string,tstring);

format(tstring,200,""embed_blue"« "embed_white"Kills: "embed_blue"%d\n",pInfo[playerid][pKills]);
strcat(string,tstring);

format(tstring,200,""embed_blue"« "embed_white"Deaths: "embed_blue"%d\n",pInfo[playerid][pDeaths]);
strcat(string,tstring);

format(tstring,200,""embed_blue"« "embed_white"Score: "embed_blue"%d\n",pInfo[playerid][pScore]);
strcat(string,tstring);

format(tstring,200,""embed_blue"« "embed_white"Weapon Status\n");
strcat(string,tstring);

format(tstring,200,""embed_blue"« "embed_white"Primary Weapon Level: "embed_blue"%d\n",PrimaryWeaponLevel[playerid]);
strcat(string,tstring);

format(tstring,200,""embed_blue"« "embed_white"Secondary Weapon Level: "embed_blue"%d\n",SecondaryWeaponLevel[playerid]);
strcat(string,tstring);

format(tstring,200,""embed_blue"« "embed_white"Tertiary Weapon Level: "embed_blue"%d",ThirdaryWeaponLevel[playerid]);
strcat(string,tstring);

ShowPlayerDialog(playerid,1111,DIALOG_STYLE_MSGBOX,""embed_white"Stats",string,"Back","Cancel");
Reply


Messages In This Thread
What is problem here? - by Sanady - 01.12.2012, 07:37
Re: What is problem here? - by JaKe Elite - 01.12.2012, 07:39
Re: What is problem here? - by [MM]RoXoR[FS] - 01.12.2012, 07:40
Re: What is problem here? - by Sanady - 01.12.2012, 07:43
Re: What is problem here? - by JaKe Elite - 01.12.2012, 07:49
Re: What is problem here? - by [MM]RoXoR[FS] - 01.12.2012, 07:55

Forum Jump:


Users browsing this thread: 1 Guest(s)