[Pomoc]Stats u Dialogu

Započeo Dule OgLoc, Avgust 14, 2011, 15:53:54 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 4 gostiju pregledaju ovu temu.

Skripta koju koristim: Raven's RolePlay
Problem mi je kako da napravim stats u dialogu
Pokusavao sam dosta stvari ali nista mi nije uspelo

Ako mozete da mi kazete nacin kako ovako ili slicno da napravim

http://www.dodaj.rs/?1G/3i/4o5eiAna/sa-mp-184.png

Mala pomoc oko moga moda:

new coordsstring[128];
		format(coordsstring, sizeof(coordsstring),"Igrac: %s (%d) - - - - - - - - - - - - S T A T I S T I K E     I G R A C A - - - - - - - - - - - - - ",name, targetid);
		SendClientMessage(playerid, COLOR_LIGHTRED,coordsstring);
		format(coordsstring, sizeof(coordsstring), "| Level: %d | Sex: %s | Godine: %d | Novac: $%d | Banka: $%d | Phone: %d | Regular Rank: %s |", level,atext,age,cash,account,pnumber,drank);
		SendClientMessage(playerid, COLOR_LIGHTRED,coordsstring);
		format(coordsstring, sizeof(coordsstring), "| Igra sati: %d | Igra minuta: %d | Igra sekunda: %d | Najveca riba: %d | Puta uhicen: %d |",(ptime / 3600), (ptime / 60), ptime,bigfish,arrests);
		SendClientMessage(playerid, COLOR_LIGHTRED,coordsstring);
		format(coordsstring, sizeof(coordsstring), "| Respect: %d/%d | Smrti: %d | Droga: %d | Materiali: %d | Tim: %s | Rank: %s | Ubistva: %d | Upozorenja: %d |",exp,expamount,Deaths,drugs,mats,ttext,rtext, Kills,warned);
		SendClientMessage(playerid, COLOR_BBLUE,coordsstring);
		format(coordsstring, sizeof(coordsstring), "| Swat Rank: %s | Tactical Rank: %s | Forces Rank: %s | DD Manager: %d | LottoNr: %d | Pocinjeno zlocina: %d |",swatr,tacticalr,specialfr,drights,lotto,crimes);
		SendClientMessage(playerid, COLOR_BBLUE,coordsstring);
		format(coordsstring, sizeof(coordsstring), "| Borba: %s | GameMaster Rank: %d | ColtSkill: %d | Silenced Skill: %d | Deagle Skill: %d | Shotgun Skill: %d |",fight, GameMaster, Colt,Silenced,Deagle, Shotgun);
		SendClientMessage(playerid, COLOR_BBLUE,coordsstring);
		format(coordsstring, sizeof(coordsstring), "| SawnSkill: %d | Combat Skill: %d | Uzi Skill: %d | SMG Skill: %d | M4 Skill: %d | AK-47 Skill: %d |", Sawn,Combat,Uzi, Smg, M4, Ak47);
		SendClientMessage(playerid, COLOR_WHITE,coordsstring);
		format(coordsstring, sizeof(coordsstring), "| Health: %.1f | Pancirka: %.1f | IP: %s | Ribe: %d | Zadnje odlazenje: %s | Banan s duznosti: %d |", health, armour, Playersip, fishes, PlayerInfo[targetid][pWhyLeft], dban);
		SendClientMessage(playerid, COLOR_WHITE,coordsstring);
		format(coordsstring, sizeof(coordsstring), "| Kljuc od kuce: %d | Kljuc od biza: %d | Najamni kljuc: %d | Interijer: %d | Virtual World: %d | Local: %d | Posao: %s |", housekey,bizkey,HireCar[targetid],intir,virworld,local,jtext);
		SendClientMessage(playerid, COLOR_WHITE,coordsstring);
		if (PlayerInfo[targetid][pPcarkey] != 999)
		{
		    new vehiclename[24];
			GetVehicleName(carkey, vehiclename, sizeof(vehiclename));
		    format(coordsstring, sizeof(coordsstring), "| CarID: %d | Model: %s (%d) | Cena: %d | VehColor1: %d | VehColor2: %d | Zakljucano: %d |",carkey,vehiclename, CarInfo[carkey][cModel], GetVehiclePrice(carkey), CarInfo[carkey][cColorOne], CarInfo[carkey][cColorTwo], CarInfo[carkey][cLock]);
		    SendClientMessage(playerid, COLOR_LIGHTBLUE,coordsstring);
		}
		if (PlayerInfo[targetid][pPcarkey2] != 999)
		{
		    new vehiclename[24];
			GetVehicleName(carkey2, vehiclename, sizeof(vehiclename));
		    format(coordsstring, sizeof(coordsstring), "| CarID: %d | Model: %s (%d) | Cena: %d | VehColor1: %d | VehColor2: %d | Zakljucano: %d |",carkey2,vehiclename, CarInfo[carkey2][cModel], GetVehiclePrice(carkey2), CarInfo[carkey2][cColorOne], CarInfo[carkey2][cColorTwo], CarInfo[carkey2][cLock]);
		    SendClientMessage(playerid, COLOR_LIGHTBLUE,coordsstring);
		}
	}
}



Neke stvari i nisu bitne odavde ovo za skill to
ebiste u dialogu morali stavljati


Mada ja sam sve bio napravio ali kada ukucam /stats
neizbacuje nista tako da moze pomoc  :)
Poslednja Izmena: Avgust 14, 2011, 15:54:44 POSLE PODNE od Dule OgLoc

vrlo lako, imas ShowPlayerDialog ali posto puno toga imas tu onda ce ti trebati jedan tut, i koristis format i ostalo, mislim da imam tutova u vezi ovog
Uskoro novi stunt server iStunt. DoÄ'ite i zabavite se!




   
   




Dizajniram za $$$
Popis stvari koje radim:

Wallpaper √  Signature ×  Logo √  Dizajn stranice (Ne kodiranje) √  Baner √  Avatar √  Animacija √  Intro √

