Jump to content
  • 0

Problema comanda /stats


Fusher

Question

Problema intalnita (descriere): Cand tastez /stats nu-mi arata toate liniile.
Ero(area / rile) / warning-(ul / urile): Dupa cum am spus, cand tastez /stats nu-mi mai arata de la jail in jos...
Liniile de cod / sursa / script-ul:

new coordsstring[256], mainstring[500];
		format(coordsstring, sizeof(coordsstring), "*** %s (%d) ***", name,targetid);
		strcat(mainstring, coordsstring);
		format(coordsstring, sizeof(coordsstring), "n{FFFFFF}Level: {00A6FF}[%d] n{FFFFFF}Sex: {00A6FF}[%s] n{FFFFFF}Cash: {00A6FF}[%s] n{FFFFFF}Bank: {00A6FF}[%s] n{FFFFFF}Phone: {00A6FF}[%d]", level,atext,FormatNumber(cash),FormatNumber(account), pnumber);
		strcat(mainstring, coordsstring);
		format(coordsstring, sizeof(coordsstring), "n{FFFFFF}Premium Account: {00A6FF}[%s] n{FFFFFF}Next Level: {00A6FF}[$%s] n{FFFFFF}Respect: {00A6FF}[%d/%d] n{FFFFFF}Hours Played: {00A6FF}[%d] n{FFFFFF}Rob Points: {00A6FF}[%d/20]", drank,FormatNumber(costlevel),exp,expamount,ptime,rob);
		strcat(mainstring, coordsstring);
		format(coordsstring, sizeof(coordsstring), "n{FFFFFF}Wanted Deaths: {00A6FF}[%d] n{FFFFFF}CrimesCommited: {00A6FF}[%d] n{FFFFFF}TimesArrested: {00A6FF}[%d] n{FFFFFF}Jail: {00A6FF}[%s]n{FFFFFF}Muted: {00A6FF}[%s]", warrests,crimes,arrests,jailtext,mutedt);
		strcat(mainstring, coordsstring);
		format(coordsstring, sizeof(coordsstring), "n{FFFFFF}WantedLevel: {00A6FF}[%d]n{FFFFFF}Married with: {00A6FF}[%s]n{FFFFFF}Lotto: {00A6FF}[%d]n{FFFFFF}Disease: {00A6FF}[%s]n{FFFFFF}Drugs: {00A6FF}[%d]n{FFFFFF}Materials: {00A6FF}[%d]n{FFFFFF}Referral: {00A6FF}[%s]",wanted,married,lotto,dtext,drugs,mats,reffname);
		strcat(mainstring, coordsstring);
		format(coordsstring, sizeof(coordsstring), "n{FFFFFF}Job: {00A6FF}[%s] n{FFFFFF}Faction: {00A6FF}[%s] n{FFFFFF}Rank: {00A6FF}[%s] n{FFFFFF}FWarn: {00A6FF}[%d/3] n{FFFFFF}FPunish: {00A6FF}[%d/40] n{FFFFFF}Warns: {00A6FF}[%d/3]",jtext,ttext,rtext,PlayerInfo[targetid][pFACWarns],PlayerInfo[targetid][pFpunish],warn);
		strcat(mainstring, coordsstring);
	    if (PlayerInfo[playerid][pAdmin] >= 1)
		{
			format(coordsstring, sizeof(coordsstring), "n{FFFFFF}House: {00A6FF}[%d] n{FFFFFF}Biz: {00A6FF}[%d] n{FFFFFF}HireKey: {00A6FF}[%d] n{FFFFFF}IP: {00A6FF}[%s] n{FFFFFF}Interior ID: {00A6FF}[%d] n{FFFFFF}Virtual World: {00A6FF}[%d] n{FFFFFF}Spawned Car: {00A6FF}[%s] n{FFFFFF}SQLID: {00A6FF}[%d]",hkey,bkey,HireCar[targetid],playersip,GetPlayerInterior(targetid),GetPlayerVirtualWorld(targetid),carx1,PlayerInfo[targetid][pSQLID]);
			strcat(mainstring, coordsstring);
		}
		ShowPlayerDialog(playerid,DIALOG_STATS,DIALOG_STYLE_MSGBOX,"Status",mainstring,"Inchide","");
	}
}

Imagini / Video (optional): http://i.imgur.com/GZ7l7Tz.png
Ati incercat sa rezolvati singur?: Da, am incercat, dar fara rezultate... Precizez ca inainte de a pune culorile la texte (alb - albastru) imi arata totul...dar acum nu-mi mai arata de la Jail in colo..

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.