Citat: System32 poslato Avgust 14, 2011, 15:59:01 POSLE PODNE
vrlo lako, imas ShowPlayerDialog ali posto puno toga imas tu onda ce ti trebati jedan tut, i koristis format i ostalo, mislim da imam tutova u vezi ovog
Sad si mi sve reko

sto si mislio da cu reci?Potrudi se djete
Uskoro novi stunt server iStunt. DoÄ'ite i zabavite se!




   
   




Dizajniram za $$$
Popis stvari koje radim:

Wallpaper √  Signature ×  Logo √  Dizajn stranice (Ne kodiranje) √  Baner √  Avatar √  Animacija √  Intro √

Ovako
evo ti savjet jedan pa pomoc..
ovo je sve preveliko da bi stalo u jedan dialog...moze stati ali ce biti kao sto ja kazem sataras..svega na sve strane
i bice nepregledno dakle
napravis posebno dialoge da bi bilo pregledno
public OnPlayerCommandText(playerid, cmdtext[])
{
new cmd[256];
    new idx;
   cmd = strtok(cmdtext, idx);
   if(strcmp(cmd, "/stats", true) == 0)
   {

          ShowPlayerDialog(playerid,1,DIALOG_STYLE_LIST ,"Statistika","\n---ovdje napises slicno onome                           SendClientMessage--","OK","ZATVORI");

      return 1;
   }
return 1;
}

public ShowStats(playerid,targetid)
{
    if(IsPlayerConnected(playerid)&&IsPlayerConnected(targetid))
	{
		new cash =  JB_GetPlayerMoney(targetid);
		new atext[20];
  		if(PlayerInfo[targetid][pSex] == 1) { atext = "Musko"; }
		else if(PlayerInfo[targetid][pSex] == 2) { atext = "Zensko"; }
  		new otext[20];
  		if(PlayerInfo[targetid][pOrigin] == 1) { otext = "Hrvatska"; }
		else if(PlayerInfo[targetid][pOrigin] == 2) { otext = "Srbija"; }
		else if(PlayerInfo[targetid][pOrigin] == 3) { otext = "Kosovo"; }
		else if(PlayerInfo[targetid][pOrigin] == 4) { otext = "Crna Gora"; }
		else if(PlayerInfo[targetid][pOrigin] == 5) { otext = "Slovenija"; }
		else if(PlayerInfo[targetid][pOrigin] == 6) { otext = "BiH"; }
		new ttext[20];
		if(PlayerInfo[targetid][pMember] == 4 || PlayerInfo[targetid][pLeader] == 4) { ttext = "Medic"; }
		else if(gTeam[targetid] == 3 || gTeam[targetid] == 4) { ttext = "Civilian"; }
		else if(PlayerInfo[targetid][pMember] == 1 || PlayerInfo[targetid][pLeader] == 1) { ttext = "Policija"; }
		else if(PlayerInfo[targetid][pMember] == 2 || PlayerInfo[targetid][pLeader] == 2) { ttext = "S.W.A.T"; }
		else if(PlayerInfo[targetid][pMember] == 3 || PlayerInfo[targetid][pLeader] == 3) { ttext = "FBI"; }
		else if(PlayerInfo[targetid][pMember] == 4 || PlayerInfo[targetid][pLeader] == 4) { ttext = "Hitna sluzba"; }
		else if(PlayerInfo[targetid][pMember] == 5 || PlayerInfo[targetid][pLeader] == 5) { ttext = "East Blood Family"; }
		else if(PlayerInfo[targetid][pMember] == 6 || PlayerInfo[targetid][pLeader] == 6) { ttext = "Grove Street Family"; }
		else if(PlayerInfo[targetid][pMember] == 7 || PlayerInfo[targetid][pLeader] == 7) { ttext = "The Ballas Family"; }
		else if(PlayerInfo[targetid][pMember] == 8 || PlayerInfo[targetid][pLeader] == 8) { ttext = "Hitman Agency"; }
		else if(PlayerInfo[targetid][pMember] == 9 || PlayerInfo[targetid][pLeader] == 9) { ttext = "Los Santos News"; }
		else if(PlayerInfo[targetid][pMember] == 10 || PlayerInfo[targetid][pLeader] == 10) { ttext = "Street Racers"; }
		else if(PlayerInfo[targetid][pMember] == 11 || PlayerInfo[targetid][pLeader] == 11) { ttext = "Autoskola"; }
		else if(PlayerInfo[targetid][pMember] == 12 || PlayerInfo[targetid][pLeader] == 12) { ttext = "Yakuza"; }
		new dtext[20];
		if(STDPlayer[targetid] == 1) { dtext = "Chlamydia"; }
		else if(STDPlayer[targetid] == 2) { dtext = "Gonorrhea"; }
		else if(STDPlayer[targetid] == 3) { dtext = "Syphilis"; }
		else { dtext = "Nista"; }
	    new ftext[20];
	    if(PlayerInfo[targetid][pMember] == 4 || PlayerInfo[targetid][pLeader] == 4)
		{ ftext = "Hitna sluzba"; }
  		else if(PlayerInfo[targetid][pMember] == 5 || PlayerInfo[targetid][pLeader] == 5)
		{ ftext = "East Blood Family"; }
		else if(PlayerInfo[targetid][pMember] == 7 || PlayerInfo[targetid][pLeader] == 7)
		{ ftext = "The Ballas Family"; }
		else if(PlayerInfo[targetid][pMember] == 6 || PlayerInfo[targetid][pLeader] == 6)
		{ ftext = "Grove Street Family"; }
		else if(PlayerInfo[targetid][pMember] == 12 || PlayerInfo[targetid][pLeader] == 12)
		{ ftext = "Yakuza"; }
		else if(PlayerInfo[targetid][pMember] == 11 || PlayerInfo[targetid][pLeader] == 11)
		{ ftext = "Autoskola"; }
		else
		{ ftext = "Nista"; }
		new f2text[20];
	    if(PlayerInfo[targetid][pFMember] < 255) { f2text = FamilyInfo[PlayerInfo[targetid][pFMember]][FamilyName]; }
		else { f2text = "Nista"; }
	    new rtext[64];
	    if(gTeam[targetid] == 5 || PlayerInfo[targetid][pFMember] < 255)//The 2 Organisations
	    {
        	if(PlayerInfo[targetid][pRank] == 1) { rtext = "NoviClan"; }
			else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Associate"; }
			else if(PlayerInfo[targetid][pRank] == 3) { rtext = "MladjiClan"; }
			else if(PlayerInfo[targetid][pRank] == 4) { rtext = "StarijiClan"; }
			else if(PlayerInfo[targetid][pRank] == 5) { rtext = "PodLider"; }
  			else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Lider"; }
			else { rtext = "NoviClan"; }
		}
		else if(PlayerInfo[targetid][pMember] == 1 || PlayerInfo[targetid][pLeader] == 1)//PD Ranks
		{
		    if(PlayerInfo[targetid][pRank] == 1) { rtext = "Kadet"; }
		    else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Pomorski policajac"; }
			else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Prometni policajac"; }
			else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Interventni policajac"; }
			else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Inspektor"; }
	        else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Visi Inspektor"; }
	        else if(PlayerInfo[targetid][pRank] == 7) { rtext = "Inspektor prometne policije"; }
	        else if(PlayerInfo[targetid][pRank] == 8) { rtext = "Nacelnik policije"; }
	        else if(PlayerInfo[targetid][pRank] == 9) { rtext = "Nacelnik MUP-a"; }
			else { rtext = "Kadet"; }
		}
		else if(PlayerInfo[targetid][pMember] == 2 || PlayerInfo[targetid][pLeader] == 2)//Spec. Force Ranks
		{
		    if(PlayerInfo[targetid][pRank] == 1) { rtext = "Special Force Pripravnik"; }
			else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Special Force Agent"; }
			else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Special Force Visi Agent"; }
			else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Special Force Porucnik"; }
			else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Special Force Kapetan"; }
		    else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Special Force General"; }
			else { rtext = "Special Force Pripravnik"; }
		}
		else if(PlayerInfo[targetid][pMember] == 3 || PlayerInfo[targetid][pLeader] == 3)//Secret Intelligence Service Ranks
		{
		    if(PlayerInfo[targetid][pRank] == 1) { rtext = "Agent 7"; }
			else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Agent 07"; }
			else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Agent 007"; }
			else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Specijalni Agent"; }
			else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Agent Q"; }
		    else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Agent M"; }
			else { rtext = "Agent 7"; }
		}
		else if(PlayerInfo[targetid][pMember] == 8 || PlayerInfo[targetid][pLeader] == 8)//Hitman Ranks
		{
		    if(PlayerInfo[targetid][pRank] == 1) { rtext = "Agent"; }
			else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Special Agent"; }
			else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Vice-Director"; }
			else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Director"; }
			else { rtext = "Agent"; }
		}
		else if(PlayerInfo[targetid][pMember] == 9 || PlayerInfo[targetid][pLeader] == 9)//NR Ranks
		{
		    if(PlayerInfo[targetid][pRank] == 1) { rtext = "Intern Worker"; }
			else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Journalist"; }
			else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Head Journalist"; }
			else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Company Secretary"; }
			else if(PlayerInfo[targetid][pRank] == 5) { rtext = "ABC Manager"; }
		    else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Network Producer"; }
			else { rtext = "Intern Worker"; }
		}
		else if(PlayerInfo[targetid][pMember] == 4 || PlayerInfo[targetid][pLeader] == 4)//Hitna sluzba Ranks
		{
		    if(PlayerInfo[targetid][pRank] == 1) { rtext = "Bolnicar"; }
			else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Vatrogasac"; }
			else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Voditelj smjene"; }
		    else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Voditelj hitne sluzbe"; }
			else { rtext = "Bolnicar"; }
		}
		else if(PlayerInfo[targetid][pMember] == 10 || PlayerInfo[targetid][pLeader] == 10)//Street Racers Ranks
		{
		    if(PlayerInfo[targetid][pRank] == 1) { rtext = "Outsider"; }
			else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Giovane D'honore"; }
			else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Piciotto"; }
			else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Sgarrista"; }
			else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Capo Bastone"; }
  			else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Capo Crimini"; }
			else { rtext = "Outsider"; }
		}
		else if(PlayerInfo[targetid][pMember] == 6 || PlayerInfo[targetid][pLeader] == 6)//Grove street Ranks
		{
		    if(PlayerInfo[targetid][pRank] == 1) { rtext = "GSF Pocetnik"; }
			else if(PlayerInfo[targetid][pRank] == 2) { rtext = "GSF Pomagac"; }
			else if(PlayerInfo[targetid][pRank] == 3) { rtext = "GSF Gangster"; }
			else if(PlayerInfo[targetid][pRank] == 4) { rtext = "GSF Ubojica"; }
			else if(PlayerInfo[targetid][pRank] == 5) { rtext = "GSF Zamjenik"; }
			else if(PlayerInfo[targetid][pRank] == 6) { rtext = "GSF Lider"; }
			else { rtext = "GSF Pocetnik"; }
		}
		else if(PlayerInfo[targetid][pMember] == 7 || PlayerInfo[targetid][pLeader] == 7)//ballas Ranks
		{
		    if(PlayerInfo[targetid][pRank] == 1) { rtext = "The Ballas Pocetnik"; }
			else if(PlayerInfo[targetid][pRank] == 2) { rtext = "The Ballas Pomagac"; }
			else if(PlayerInfo[targetid][pRank] == 3) { rtext = "The Ballas Gangster"; }
			else if(PlayerInfo[targetid][pRank] == 4) { rtext = "The Ballas Ubojica"; }
			else if(PlayerInfo[targetid][pRank] == 5) { rtext = "The Ballas Zamjenik"; }
			else if(PlayerInfo[targetid][pRank] == 6) { rtext = "The Ballas Lider"; }
			else { rtext = "The Ballas Pocetnik"; }
		}
		else if(PlayerInfo[targetid][pMember] == 5 || PlayerInfo[targetid][pLeader] == 5)//East Blood Family Ranks
		{
		    if(PlayerInfo[targetid][pRank] == 1) { rtext = "Babbo Blood"; }
			else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Capo Blood"; }
			else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Enforcer Blood"; }
			else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Soldato Blood"; }
			else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Consligliere Blood"; }
			else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Captian Blood"; }
		    else if(PlayerInfo[targetid][pRank] == 7) { rtext = "Underboss Blood"; }
		    else if(PlayerInfo[targetid][pRank] == 8) { rtext = "GodFather Blood"; }
		    else if(PlayerInfo[targetid][pRank] == 9) { rtext = "Don Blood"; }
			else { rtext = "Babbo Blood"; }
        }
        else if(PlayerInfo[targetid][pMember] == 12 || PlayerInfo[targetid][pLeader] == 12)//East Blood Family Ranks
		{
		    if(PlayerInfo[targetid][pRank] == 1) { rtext = "Yakuza Pripravnik"; }
			else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Yakuza Clan"; }
			else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Yakuza Visi Clan"; }
			else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Yakuza General"; }
			else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Yakuza Podlider"; }
			else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Yakuza Lider"; }
			else { rtext = "Yakuza Pripravnik"; }
        }
        else if(IsAnInstructor(targetid))//grove mafia Ranks
		{
		    if(PlayerInfo[targetid][pRank] == 1) { rtext = "Instruktor pocetnik"; }
			else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Instruktor"; }
			else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Senior Instruktor"; }
			else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Menadjer"; }
			else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Zamjenik Voditelja"; }
		    else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Voditelj Autoskole"; }
			else { rtext = "Instruktor pocetnik"; }
		}
        else
		{
		    rtext = "Nista";
		}
        new jtext[20];
        if(PlayerInfo[targetid][pJob] == 1) { jtext = "Detektiv"; }
        else if(PlayerInfo[targetid][pJob] == 2) { jtext = "Odvjetnik"; }
        else if(PlayerInfo[targetid][pJob] == 3) { jtext = "Prostitutka"; }
        else if(PlayerInfo[targetid][pJob] == 4) { jtext = "Diler droge"; }
        else if(PlayerInfo[targetid][pJob] == 5) { jtext = "Kradljivac auta"; }
        else if(PlayerInfo[targetid][pJob] == 6) { jtext = "TuningRace Club"; }
        else if(PlayerInfo[targetid][pJob] == 7) { jtext = "Automehanicar"; }
        else if(PlayerInfo[targetid][pJob] == 8) { jtext = "Zastitarska sluzba"; }
        else if(PlayerInfo[targetid][pJob] == 9) { jtext = "Diler oruzjem"; }
        else if(PlayerInfo[targetid][pJob] == 10) { jtext = "Krijumcar autiju"; }
		else if(PlayerInfo[targetid][pJob] == 12) { jtext = "Boksac"; }
        else if(PlayerInfo[targetid][pJob] == 14) { jtext = "Vozac busa"; }
        else if(PlayerInfo[targetid][pJob] == 15) { jtext = "Paper Boy"; }
        else if(PlayerInfo[targetid][pJob] == 16) { jtext = "Vozac kamiona"; }
		else if(PlayerInfo[targetid][pJob] == 17) { jtext = "Donator"; }
		else if(PlayerInfo[targetid][pJob] == 18) { jtext = "Postar"; }
		else if(PlayerInfo[targetid][pJob] == 19) { jtext = "Taxist"; }
		else if(PlayerInfo[targetid][pJob] == 20) { jtext = "Komunalac"; }
		else if(PlayerInfo[targetid][pJob] == 21) { jtext = "Baustelac"; }
		else if(PlayerInfo[targetid][pJob] == 22) { jtext = "Vlakovodja"; }
		else if(PlayerInfo[targetid][pJob] == 23) { jtext = "Farmer"; }
        else { jtext = "Nista"; }
  		new drank[50];
		if(PlayerInfo[targetid][pDonateRank] == 1) { drank = "Donator lvl 1"; }
		else if(PlayerInfo[targetid][pDonateRank] == 2) { drank = "Donator lvl 2"; }
		else if(PlayerInfo[targetid][pDonateRank] == 3) { drank = "Donator lvl 3"; }
		else if(PlayerInfo[targetid][pDonateRank] == 4) { drank = "Donator lvl 4"; }
		else if(PlayerInfo[targetid][pDonateRank] == 5) { drank = "Donator lvl 5"; }
		else { drank = "Nista"; }
		new married[20];
		strmid(married, PlayerInfo[targetid][pMarriedTo], 0, strlen(PlayerInfo[targetid][pMarriedTo]), 255);
        new age = PlayerInfo[targetid][pAge];
		new ptime = PlayerInfo[targetid][pConnectTime];
		new deaths = PlayerInfo[targetid][pDeaths];
		new crimes = PlayerInfo[targetid][pCrimes];
  		new arrests = PlayerInfo[targetid][pArrested];
		new drugs = PlayerInfo[targetid][pDrugs];
		new mats = PlayerInfo[targetid][pMats];
		new level = PlayerInfo[targetid][pLevel];
		new exp = PlayerInfo[targetid][pExp];
		new kills = PlayerInfo[targetid][pKills];
		new pnumber = PlayerInfo[targetid][pPnumber];
		new account = PlayerInfo[targetid][pAccount];
		new donator = PlayerInfo[targetid][pDonator];
		new kredit = PlayerInfo[targetid][pKredit];
		new igra = PlayerInfo[playerid][pPayCheck]/225;
		new bon = PlayerInfo[targetid][pMobileBon];
		new nxtlevel = PlayerInfo[targetid][pLevel]+1;
		new expamount = nxtlevel*levelexp;
		/*new costlevel = nxtlevel*levelcost;//10k for testing purposes*/
		new Float:shealth = PlayerInfo[targetid][pSHealth];
		new Float:health;
		new name[MAX_PLAYER_NAME];
		GetPlayerName(targetid, name, sizeof(name));
		GetPlayerHealth(targetid,health);
		new Float:px,Float:py,Float:pz;
		GetPlayerPos(targetid, px, py, pz);
		new coordsstring[2048],coordsstringA[256],coordsstringB[256],coordsstringC[256],coordsstringD[256],coordsstringE[256];
    	format(coordsstringA, sizeof(coordsstringA), "{00CCFF}Ime:[%s] \n{00CCFF}Level:[%d] \n{FFFF00}Spol:[%s] \n{00CCFF}Starost:[%d] \n{FFFF00}Drzava:[%s]\n\n  Novaca:[$%d]\n{00CCFF}Bank:[$%d] \n{FFFF00}Br. moba:[%d]", name, level, atext, age, otext, cash, account, pnumber);
		format(coordsstringB, sizeof(coordsstringB), "\n\n{00CCFF}Donator Bodova:[%d] \n{FFFF00}Bracno stanje:[%s] \n{00CCFF}Sati igranja:[%d] \n{FFFF00}PayDay:[%d/30]", donator,married,ptime,igra);
		format(coordsstringC, sizeof(coordsstringC), "\n\n{00CCFF}Pocinjeni zlocini:[%d] \n{FFFF00}Vrijeme u zatvoru:[%d] \n{00CCFF}Posao:[%s] \n{FFFF00}Mobitel Bon:[%d] ", crimes,arrests,jtext,bon);
        format(coordsstringD, sizeof(coordsstringD), "\n\n{00CCFF}Ubojstva:[%d] \n{FFFF00}Smrti:[%d] \n{00CCFF}Respect:[%d/%d] \n{FFFF00}Obitelj:[%s] \n{00CCFF}Kredit iznos: [%d]",kills,deaths,exp,expamount,f2text,kredit);
		format(coordsstringE, sizeof(coordsstringE), "\n\n{00CCFF}Droge:[%d] \n{FFFF00}Materijali:[%d] \n{00CCFF}Bolest:[%s] \n{FFFF00}Organizacija:[%s] \n{00CCFF}Rank:[%s]",drugs,mats,dtext,ttext,rtext);
	    format(coordsstring, sizeof(coordsstring), "%s\n%s\n%s\n%s\n%s",coordsstringA,coordsstringB,coordsstringC,coordsstringD,coordsstringE);
	    ShowPlayerDialog(playerid,842,DIALOG_STYLE_MSGBOX,"|----------|{FF0000}Zivot Igraca|----------|{3300FF}Stats|----------||----------| Zivot Igraca|----------|Stats|----------||----------| Zivot Igraca|----------|Stats|----------||----------| Zivot Igraca|----------|Stats|----------|",coordsstring,"OK","Odustani");

	}
}


Evo ti primer samo pa ti uredjuj kako je sta kod tebe i dodaji.  ;)

Citat: [BN] ..Nikola.. poslato Avgust 14, 2011, 19:09:19 POSLE PODNE
public ShowStats(playerid,targetid)
{
    if(IsPlayerConnected(playerid)&&IsPlayerConnected(targetid))
	{
		new cash =  JB_GetPlayerMoney(targetid);
		new atext[20];
  		if(PlayerInfo[targetid][pSex] == 1) { atext = "Musko"; }
		else if(PlayerInfo[targetid][pSex] == 2) { atext = "Zensko"; }
  		new otext[20];
  		if(PlayerInfo[targetid][pOrigin] == 1) { otext = "Hrvatska"; }
		else if(PlayerInfo[targetid][pOrigin] == 2) { otext = "Srbija"; }
		else if(PlayerInfo[targetid][pOrigin] == 3) { otext = "Kosovo"; }
		else if(PlayerInfo[targetid][pOrigin] == 4) { otext = "Crna Gora"; }
		else if(PlayerInfo[targetid][pOrigin] == 5) { otext = "Slovenija"; }
		else if(PlayerInfo[targetid][pOrigin] == 6) { otext = "BiH"; }
		new ttext[20];
		if(PlayerInfo[targetid][pMember] == 4 || PlayerInfo[targetid][pLeader] == 4) { ttext = "Medic"; }
		else if(gTeam[targetid] == 3 || gTeam[targetid] == 4) { ttext = "Civilian"; }
		else if(PlayerInfo[targetid][pMember] == 1 || PlayerInfo[targetid][pLeader] == 1) { ttext = "Policija"; }
		else if(PlayerInfo[targetid][pMember] == 2 || PlayerInfo[targetid][pLeader] == 2) { ttext = "S.W.A.T"; }
		else if(PlayerInfo[targetid][pMember] == 3 || PlayerInfo[targetid][pLeader] == 3) { ttext = "FBI"; }
		else if(PlayerInfo[targetid][pMember] == 4 || PlayerInfo[targetid][pLeader] == 4) { ttext = "Hitna sluzba"; }
		else if(PlayerInfo[targetid][pMember] == 5 || PlayerInfo[targetid][pLeader] == 5) { ttext = "East Blood Family"; }
		else if(PlayerInfo[targetid][pMember] == 6 || PlayerInfo[targetid][pLeader] == 6) { ttext = "Grove Street Family"; }
		else if(PlayerInfo[targetid][pMember] == 7 || PlayerInfo[targetid][pLeader] == 7) { ttext = "The Ballas Family"; }
		else if(PlayerInfo[targetid][pMember] == 8 || PlayerInfo[targetid][pLeader] == 8) { ttext = "Hitman Agency"; }
		else if(PlayerInfo[targetid][pMember] == 9 || PlayerInfo[targetid][pLeader] == 9) { ttext = "Los Santos News"; }
		else if(PlayerInfo[targetid][pMember] == 10 || PlayerInfo[targetid][pLeader] == 10) { ttext = "Street Racers"; }
		else if(PlayerInfo[targetid][pMember] == 11 || PlayerInfo[targetid][pLeader] == 11) { ttext = "Autoskola"; }
		else if(PlayerInfo[targetid][pMember] == 12 || PlayerInfo[targetid][pLeader] == 12) { ttext = "Yakuza"; }
		new dtext[20];
		if(STDPlayer[targetid] == 1) { dtext = "Chlamydia"; }
		else if(STDPlayer[targetid] == 2) { dtext = "Gonorrhea"; }
		else if(STDPlayer[targetid] == 3) { dtext = "Syphilis"; }
		else { dtext = "Nista"; }
	    new ftext[20];
	    if(PlayerInfo[targetid][pMember] == 4 || PlayerInfo[targetid][pLeader] == 4)
		{ ftext = "Hitna sluzba"; }
  		else if(PlayerInfo[targetid][pMember] == 5 || PlayerInfo[targetid][pLeader] == 5)
		{ ftext = "East Blood Family"; }
		else if(PlayerInfo[targetid][pMember] == 7 || PlayerInfo[targetid][pLeader] == 7)
		{ ftext = "The Ballas Family"; }
		else if(PlayerInfo[targetid][pMember] == 6 || PlayerInfo[targetid][pLeader] == 6)
		{ ftext = "Grove Street Family"; }
		else if(PlayerInfo[targetid][pMember] == 12 || PlayerInfo[targetid][pLeader] == 12)
		{ ftext = "Yakuza"; }
		else if(PlayerInfo[targetid][pMember] == 11 || PlayerInfo[targetid][pLeader] == 11)
		{ ftext = "Autoskola"; }
		else
		{ ftext = "Nista"; }
		new f2text[20];
	    if(PlayerInfo[targetid][pFMember] < 255) { f2text = FamilyInfo[PlayerInfo[targetid][pFMember]][FamilyName]; }
		else { f2text = "Nista"; }
	    new rtext[64];
	    if(gTeam[targetid] == 5 || PlayerInfo[targetid][pFMember] < 255)//The 2 Organisations
	    {
        	if(PlayerInfo[targetid][pRank] == 1) { rtext = "NoviClan"; }
			else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Associate"; }
			else if(PlayerInfo[targetid][pRank] == 3) { rtext = "MladjiClan"; }
			else if(PlayerInfo[targetid][pRank] == 4) { rtext = "StarijiClan"; }
			else if(PlayerInfo[targetid][pRank] == 5) { rtext = "PodLider"; }
  			else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Lider"; }
			else { rtext = "NoviClan"; }
		}
		else if(PlayerInfo[targetid][pMember] == 1 || PlayerInfo[targetid][pLeader] == 1)//PD Ranks
		{
		    if(PlayerInfo[targetid][pRank] == 1) { rtext = "Kadet"; }
		    else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Pomorski policajac"; }
			else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Prometni policajac"; }
			else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Interventni policajac"; }
			else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Inspektor"; }
	        else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Visi Inspektor"; }
	        else if(PlayerInfo[targetid][pRank] == 7) { rtext = "Inspektor prometne policije"; }
	        else if(PlayerInfo[targetid][pRank] == 8) { rtext = "Nacelnik policije"; }
	        else if(PlayerInfo[targetid][pRank] == 9) { rtext = "Nacelnik MUP-a"; }
			else { rtext = "Kadet"; }
		}
		else if(PlayerInfo[targetid][pMember] == 2 || PlayerInfo[targetid][pLeader] == 2)//Spec. Force Ranks
		{
		    if(PlayerInfo[targetid][pRank] == 1) { rtext = "Special Force Pripravnik"; }
			else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Special Force Agent"; }
			else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Special Force Visi Agent"; }
			else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Special Force Porucnik"; }
			else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Special Force Kapetan"; }
		    else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Special Force General"; }
			else { rtext = "Special Force Pripravnik"; }
		}
		else if(PlayerInfo[targetid][pMember] == 3 || PlayerInfo[targetid][pLeader] == 3)//Secret Intelligence Service Ranks
		{
		    if(PlayerInfo[targetid][pRank] == 1) { rtext = "Agent 7"; }
			else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Agent 07"; }
			else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Agent 007"; }
			else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Specijalni Agent"; }
			else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Agent Q"; }
		    else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Agent M"; }
			else { rtext = "Agent 7"; }
		}
		else if(PlayerInfo[targetid][pMember] == 8 || PlayerInfo[targetid][pLeader] == 8)//Hitman Ranks
		{
		    if(PlayerInfo[targetid][pRank] == 1) { rtext = "Agent"; }
			else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Special Agent"; }
			else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Vice-Director"; }
			else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Director"; }
			else { rtext = "Agent"; }
		}
		else if(PlayerInfo[targetid][pMember] == 9 || PlayerInfo[targetid][pLeader] == 9)//NR Ranks
		{
		    if(PlayerInfo[targetid][pRank] == 1) { rtext = "Intern Worker"; }
			else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Journalist"; }
			else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Head Journalist"; }
			else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Company Secretary"; }
			else if(PlayerInfo[targetid][pRank] == 5) { rtext = "ABC Manager"; }
		    else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Network Producer"; }
			else { rtext = "Intern Worker"; }
		}
		else if(PlayerInfo[targetid][pMember] == 4 || PlayerInfo[targetid][pLeader] == 4)//Hitna sluzba Ranks
		{
		    if(PlayerInfo[targetid][pRank] == 1) { rtext = "Bolnicar"; }
			else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Vatrogasac"; }
			else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Voditelj smjene"; }
		    else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Voditelj hitne sluzbe"; }
			else { rtext = "Bolnicar"; }
		}
		else if(PlayerInfo[targetid][pMember] == 10 || PlayerInfo[targetid][pLeader] == 10)//Street Racers Ranks
		{
		    if(PlayerInfo[targetid][pRank] == 1) { rtext = "Outsider"; }
			else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Giovane D'honore"; }
			else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Piciotto"; }
			else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Sgarrista"; }
			else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Capo Bastone"; }
  			else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Capo Crimini"; }
			else { rtext = "Outsider"; }
		}
		else if(PlayerInfo[targetid][pMember] == 6 || PlayerInfo[targetid][pLeader] == 6)//Grove street Ranks
		{
		    if(PlayerInfo[targetid][pRank] == 1) { rtext = "GSF Pocetnik"; }
			else if(PlayerInfo[targetid][pRank] == 2) { rtext = "GSF Pomagac"; }
			else if(PlayerInfo[targetid][pRank] == 3) { rtext = "GSF Gangster"; }
			else if(PlayerInfo[targetid][pRank] == 4) { rtext = "GSF Ubojica"; }
			else if(PlayerInfo[targetid][pRank] == 5) { rtext = "GSF Zamjenik"; }
			else if(PlayerInfo[targetid][pRank] == 6) { rtext = "GSF Lider"; }
			else { rtext = "GSF Pocetnik"; }
		}
		else if(PlayerInfo[targetid][pMember] == 7 || PlayerInfo[targetid][pLeader] == 7)//ballas Ranks
		{
		    if(PlayerInfo[targetid][pRank] == 1) { rtext = "The Ballas Pocetnik"; }
			else if(PlayerInfo[targetid][pRank] == 2) { rtext = "The Ballas Pomagac"; }
			else if(PlayerInfo[targetid][pRank] == 3) { rtext = "The Ballas Gangster"; }
			else if(PlayerInfo[targetid][pRank] == 4) { rtext = "The Ballas Ubojica"; }
			else if(PlayerInfo[targetid][pRank] == 5) { rtext = "The Ballas Zamjenik"; }
			else if(PlayerInfo[targetid][pRank] == 6) { rtext = "The Ballas Lider"; }
			else { rtext = "The Ballas Pocetnik"; }
		}
		else if(PlayerInfo[targetid][pMember] == 5 || PlayerInfo[targetid][pLeader] == 5)//East Blood Family Ranks
		{
		    if(PlayerInfo[targetid][pRank] == 1) { rtext = "Babbo Blood"; }
			else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Capo Blood"; }
			else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Enforcer Blood"; }
			else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Soldato Blood"; }
			else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Consligliere Blood"; }
			else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Captian Blood"; }
		    else if(PlayerInfo[targetid][pRank] == 7) { rtext = "Underboss Blood"; }
		    else if(PlayerInfo[targetid][pRank] == 8) { rtext = "GodFather Blood"; }
		    else if(PlayerInfo[targetid][pRank] == 9) { rtext = "Don Blood"; }
			else { rtext = "Babbo Blood"; }
        }
        else if(PlayerInfo[targetid][pMember] == 12 || PlayerInfo[targetid][pLeader] == 12)//East Blood Family Ranks
		{
		    if(PlayerInfo[targetid][pRank] == 1) { rtext = "Yakuza Pripravnik"; }
			else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Yakuza Clan"; }
			else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Yakuza Visi Clan"; }
			else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Yakuza General"; }
			else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Yakuza Podlider"; }
			else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Yakuza Lider"; }
			else { rtext = "Yakuza Pripravnik"; }
        }
        else if(IsAnInstructor(targetid))//grove mafia Ranks
		{
		    if(PlayerInfo[targetid][pRank] == 1) { rtext = "Instruktor pocetnik"; }
			else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Instruktor"; }
			else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Senior Instruktor"; }
			else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Menadjer"; }
			else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Zamjenik Voditelja"; }
		    else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Voditelj Autoskole"; }
			else { rtext = "Instruktor pocetnik"; }
		}
        else
		{
		    rtext = "Nista";
		}
        new jtext[20];
        if(PlayerInfo[targetid][pJob] == 1) { jtext = "Detektiv"; }
        else if(PlayerInfo[targetid][pJob] == 2) { jtext = "Odvjetnik"; }
        else if(PlayerInfo[targetid][pJob] == 3) { jtext = "Prostitutka"; }
        else if(PlayerInfo[targetid][pJob] == 4) { jtext = "Diler droge"; }
        else if(PlayerInfo[targetid][pJob] == 5) { jtext = "Kradljivac auta"; }
        else if(PlayerInfo[targetid][pJob] == 6) { jtext = "TuningRace Club"; }
        else if(PlayerInfo[targetid][pJob] == 7) { jtext = "Automehanicar"; }
        else if(PlayerInfo[targetid][pJob] == 8) { jtext = "Zastitarska sluzba"; }
        else if(PlayerInfo[targetid][pJob] == 9) { jtext = "Diler oruzjem"; }
        else if(PlayerInfo[targetid][pJob] == 10) { jtext = "Krijumcar autiju"; }
		else if(PlayerInfo[targetid][pJob] == 12) { jtext = "Boksac"; }
        else if(PlayerInfo[targetid][pJob] == 14) { jtext = "Vozac busa"; }
        else if(PlayerInfo[targetid][pJob] == 15) { jtext = "Paper Boy"; }
        else if(PlayerInfo[targetid][pJob] == 16) { jtext = "Vozac kamiona"; }
		else if(PlayerInfo[targetid][pJob] == 17) { jtext = "Donator"; }
		else if(PlayerInfo[targetid][pJob] == 18) { jtext = "Postar"; }
		else if(PlayerInfo[targetid][pJob] == 19) { jtext = "Taxist"; }
		else if(PlayerInfo[targetid][pJob] == 20) { jtext = "Komunalac"; }
		else if(PlayerInfo[targetid][pJob] == 21) { jtext = "Baustelac"; }
		else if(PlayerInfo[targetid][pJob] == 22) { jtext = "Vlakovodja"; }
		else if(PlayerInfo[targetid][pJob] == 23) { jtext = "Farmer"; }
        else { jtext = "Nista"; }
  		new drank[50];
		if(PlayerInfo[targetid][pDonateRank] == 1) { drank = "Donator lvl 1"; }
		else if(PlayerInfo[targetid][pDonateRank] == 2) { drank = "Donator lvl 2"; }
		else if(PlayerInfo[targetid][pDonateRank] == 3) { drank = "Donator lvl 3"; }
		else if(PlayerInfo[targetid][pDonateRank] == 4) { drank = "Donator lvl 4"; }
		else if(PlayerInfo[targetid][pDonateRank] == 5) { drank = "Donator lvl 5"; }
		else { drank = "Nista"; }
		new married[20];
		strmid(married, PlayerInfo[targetid][pMarriedTo], 0, strlen(PlayerInfo[targetid][pMarriedTo]), 255);
        new age = PlayerInfo[targetid][pAge];
		new ptime = PlayerInfo[targetid][pConnectTime];
		new deaths = PlayerInfo[targetid][pDeaths];
		new crimes = PlayerInfo[targetid][pCrimes];
  		new arrests = PlayerInfo[targetid][pArrested];
		new drugs = PlayerInfo[targetid][pDrugs];
		new mats = PlayerInfo[targetid][pMats];
		new level = PlayerInfo[targetid][pLevel];
		new exp = PlayerInfo[targetid][pExp];
		new kills = PlayerInfo[targetid][pKills];
		new pnumber = PlayerInfo[targetid][pPnumber];
		new account = PlayerInfo[targetid][pAccount];
		new donator = PlayerInfo[targetid][pDonator];
		new kredit = PlayerInfo[targetid][pKredit];
		new igra = PlayerInfo[playerid][pPayCheck]/225;
		new bon = PlayerInfo[targetid][pMobileBon];
		new nxtlevel = PlayerInfo[targetid][pLevel]+1;
		new expamount = nxtlevel*levelexp;
		/*new costlevel = nxtlevel*levelcost;//10k for testing purposes*/
		new Float:shealth = PlayerInfo[targetid][pSHealth];
		new Float:health;
		new name[MAX_PLAYER_NAME];
		GetPlayerName(targetid, name, sizeof(name));
		GetPlayerHealth(targetid,health);
		new Float:px,Float:py,Float:pz;
		GetPlayerPos(targetid, px, py, pz);
		new coordsstring[2048],coordsstringA[256],coordsstringB[256],coordsstringC[256],coordsstringD[256],coordsstringE[256];
    	format(coordsstringA, sizeof(coordsstringA), "{00CCFF}Ime:[%s] \n{00CCFF}Level:[%d] \n{FFFF00}Spol:[%s] \n{00CCFF}Starost:[%d] \n{FFFF00}Drzava:[%s]\n\n  Novaca:[$%d]\n{00CCFF}Bank:[$%d] \n{FFFF00}Br. moba:[%d]", name, level, atext, age, otext, cash, account, pnumber);
		format(coordsstringB, sizeof(coordsstringB), "\n\n{00CCFF}Donator Bodova:[%d] \n{FFFF00}Bracno stanje:[%s] \n{00CCFF}Sati igranja:[%d] \n{FFFF00}PayDay:[%d/30]", donator,married,ptime,igra);
		format(coordsstringC, sizeof(coordsstringC), "\n\n{00CCFF}Pocinjeni zlocini:[%d] \n{FFFF00}Vrijeme u zatvoru:[%d] \n{00CCFF}Posao:[%s] \n{FFFF00}Mobitel Bon:[%d] ", crimes,arrests,jtext,bon);
        format(coordsstringD, sizeof(coordsstringD), "\n\n{00CCFF}Ubojstva:[%d] \n{FFFF00}Smrti:[%d] \n{00CCFF}Respect:[%d/%d] \n{FFFF00}Obitelj:[%s] \n{00CCFF}Kredit iznos: [%d]",kills,deaths,exp,expamount,f2text,kredit);
		format(coordsstringE, sizeof(coordsstringE), "\n\n{00CCFF}Droge:[%d] \n{FFFF00}Materijali:[%d] \n{00CCFF}Bolest:[%s] \n{FFFF00}Organizacija:[%s] \n{00CCFF}Rank:[%s]",drugs,mats,dtext,ttext,rtext);
	    format(coordsstring, sizeof(coordsstring), "%s\n%s\n%s\n%s\n%s",coordsstringA,coordsstringB,coordsstringC,coordsstringD,coordsstringE);
	    ShowPlayerDialog(playerid,842,DIALOG_STYLE_MSGBOX,"|----------|{FF0000}Zivot Igraca|----------|{3300FF}Stats|----------||----------| Zivot Igraca|----------|Stats|----------||----------| Zivot Igraca|----------|Stats|----------||----------| Zivot Igraca|----------|Stats|----------|",coordsstring,"OK","Odustani");

	}
}


Evo ti primer samo pa ti uredjuj kako je sta kod tebe i dodaji.  ;)
Vidi Ovo mi je pomoglo ali
kada kucam /stats pise
Server Unknown Command!

Koristite
strcat(..);
-.-
puno je preglednije i kao stvoreno je za dialoge...

http://wiki.sa-mp.com/wiki/Strcat

evo primjer iz jednog DM moda...

stock ShowStats(playerid, prikaz)
{
	new string[512];
	new novac = GetPlayerMoney(playerid);
	new level = GetPVarInt(playerid, "Level");
	new kills = GetPVarInt(playerid, "Kills");
	new dead = GetPVarInt(playerid, "Smrti");
	new admin = GetPVarInt(playerid, "Admin");
	
	new tekst[64];
	GetPVarString(playerid, "ZadnjiPutOnline", tekst, sizeof tekst);
	
	//--------------Pretvaranje integera u string------------
	new mon[24];
	valstr(mon, novac);
	
	new lev[12];
	valstr(lev, level);
	
	new kill[12];
	valstr(kill, kills);
	
	new de[12];
	valstr(de, dead);
	
	new ad[12];
	valstr(ad, admin);
	//----------------------------------------------------------------
	strcat(string, "{3E9FCF}Igrac: {FFFFFF}"); strcat(string, Imeigraca(playerid)); strcat(string, "\n\n");
	strcat(string, "{FFFF31}Novac: {FFFFFF}"); strcat(string, mon); strcat(string, "$ | "); strcat(string, "Level: {FFFFFF}"); strcat(string, lev); strcat(string, "\n");
	strcat(string, "{FFFF31}Ubistva: {FFFFFF}"); strcat(string, kill); strcat(string, " | "); strcat(string, "Smrti: {FFFFFF}"); strcat(string, de); strcat(string, "\n");
	strcat(string, "{FFFF31}Admin: {FFFFFF}"); strcat(string, ad); strcat(string, " lvl"); strcat(string, " | {FFFF31}Zadnji Put Online:{FFFFFF} "); strcat(string, tekst);
	
	new str[64];
	
	format(str, sizeof str, "{3E9FCF}Igrac: {FFFFFF}%s | Statsi", Imeigraca(playerid));
	
	SPD(prikaz, STATS, DIALOG_STYLE_MSGBOX, str, string, "U redu", "");
	return 1;
}
Just one more time.