#1

Hi

i have one error

(12814) : error 054: unmatched closing brace ("}")

CMD

Код:
public ShowStats(playerid,targetid)
{
    if(IsPlayerConnected(playerid)&&IsPlayerConnected(targetid))
        {
                new cash =  GetPlayerMoney(targetid);
                new atext[20];
                if(PlayerInfo[targetid][pPol] == 1) { atext = "Masko"; }
                else if(PlayerInfo[targetid][pPol] == 2) { atext = "Zensko"; }
                new otext[20];
                if(PlayerInfo[targetid][pDrzava] == 1) { otext = "Hrvatska"; }
                else if(PlayerInfo[targetid][pDrzava] == 2) { otext = "Bosna"; }
                else if(PlayerInfo[targetid][pDrzava] == 3) { otext = "Makedonija"; }
                else if(PlayerInfo[targetid][pDrzava] == 4) { otext = "Srbija"; }
                 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 = "MBI Agent"; }
		else if(PlayerInfo[targetid][pMember] == 3 || PlayerInfo[targetid][pLeader] == 3) { ttext = "National Guard"; }
		else if(PlayerInfo[targetid][pMember] == 4 || PlayerInfo[targetid][pLeader] == 4) { ttext = "Bolnica"; }
		else if(PlayerInfo[targetid][pMember] == 5 || PlayerInfo[targetid][pLeader] == 5) { ttext = "LCN"; }
		else if(PlayerInfo[targetid][pMember] == 6 || PlayerInfo[targetid][pLeader] == 6) { ttext = "Grove Mafia"; }
		else if(PlayerInfo[targetid][pMember] == 8 || PlayerInfo[targetid][pLeader] == 8) { ttext = "Hitmen"; }
		else if(PlayerInfo[targetid][pMember] == 9 || PlayerInfo[targetid][pLeader] == 9) { ttext = "SkinHeads"; }
		else if(PlayerInfo[targetid][pMember] == 10 || PlayerInfo[targetid][pLeader] == 10) { ttext = "Taxi"; }
		else if(PlayerInfo[targetid][pMember] == 11 || PlayerInfo[targetid][pLeader] == 11) { ttext = "Licenseri"; }
		else if(PlayerInfo[targetid][pMember] == 14 || PlayerInfo[targetid][pLeader] == 14) { ttext = "Ballas"; }
		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 = "None"; }
	    new ftext[20];
	    if(PlayerInfo[targetid][pMember] == 4 || PlayerInfo[targetid][pLeader] == 4)
		{ ftext = "Firemen/Paramedics"; }
  		else if(PlayerInfo[targetid][pMember] == 5 || PlayerInfo[targetid][pLeader] == 5)
		{ ftext = "La Cosa Nostra"; }
		else if(PlayerInfo[targetid][pMember] == 6 || PlayerInfo[targetid][pLeader] == 6)
		{ ftext = "Grove Mafia"; }
		else if(PlayerInfo[targetid][pMember] == 11 || PlayerInfo[targetid][pLeader] == 11)
		{ ftext = "License Faction"; }
		else
		{ ftext = "None"; }
		new f2text[20];
	    if(PlayerInfo[targetid][pFMember] < 255) { f2text = FamilyInfo[PlayerInfo[targetid][pFMember]][FamilyName]; }
		else { f2text = "None"; }
	    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 = "PD.Ucenik"; }
			else if(PlayerInfo[targetid][pRank] == 2) { rtext = "PD.Policajac"; }
			else if(PlayerInfo[targetid][pRank] == 3) { rtext = "PD.Agent"; }
			else if(PlayerInfo[targetid][pRank] == 4) { rtext = "PD.Kapetan"; }
			else if(PlayerInfo[targetid][pRank] == 5) { rtext = "PD.Porucnik"; }
	        else if(PlayerInfo[targetid][pRank] == 6) { rtext = "PD.Direktor"; }
			else { rtext = "PD.Ucenik"; }
		}
		else if(PlayerInfo[targetid][pMember] == 2 || PlayerInfo[targetid][pLeader] == 2)//MBI Ranks
		{
		    if(PlayerInfo[targetid][pRank] == 1) { rtext = "MBI.Agent"; }
			else if(PlayerInfo[targetid][pRank] == 2) { rtext = "MBI.Presretac"; }
			else if(PlayerInfo[targetid][pRank] == 3) { rtext = "MBI.Tajni Agent"; }
			else if(PlayerInfo[targetid][pRank] == 4) { rtext = "MBI.Cobra"; }
			else if(PlayerInfo[targetid][pRank] == 5) { rtext = "MBI.Zamjenik"; }
		    else if(PlayerInfo[targetid][pRank] == 6) { rtext = "MBI.Direktor"; }
			else { rtext = "MBI.Agent"; }
		}
		else if(PlayerInfo[targetid][pMember] == 3 || PlayerInfo[targetid][pLeader] == 3)//NG Ranks
		{
		    if(PlayerInfo[targetid][pRank] == 1) { rtext = "ARM Vojnik"; }
			else if(PlayerInfo[targetid][pRank] == 2) { rtext = "ARM Casnik"; }
			else if(PlayerInfo[targetid][pRank] == 3) { rtext = "ARM Deserter"; }
			else if(PlayerInfo[targetid][pRank] == 4) { rtext = "ARM Major"; }
			else if(PlayerInfo[targetid][pRank] == 5) { rtext = "ARM Polkovnik"; }
		    else if(PlayerInfo[targetid][pRank] == 6) { rtext = "ARM General"; }
			else { rtext = "S:W:A:T.Vojnik"; }
		}
		else if(PlayerInfo[targetid][pMember] == 5 || PlayerInfo[targetid][pLeader] == 5)//LCN Ranks
		{
		    if(PlayerInfo[targetid][pRank] == 1) { rtext = "Assistant"; }
			else if(PlayerInfo[targetid][pRank] == 2) { rtext = "D'Caprio"; }
			else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Capo"; }
			else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Boss"; }
			else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Master Boss"; }
		    else if(PlayerInfo[targetid][pRank] == 6) { rtext = "The GodFather"; }
			else { rtext = "Assistant"; }
		}
		else if(PlayerInfo[targetid][pMember] == 8 || PlayerInfo[targetid][pLeader] == 8)//Hitman Ranks
		{
		    if(PlayerInfo[targetid][pRank] == 1) { rtext = "Freelancer"; }
			else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Marksman"; }
			else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Agent"; }
			else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Special Agent"; }
			else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Vice-Director"; }
		    else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Director"; }
			else { rtext = "Freelancer"; }
		}
		else if(PlayerInfo[targetid][pMember] == 9 || PlayerInfo[targetid][pLeader] == 9)//NR Ranks
		{
		    if(PlayerInfo[targetid][pRank] == 1) { rtext = "SkinHeads NoviClan"; }
			else if(PlayerInfo[targetid][pRank] == 2) { rtext = "SkinHeads LocalBandit"; }
			else if(PlayerInfo[targetid][pRank] == 3) { rtext = "SkinHeads Bnadit"; }
			else if(PlayerInfo[targetid][pRank] == 4) { rtext = "SkinHeads Spijun"; }
			else if(PlayerInfo[targetid][pRank] == 5) { rtext = "SkinHeads Podlider"; }
		    else if(PlayerInfo[targetid][pRank] == 6) { rtext = "SkinHeads Lider."; }
			else { rtext = "SkinHeads NoviClan"; }
		}
		else if(PlayerInfo[targetid][pMember] == 4 || PlayerInfo[targetid][pLeader] == 4)//NR Ranks
		{
		    if(PlayerInfo[targetid][pRank] == 1) { rtext = "MD.Brat/Sestra"; }
			else if(PlayerInfo[targetid][pRank] == 2) { rtext = "MD.Doktor"; }
			else if(PlayerInfo[targetid][pRank] == 3) { rtext = "MD.Hirurg"; }
			else if(PlayerInfo[targetid][pRank] == 4) { rtext = "MD.Spec.Hirurg"; }
			else if(PlayerInfo[targetid][pRank] == 5) { rtext = "MD.Z.Direktor"; }
		    else if(PlayerInfo[targetid][pRank] == 6) { rtext = "MD.Direktor"; }
			else { rtext = "MD.Brat/Sestra"; }
		}
		else if(PlayerInfo[targetid][pMember] == 10 || PlayerInfo[targetid][pLeader] == 10)//Taxi Company Ranks
		{
		    if(PlayerInfo[targetid][pRank] == 1) { rtext = "Taxi Ucenik"; }
			else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Taxi LocalVozac"; }
			else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Taxi Vozac"; }
			else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Taxi Clan "; }
			else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Taxi PodLider"; }
		    else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Taxi Lider"; }
			else { rtext = "Taxi Ucenik"; }
		}
//		else if(IsAnInstructor(targetid))//grove mafia Ranks
//		{
//		    if(PlayerInfo[targetid][pRank] == 1) { rtext = "LIC.Ucenik"; }
//			else if(PlayerInfo[targetid][pRank] == 2) { rtext = "LIC.Instruktor"; }
//			else if(PlayerInfo[targetid][pRank] == 3) { rtext = "LIC.Stariji Instruktor"; }
//			else if(PlayerInfo[targetid][pRank] == 4) { rtext = "LIC.Pro Instruktor"; }
//			else if(PlayerInfo[targetid][pRank] == 5) { rtext = "LIC.Zamjenik"; }
//		    else if(PlayerInfo[targetid][pRank] == 6) { rtext = "LIC.Leader"; }
//			else { rtext = "LIC.Ucenik"; }
//		}
//		else
//		{
		    rtext = "None";
		}
				new jtext[20];
                if(PlayerInfo[targetid][pJob] == 1) { jtext = "Detective"; }
                else if(PlayerInfo[targetid][pJob] == 2) { jtext = "Lawyer"; }
                else if(PlayerInfo[targetid][pJob] == 3) { jtext = "Whore"; }
                else if(PlayerInfo[targetid][pJob] == 4) { jtext = "Drugs Dealer"; }
                else if(PlayerInfo[targetid][pJob] == 5) { jtext = "Car Jackert"; }
                else if(PlayerInfo[targetid][pJob] == 6) { jtext = "TuningRace Club"; }
                else if(PlayerInfo[targetid][pJob] == 7) { jtext = "Mehanicar"; }
                else if(PlayerInfo[targetid][pJob] == 8) { jtext = "Bodyguard"; }
                else if(PlayerInfo[targetid][pJob] == 9) { jtext = "Arms Dealer"; }
                else if(PlayerInfo[targetid][pJob] == 10) { jtext = "Car Dealer"; }
                else if(PlayerInfo[targetid][pJob] == 12) { jtext = "Boxer"; }
                else if(PlayerInfo[targetid][pJob] == 14) { jtext = "Avtobus Vozac"; }
                else if(PlayerInfo[targetid][pJob] == 15) { jtext = "Dostavuvac na Meso"; }
                else if(PlayerInfo[targetid][pJob] == 16) { jtext = "Kamiondzija"; }
                else if(PlayerInfo[targetid][pJob] == 17) { jtext = "Donator"; }
                else if(PlayerInfo[targetid][pJob] == 18) { jtext = "D.H.L"; }
                else if(PlayerInfo[targetid][pJob] == 31) { jtext = "Rudar"; }
                else if(PlayerInfo[targetid][pJob] == 32) { jtext = "Sumar"; }
                else { jtext = "None"; }
                new drank[20];
                if(PlayerInfo[targetid][pDonateRank] == 1) { drank = "Easy User"; }
                else if(PlayerInfo[targetid][pDonateRank] == 2) { drank = "Medium User"; }
                else if(PlayerInfo[targetid][pDonateRank] == 3) { drank = "Hard User"; }
                else if(PlayerInfo[targetid][pDonateRank] == 4) { drank = "Strong User"; }
                else if(PlayerInfo[targetid][pDonateRank] == 5) { drank = "Very Strong User"; }
                else { drank = "None"; }
                new married[20];
                strmid(married, PlayerInfo[targetid][pMarriedTo], 0, strlen(PlayerInfo[targetid][pMarriedTo]), 255);
        //      new poenid = PlayerInfo[targetid][pDonatorPoeni];
                new age = PlayerInfo[targetid][pGodine];
                new ptime = PlayerInfo[targetid][pConnectTime];
                new drugs = PlayerInfo[targetid][pDrugs];
                new mats = PlayerInfo[targetid][pMats];
                new fishes = PlayerInfo[targetid][pFishes];
        //      new lotto = PlayerInfo[targetid][pLottoNr];
                new wanted = WantedLevel[targetid];
                new level = PlayerInfo[targetid][pLevel];
                new pnumber = PlayerInfo[targetid][pPnumber];
                new account = PlayerInfo[targetid][pAccount];
                new warns = PlayerInfo[targetid][pWarns];
                new bankomat = PlayerInfo[targetid][pKreditnaKarticka];
                new rabotna = PlayerInfo[targetid][pRabotnaKniska];
                new pincard = PlayerInfo[targetid][pPinKod];
                new name[MAX_PLAYER_NAME];
                GetPlayerName(targetid, name, sizeof(name));
                new Float:px,Float:py,Float:pz;
                GetPlayerPos(targetid, px, py, pz);
                new info[1300],string[128],godina,mesec,dan,sati,minute,sekunde;
                getdate(godina, mesec, dan), gettime(sati, minute, sekunde);
                format(string,sizeof(string),"{1364BA}Ime:\t\t\t\t{FFAB00}[%s]\n", name);
                strcat(info, string);
                format(string,sizeof(string),"{1364BA}Level:\t\t\t\t{FFAB00}[%d]\n", level);
                strcat(info, string);
                format(string,sizeof(string),"{1364BA}Don Rank:\t\t\t{FFAB00}[%s]\n", drank);
                strcat(info, string);
                format(string,sizeof(string),"{1364BA}Casovi na igranje:\t\t{FFAB00}[%d]\n", ptime);
                strcat(info, string);
                format(string,sizeof(string),"{1364BA}Opomeni:\t\t\t{FFAB00}[%d]\n", warns);
                strcat(info, string);
                format(string,sizeof(string),"{6DFC2E}Godini:\t\t\t\t{FFAB00}[%d]\n", age);
                strcat(info, string);
                format(string,sizeof(string),"{6DFC2E}Drzava:\t\t\t{FFAB00}[%s]\n", pDrzava);
                strcat(info, string);
                format(string,sizeof(string),"{6DFC2E}Pol:\t\t\t\t{FFAB00}[%s]\n", pPol);
                strcat(info, string);
                format(string,sizeof(string),"{6DFC2E}Broj:\t\t\t\t{FFAB00}[%d]\n", pnumber);
                strcat(info, string);
                format(string,sizeof(string),"{6DFC2E}Rabota:\t\t\t{FFAB00}[%s]\n", pJob);
                strcat(info, string);
                format(string,sizeof(string),"{6DFC2E}Org/Banda/Mafija:\t\t{FFAB00}[%s]\n", ttext[20]);
                strcat(info, string);
                format(string,sizeof(string),"{6DFC2E}Tim:\t\t\t\t{FFAB00}[%s]\n", pTeam);
                strcat(info, string);
                format(string,sizeof(string),"{6DFC2E}Rank:\t\t\t\t{FFAB00}[%s]\n", rtext[64]);
                strcat(info, string);
                format(string,sizeof(string),"{6DFC2E}Vo brak so:\t\t\t{FFAB00}[%s]\n", married);
                strcat(info, string);
                format(string,sizeof(string),"{6DFC2E}Wanted:\t\t\t{FFAB00}[%d]\n", wanted);
                strcat(info, string);
                format(string,sizeof(string),"{FF4040}Pari Banka:\t\t\t{FFAB00}[%d]\n", account);
                strcat(info, string);
                format(string,sizeof(string), "{FF4040}Kreditna Karticka:\t\t{FFAB00}[%d]\n",bankomat);
                strcat(info, string);
                format(string,sizeof(string), "{FF4040}PIN-KOD:\t\t\t{FFAB00}[%d]\n",pincard);
                strcat(info, string);
                format(string,sizeof(string),"{FF4040}Kes Pari:\t\t\t{FFAB00}[%d]\n", pCash);
                strcat(info, string);
                format(string,sizeof(string),"{FF4040}Rabotna Kniska:\t\t{FFAB00}[%d]\n", rabotna);
                strcat(info, string);
                strcat(info, "{7FB8FF}Prva Pomos:\t\t\t{FFAB00}[0]\n", sizeof(info));
                format(string,sizeof(string),"{7FB8FF}Droga:\t\t\t\t{FFAB00}[%d]\n", drugs);
                strcat(info, string);
                format(string,sizeof(string),"{7FB8FF}Matrijali:\t\t\t{FFAB00}[%d]\n", mats);
                strcat(info, string);
                strcat(info, "{7FB8FF}Droga-Seme:\t\t\t{FFAB00}[0]\n", sizeof(info));
                strcat(info, "{7FB8FF}Paketi-Matrijali:\t\t\t{FFAB00}[0]\n", sizeof(info));
                format(string,sizeof(string),"{7FB8FF}Bombi:\t\t\t\t{FFAB00}[%d]\n", bomb);
                strcat(info, string);
                format(string,sizeof(string),"{7FB8FF}Ribi:\t\t\t\t{FFAB00}[%d]\n", fishes);
                strcat(info, string);
                format(string,sizeof(string),"{7FB8FF}Lotto Broj:\t\t\t{FFAB00}[%d/%d/%d/%d/%d/%d]\n" );
                strcat(info, string);
                format(string,sizeof(string),"{7FB8FF}Don.Poeni:\t\t\t{FFAB00}[%s]\n\n", pDonatorPoeni );
                strcat(info, string);
                strcat(info, "{7FB8FF}Email: {FFAB00}Skriena [/mojamail za da ja vidis]\n", sizeof(info));
                format(string,sizeof(string),"{F81414}Datum: %d/%s%d/%s%d | Vreme: %s%d:%s%d:%s%d\n", dan, ((mesec < 10) ? ("0") : ("")), mesec, (godina < 10) ? ("0") : (""), godina, (sati < 10) ? ("0") : (""), sati, (minute < 10) ? ("0") : (""), minute, (sekunde < 10) ? ("0") : (""), sekunde);
                strcat(info, string);
                ShowPlayerDialog(playerid,13,DIALOG_STYLE_MSGBOX, "Statsi", info, "OK", "");
        }
}
Line }
Reply
#2

Show us the line.
Pokazi nam liniju 12814.
Reply
#3

you didn't properly closed bracket.. or you have more closed or opened bracket than you need

p.s. it's not "masko" .. it's "musko" like male you know
Reply
#4

pawn Код:
public ShowStats(playerid,targetid)
{
    if(IsPlayerConnected(playerid)&&IsPlayerConnected(targetid))
    {
                new cash =  GetPlayerMoney(targetid);
                new atext[20];
                if(PlayerInfo[targetid][pPol] == 1) { atext = "Masko"; }
                else if(PlayerInfo[targetid][pPol] == 2) { atext = "Zensko"; }
                new otext[20];
                if(PlayerInfo[targetid][pDrzava] == 1) { otext = "Hrvatska"; }
                else if(PlayerInfo[targetid][pDrzava] == 2) { otext = "Bosna"; }
                else if(PlayerInfo[targetid][pDrzava] == 3) { otext = "Makedonija"; }
                else if(PlayerInfo[targetid][pDrzava] == 4) { otext = "Srbija"; }
                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 = "MBI Agent"; }
        else if(PlayerInfo[targetid][pMember] == 3 || PlayerInfo[targetid][pLeader] == 3) { ttext = "National Guard"; }
        else if(PlayerInfo[targetid][pMember] == 4 || PlayerInfo[targetid][pLeader] == 4) { ttext = "Bolnica"; }
        else if(PlayerInfo[targetid][pMember] == 5 || PlayerInfo[targetid][pLeader] == 5) { ttext = "LCN"; }
        else if(PlayerInfo[targetid][pMember] == 6 || PlayerInfo[targetid][pLeader] == 6) { ttext = "Grove Mafia"; }
        else if(PlayerInfo[targetid][pMember] == 8 || PlayerInfo[targetid][pLeader] == 8) { ttext = "Hitmen"; }
        else if(PlayerInfo[targetid][pMember] == 9 || PlayerInfo[targetid][pLeader] == 9) { ttext = "SkinHeads"; }
        else if(PlayerInfo[targetid][pMember] == 10 || PlayerInfo[targetid][pLeader] == 10) { ttext = "Taxi"; }
        else if(PlayerInfo[targetid][pMember] == 11 || PlayerInfo[targetid][pLeader] == 11) { ttext = "Licenseri"; }
        else if(PlayerInfo[targetid][pMember] == 14 || PlayerInfo[targetid][pLeader] == 14) { ttext = "Ballas"; }
        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 = "None"; }
        new ftext[20];
        if(PlayerInfo[targetid][pMember] == 4 || PlayerInfo[targetid][pLeader] == 4)
        { ftext = "Firemen/Paramedics"; }
        else if(PlayerInfo[targetid][pMember] == 5 || PlayerInfo[targetid][pLeader] == 5)
        { ftext = "La Cosa Nostra"; }
        else if(PlayerInfo[targetid][pMember] == 6 || PlayerInfo[targetid][pLeader] == 6)
        { ftext = "Grove Mafia"; }
        else if(PlayerInfo[targetid][pMember] == 11 || PlayerInfo[targetid][pLeader] == 11)
        { ftext = "License Faction"; }
        else
        { ftext = "None"; }
        new f2text[20];
        if(PlayerInfo[targetid][pFMember] < 255) { f2text = FamilyInfo[PlayerInfo[targetid][pFMember]][FamilyName]; }
        else { f2text = "None"; }
        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 = "PD.Ucenik"; }
            else if(PlayerInfo[targetid][pRank] == 2) { rtext = "PD.Policajac"; }
            else if(PlayerInfo[targetid][pRank] == 3) { rtext = "PD.Agent"; }
            else if(PlayerInfo[targetid][pRank] == 4) { rtext = "PD.Kapetan"; }
            else if(PlayerInfo[targetid][pRank] == 5) { rtext = "PD.Porucnik"; }
            else if(PlayerInfo[targetid][pRank] == 6) { rtext = "PD.Direktor"; }
            else { rtext = "PD.Ucenik"; }
        }
        else if(PlayerInfo[targetid][pMember] == 2 || PlayerInfo[targetid][pLeader] == 2)//MBI Ranks
        {
            if(PlayerInfo[targetid][pRank] == 1) { rtext = "MBI.Agent"; }
            else if(PlayerInfo[targetid][pRank] == 2) { rtext = "MBI.Presretac"; }
            else if(PlayerInfo[targetid][pRank] == 3) { rtext = "MBI.Tajni Agent"; }
            else if(PlayerInfo[targetid][pRank] == 4) { rtext = "MBI.Cobra"; }
            else if(PlayerInfo[targetid][pRank] == 5) { rtext = "MBI.Zamjenik"; }
            else if(PlayerInfo[targetid][pRank] == 6) { rtext = "MBI.Direktor"; }
            else { rtext = "MBI.Agent"; }
        }
        else if(PlayerInfo[targetid][pMember] == 3 || PlayerInfo[targetid][pLeader] == 3)//NG Ranks
        {
            if(PlayerInfo[targetid][pRank] == 1) { rtext = "ARM Vojnik"; }
            else if(PlayerInfo[targetid][pRank] == 2) { rtext = "ARM Casnik"; }
            else if(PlayerInfo[targetid][pRank] == 3) { rtext = "ARM Deserter"; }
            else if(PlayerInfo[targetid][pRank] == 4) { rtext = "ARM Major"; }
            else if(PlayerInfo[targetid][pRank] == 5) { rtext = "ARM Polkovnik"; }
            else if(PlayerInfo[targetid][pRank] == 6) { rtext = "ARM General"; }
            else { rtext = "S:W:A:T.Vojnik"; }
        }
        else if(PlayerInfo[targetid][pMember] == 5 || PlayerInfo[targetid][pLeader] == 5)//LCN Ranks
        {
            if(PlayerInfo[targetid][pRank] == 1) { rtext = "Assistant"; }
            else if(PlayerInfo[targetid][pRank] == 2) { rtext = "D'Caprio"; }
            else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Capo"; }
            else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Boss"; }
            else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Master Boss"; }
            else if(PlayerInfo[targetid][pRank] == 6) { rtext = "The GodFather"; }
            else { rtext = "Assistant"; }
        }
        else if(PlayerInfo[targetid][pMember] == 8 || PlayerInfo[targetid][pLeader] == 8)//Hitman Ranks
        {
            if(PlayerInfo[targetid][pRank] == 1) { rtext = "Freelancer"; }
            else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Marksman"; }
            else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Agent"; }
            else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Special Agent"; }
            else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Vice-Director"; }
            else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Director"; }
            else { rtext = "Freelancer"; }
        }
        else if(PlayerInfo[targetid][pMember] == 9 || PlayerInfo[targetid][pLeader] == 9)//NR Ranks
        {
            if(PlayerInfo[targetid][pRank] == 1) { rtext = "SkinHeads NoviClan"; }
            else if(PlayerInfo[targetid][pRank] == 2) { rtext = "SkinHeads LocalBandit"; }
            else if(PlayerInfo[targetid][pRank] == 3) { rtext = "SkinHeads Bnadit"; }
            else if(PlayerInfo[targetid][pRank] == 4) { rtext = "SkinHeads Spijun"; }
            else if(PlayerInfo[targetid][pRank] == 5) { rtext = "SkinHeads Podlider"; }
            else if(PlayerInfo[targetid][pRank] == 6) { rtext = "SkinHeads Lider."; }
            else { rtext = "SkinHeads NoviClan"; }
        }
        else if(PlayerInfo[targetid][pMember] == 4 || PlayerInfo[targetid][pLeader] == 4)//NR Ranks
        {
            if(PlayerInfo[targetid][pRank] == 1) { rtext = "MD.Brat/Sestra"; }
            else if(PlayerInfo[targetid][pRank] == 2) { rtext = "MD.Doktor"; }
            else if(PlayerInfo[targetid][pRank] == 3) { rtext = "MD.Hirurg"; }
            else if(PlayerInfo[targetid][pRank] == 4) { rtext = "MD.Spec.Hirurg"; }
            else if(PlayerInfo[targetid][pRank] == 5) { rtext = "MD.Z.Direktor"; }
            else if(PlayerInfo[targetid][pRank] == 6) { rtext = "MD.Direktor"; }
            else { rtext = "MD.Brat/Sestra"; }
        }
        else if(PlayerInfo[targetid][pMember] == 10 || PlayerInfo[targetid][pLeader] == 10)//Taxi Company Ranks
        {
            if(PlayerInfo[targetid][pRank] == 1) { rtext = "Taxi Ucenik"; }
            else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Taxi LocalVozac"; }
            else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Taxi Vozac"; }
            else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Taxi Clan "; }
            else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Taxi PodLider"; }
            else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Taxi Lider"; }
            else { rtext = "Taxi Ucenik"; }
        }
//      else if(IsAnInstructor(targetid))//grove mafia Ranks
//      {
//          if(PlayerInfo[targetid][pRank] == 1) { rtext = "LIC.Ucenik"; }
//          else if(PlayerInfo[targetid][pRank] == 2) { rtext = "LIC.Instruktor"; }
//          else if(PlayerInfo[targetid][pRank] == 3) { rtext = "LIC.Stariji Instruktor"; }
//          else if(PlayerInfo[targetid][pRank] == 4) { rtext = "LIC.Pro Instruktor"; }
//          else if(PlayerInfo[targetid][pRank] == 5) { rtext = "LIC.Zamjenik"; }
//          else if(PlayerInfo[targetid][pRank] == 6) { rtext = "LIC.Leader"; }
//          else { rtext = "LIC.Ucenik"; }
//      }
//      else
//      {
//          rtext = "None";
//      }
                new jtext[20];
                if(PlayerInfo[targetid][pJob] == 1) { jtext = "Detective"; }
                else if(PlayerInfo[targetid][pJob] == 2) { jtext = "Lawyer"; }
                else if(PlayerInfo[targetid][pJob] == 3) { jtext = "Whore"; }
                else if(PlayerInfo[targetid][pJob] == 4) { jtext = "Drugs Dealer"; }
                else if(PlayerInfo[targetid][pJob] == 5) { jtext = "Car Jackert"; }
                else if(PlayerInfo[targetid][pJob] == 6) { jtext = "TuningRace Club"; }
                else if(PlayerInfo[targetid][pJob] == 7) { jtext = "Mehanicar"; }
                else if(PlayerInfo[targetid][pJob] == 8) { jtext = "Bodyguard"; }
                else if(PlayerInfo[targetid][pJob] == 9) { jtext = "Arms Dealer"; }
                else if(PlayerInfo[targetid][pJob] == 10) { jtext = "Car Dealer"; }
                else if(PlayerInfo[targetid][pJob] == 12) { jtext = "Boxer"; }
                else if(PlayerInfo[targetid][pJob] == 14) { jtext = "Avtobus Vozac"; }
                else if(PlayerInfo[targetid][pJob] == 15) { jtext = "Dostavuvac na Meso"; }
                else if(PlayerInfo[targetid][pJob] == 16) { jtext = "Kamiondzija"; }
                else if(PlayerInfo[targetid][pJob] == 17) { jtext = "Donator"; }
                else if(PlayerInfo[targetid][pJob] == 18) { jtext = "D.H.L"; }
                else if(PlayerInfo[targetid][pJob] == 31) { jtext = "Rudar"; }
                else if(PlayerInfo[targetid][pJob] == 32) { jtext = "Sumar"; }
                else { jtext = "None"; }
                new drank[20];
                if(PlayerInfo[targetid][pDonateRank] == 1) { drank = "Easy User"; }
                else if(PlayerInfo[targetid][pDonateRank] == 2) { drank = "Medium User"; }
                else if(PlayerInfo[targetid][pDonateRank] == 3) { drank = "Hard User"; }
                else if(PlayerInfo[targetid][pDonateRank] == 4) { drank = "Strong User"; }
                else if(PlayerInfo[targetid][pDonateRank] == 5) { drank = "Very Strong User"; }
                else { drank = "None"; }
                new married[20];
                strmid(married, PlayerInfo[targetid][pMarriedTo], 0, strlen(PlayerInfo[targetid][pMarriedTo]), 255);
        //      new poenid = PlayerInfo[targetid][pDonatorPoeni];
                new age = PlayerInfo[targetid][pGodine];
                new ptime = PlayerInfo[targetid][pConnectTime];
                new drugs = PlayerInfo[targetid][pDrugs];
                new mats = PlayerInfo[targetid][pMats];
                new fishes = PlayerInfo[targetid][pFishes];
        //      new lotto = PlayerInfo[targetid][pLottoNr];
                new wanted = WantedLevel[targetid];
                new level = PlayerInfo[targetid][pLevel];
                new pnumber = PlayerInfo[targetid][pPnumber];
                new account = PlayerInfo[targetid][pAccount];
                new warns = PlayerInfo[targetid][pWarns];
                new bankomat = PlayerInfo[targetid][pKreditnaKarticka];
                new rabotna = PlayerInfo[targetid][pRabotnaKniska];
                new pincard = PlayerInfo[targetid][pPinKod];
                new name[MAX_PLAYER_NAME];
                GetPlayerName(targetid, name, sizeof(name));
                new Float:px,Float:py,Float:pz;
                GetPlayerPos(targetid, px, py, pz);
                new info[1300],string[128],godina,mesec,dan,sati,minute,sekunde;
                getdate(godina, mesec, dan), gettime(sati, minute, sekunde);
                format(string,sizeof(string),"{1364BA}Ime:\t\t\t\t{FFAB00}[%s]\n", name);
                strcat(info, string);
                format(string,sizeof(string),"{1364BA}Level:\t\t\t\t{FFAB00}[%d]\n", level);
                strcat(info, string);
                format(string,sizeof(string),"{1364BA}Don Rank:\t\t\t{FFAB00}[%s]\n", drank);
                strcat(info, string);
                format(string,sizeof(string),"{1364BA}Casovi na igranje:\t\t{FFAB00}[%d]\n", ptime);
                strcat(info, string);
                format(string,sizeof(string),"{1364BA}Opomeni:\t\t\t{FFAB00}[%d]\n", warns);
                strcat(info, string);
                format(string,sizeof(string),"{6DFC2E}Godini:\t\t\t\t{FFAB00}[%d]\n", age);
                strcat(info, string);
                format(string,sizeof(string),"{6DFC2E}Drzava:\t\t\t{FFAB00}[%s]\n", pDrzava);
                strcat(info, string);
                format(string,sizeof(string),"{6DFC2E}Pol:\t\t\t\t{FFAB00}[%s]\n", pPol);
                strcat(info, string);
                format(string,sizeof(string),"{6DFC2E}Broj:\t\t\t\t{FFAB00}[%d]\n", pnumber);
                strcat(info, string);
                format(string,sizeof(string),"{6DFC2E}Rabota:\t\t\t{FFAB00}[%s]\n", pJob);
                strcat(info, string);
                format(string,sizeof(string),"{6DFC2E}Org/Banda/Mafija:\t\t{FFAB00}[%s]\n", ttext[20]);
                strcat(info, string);
                format(string,sizeof(string),"{6DFC2E}Tim:\t\t\t\t{FFAB00}[%s]\n", pTeam);
                strcat(info, string);
                format(string,sizeof(string),"{6DFC2E}Rank:\t\t\t\t{FFAB00}[%s]\n", rtext[64]);
                strcat(info, string);
                format(string,sizeof(string),"{6DFC2E}Vo brak so:\t\t\t{FFAB00}[%s]\n", married);
                strcat(info, string);
                format(string,sizeof(string),"{6DFC2E}Wanted:\t\t\t{FFAB00}[%d]\n", wanted);
                strcat(info, string);
                format(string,sizeof(string),"{FF4040}Pari Banka:\t\t\t{FFAB00}[%d]\n", account);
                strcat(info, string);
                format(string,sizeof(string), "{FF4040}Kreditna Karticka:\t\t{FFAB00}[%d]\n",bankomat);
                strcat(info, string);
                format(string,sizeof(string), "{FF4040}PIN-KOD:\t\t\t{FFAB00}[%d]\n",pincard);
                strcat(info, string);
                format(string,sizeof(string),"{FF4040}Kes Pari:\t\t\t{FFAB00}[%d]\n", pCash);
                strcat(info, string);
                format(string,sizeof(string),"{FF4040}Rabotna Kniska:\t\t{FFAB00}[%d]\n", rabotna);
                strcat(info, string);
                strcat(info, "{7FB8FF}Prva Pomos:\t\t\t{FFAB00}[0]\n", sizeof(info));
                format(string,sizeof(string),"{7FB8FF}Droga:\t\t\t\t{FFAB00}[%d]\n", drugs);
                strcat(info, string);
                format(string,sizeof(string),"{7FB8FF}Matrijali:\t\t\t{FFAB00}[%d]\n", mats);
                strcat(info, string);
                strcat(info, "{7FB8FF}Droga-Seme:\t\t\t{FFAB00}[0]\n", sizeof(info));
                strcat(info, "{7FB8FF}Paketi-Matrijali:\t\t\t{FFAB00}[0]\n", sizeof(info));
                format(string,sizeof(string),"{7FB8FF}Bombi:\t\t\t\t{FFAB00}[%d]\n", bomb);
                strcat(info, string);
                format(string,sizeof(string),"{7FB8FF}Ribi:\t\t\t\t{FFAB00}[%d]\n", fishes);
                strcat(info, string);
                format(string,sizeof(string),"{7FB8FF}Lotto Broj:\t\t\t{FFAB00}[%d/%d/%d/%d/%d/%d]\n" );
                strcat(info, string);
                format(string,sizeof(string),"{7FB8FF}Don.Poeni:\t\t\t{FFAB00}[%s]\n\n", pDonatorPoeni );
                strcat(info, string);
                strcat(info, "{7FB8FF}Email: {FFAB00}Skriena [/mojamail za da ja vidis]\n", sizeof(info));
                format(string,sizeof(string),"{F81414}Datum: %d/%s%d/%s%d | Vreme: %s%d:%s%d:%s%d\n", dan, ((mesec < 10) ? ("0") : ("")), mesec, (godina < 10) ? ("0") : (""), godina, (sati < 10) ? ("0") : (""), sati, (minute < 10) ? ("0") : (""), minute, (sekunde < 10) ? ("0") : (""), sekunde);
                strcat(info, string);
                ShowPlayerDialog(playerid,13,DIALOG_STYLE_MSGBOX, "Statsi", info, "OK", "");
    }
}
use this . SOLVED!
Reply
#5

Show me the 12814th line.
Reply
#6

line 12814 }
Reply
#7

It means that you have more of { than } look where the missing one is.
Reply
#8

PHP код:
public ShowStats(playerid,targetid)
{
    if(
IsPlayerConnected(playerid)&&IsPlayerConnected(targetid))
    {
                new 
cash =  GetPlayerMoney(targetid);
                new 
atext[20];
                if(
PlayerInfo[targetid][pPol] == 1) { atext "Masko"; }
                else if(
PlayerInfo[targetid][pPol] == 2) { atext "Zensko"; }
                new 
otext[20];
                if(
PlayerInfo[targetid][pDrzava] == 1) { otext "Hrvatska"; }
                else if(
PlayerInfo[targetid][pDrzava] == 2) { otext "Bosna"; }
                else if(
PlayerInfo[targetid][pDrzava] == 3) { otext "Makedonija"; }
                else if(
PlayerInfo[targetid][pDrzava] == 4) { otext "Srbija"; }
                new 
ttext[20];
        if(
PlayerInfo[targetid][pMember] == || PlayerInfo[targetid][pLeader] == 4) { ttext "Medic"; }
        else if(
gTeam[targetid] == || gTeam[targetid] == 4) { ttext "Civilian"; }
        else if(
PlayerInfo[targetid][pMember] == || PlayerInfo[targetid][pLeader] == 1) { ttext "Policija"; }
        else if(
PlayerInfo[targetid][pMember] == || PlayerInfo[targetid][pLeader] == 2) { ttext "MBI Agent"; }
        else if(
PlayerInfo[targetid][pMember] == || PlayerInfo[targetid][pLeader] == 3) { ttext "National Guard"; }
        else if(
PlayerInfo[targetid][pMember] == || PlayerInfo[targetid][pLeader] == 4) { ttext "Bolnica"; }
        else if(
PlayerInfo[targetid][pMember] == || PlayerInfo[targetid][pLeader] == 5) { ttext "LCN"; }
        else if(
PlayerInfo[targetid][pMember] == || PlayerInfo[targetid][pLeader] == 6) { ttext "Grove Mafia"; }
        else if(
PlayerInfo[targetid][pMember] == || PlayerInfo[targetid][pLeader] == 8) { ttext "Hitmen"; }
        else if(
PlayerInfo[targetid][pMember] == || PlayerInfo[targetid][pLeader] == 9) { ttext "SkinHeads"; }
        else if(
PlayerInfo[targetid][pMember] == 10 || PlayerInfo[targetid][pLeader] == 10) { ttext "Taxi"; }
        else if(
PlayerInfo[targetid][pMember] == 11 || PlayerInfo[targetid][pLeader] == 11) { ttext "Licenseri"; }
        else if(
PlayerInfo[targetid][pMember] == 14 || PlayerInfo[targetid][pLeader] == 14) { ttext "Ballas"; }
        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 "None"; }
        new 
ftext[20];
        if(
PlayerInfo[targetid][pMember] == || PlayerInfo[targetid][pLeader] == 4)
        { 
ftext "Firemen/Paramedics"; }
        else if(
PlayerInfo[targetid][pMember] == || PlayerInfo[targetid][pLeader] == 5)
        { 
ftext "La Cosa Nostra"; }
        else if(
PlayerInfo[targetid][pMember] == || PlayerInfo[targetid][pLeader] == 6)
        { 
ftext "Grove Mafia"; }
        else if(
PlayerInfo[targetid][pMember] == 11 || PlayerInfo[targetid][pLeader] == 11)
        { 
ftext "License Faction"; }
        else
        { 
ftext "None"; }
        new 
f2text[20];
        if(
PlayerInfo[targetid][pFMember] < 255) { f2text FamilyInfo[PlayerInfo[targetid][pFMember]][FamilyName]; }
        else { 
f2text "None"; }
        new 
rtext[64];
        if(
gTeam[targetid] == || 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] == || PlayerInfo[targetid][pLeader] == 1)//PD Ranks
        
{
            if(
PlayerInfo[targetid][pRank] == 1) { rtext "PD.Ucenik"; }
            else if(
PlayerInfo[targetid][pRank] == 2) { rtext "PD.Policajac"; }
            else if(
PlayerInfo[targetid][pRank] == 3) { rtext "PD.Agent"; }
            else if(
PlayerInfo[targetid][pRank] == 4) { rtext "PD.Kapetan"; }
            else if(
PlayerInfo[targetid][pRank] == 5) { rtext "PD.Porucnik"; }
            else if(
PlayerInfo[targetid][pRank] == 6) { rtext "PD.Direktor"; }
            else { 
rtext "PD.Ucenik"; }
        }
        else if(
PlayerInfo[targetid][pMember] == || PlayerInfo[targetid][pLeader] == 2)//MBI Ranks
        
{
            if(
PlayerInfo[targetid][pRank] == 1) { rtext "MBI.Agent"; }
            else if(
PlayerInfo[targetid][pRank] == 2) { rtext "MBI.Presretac"; }
            else if(
PlayerInfo[targetid][pRank] == 3) { rtext "MBI.Tajni Agent"; }
            else if(
PlayerInfo[targetid][pRank] == 4) { rtext "MBI.Cobra"; }
            else if(
PlayerInfo[targetid][pRank] == 5) { rtext "MBI.Zamjenik"; }
            else if(
PlayerInfo[targetid][pRank] == 6) { rtext "MBI.Direktor"; }
            else { 
rtext "MBI.Agent"; }
        }
        else if(
PlayerInfo[targetid][pMember] == || PlayerInfo[targetid][pLeader] == 3)//NG Ranks
        
{
            if(
PlayerInfo[targetid][pRank] == 1) { rtext "ARM Vojnik"; }
            else if(
PlayerInfo[targetid][pRank] == 2) { rtext "ARM Casnik"; }
            else if(
PlayerInfo[targetid][pRank] == 3) { rtext "ARM Deserter"; }
            else if(
PlayerInfo[targetid][pRank] == 4) { rtext "ARM Major"; }
            else if(
PlayerInfo[targetid][pRank] == 5) { rtext "ARM Polkovnik"; }
            else if(
PlayerInfo[targetid][pRank] == 6) { rtext "ARM General"; }
            else { 
rtext "S:W:A:T.Vojnik"; }
        }
        else if(
PlayerInfo[targetid][pMember] == || PlayerInfo[targetid][pLeader] == 5)//LCN Ranks
        
{
            if(
PlayerInfo[targetid][pRank] == 1) { rtext "Assistant"; }
            else if(
PlayerInfo[targetid][pRank] == 2) { rtext "D'Caprio"; }
            else if(
PlayerInfo[targetid][pRank] == 3) { rtext "Capo"; }
            else if(
PlayerInfo[targetid][pRank] == 4) { rtext "Boss"; }
            else if(
PlayerInfo[targetid][pRank] == 5) { rtext "Master Boss"; }
            else if(
PlayerInfo[targetid][pRank] == 6) { rtext "The GodFather"; }
            else { 
rtext "Assistant"; }
        }
        else if(
PlayerInfo[targetid][pMember] == || PlayerInfo[targetid][pLeader] == 8)//Hitman Ranks
        
{
            if(
PlayerInfo[targetid][pRank] == 1) { rtext "Freelancer"; }
            else if(
PlayerInfo[targetid][pRank] == 2) { rtext "Marksman"; }
            else if(
PlayerInfo[targetid][pRank] == 3) { rtext "Agent"; }
            else if(
PlayerInfo[targetid][pRank] == 4) { rtext "Special Agent"; }
            else if(
PlayerInfo[targetid][pRank] == 5) { rtext "Vice-Director"; }
            else if(
PlayerInfo[targetid][pRank] == 6) { rtext "Director"; }
            else { 
rtext "Freelancer"; }
        }
        else if(
PlayerInfo[targetid][pMember] == || PlayerInfo[targetid][pLeader] == 9)//NR Ranks
        
{
            if(
PlayerInfo[targetid][pRank] == 1) { rtext "SkinHeads NoviClan"; }
            else if(
PlayerInfo[targetid][pRank] == 2) { rtext "SkinHeads LocalBandit"; }
            else if(
PlayerInfo[targetid][pRank] == 3) { rtext "SkinHeads Bnadit"; }
            else if(
PlayerInfo[targetid][pRank] == 4) { rtext "SkinHeads Spijun"; }
            else if(
PlayerInfo[targetid][pRank] == 5) { rtext "SkinHeads Podlider"; }
            else if(
PlayerInfo[targetid][pRank] == 6) { rtext "SkinHeads Lider."; }
            else { 
rtext "SkinHeads NoviClan"; }
        }
        else if(
PlayerInfo[targetid][pMember] == || PlayerInfo[targetid][pLeader] == 4)//NR Ranks
        
{
            if(
PlayerInfo[targetid][pRank] == 1) { rtext "MD.Brat/Sestra"; }
            else if(
PlayerInfo[targetid][pRank] == 2) { rtext "MD.Doktor"; }
            else if(
PlayerInfo[targetid][pRank] == 3) { rtext "MD.Hirurg"; }
            else if(
PlayerInfo[targetid][pRank] == 4) { rtext "MD.Spec.Hirurg"; }
            else if(
PlayerInfo[targetid][pRank] == 5) { rtext "MD.Z.Direktor"; }
            else if(
PlayerInfo[targetid][pRank] == 6) { rtext "MD.Direktor"; }
            else { 
rtext "MD.Brat/Sestra"; }
        }
        else if(
PlayerInfo[targetid][pMember] == 10 || PlayerInfo[targetid][pLeader] == 10)//Taxi Company Ranks
        
{
            if(
PlayerInfo[targetid][pRank] == 1) { rtext "Taxi Ucenik"; }
            else if(
PlayerInfo[targetid][pRank] == 2) { rtext "Taxi LocalVozac"; }
            else if(
PlayerInfo[targetid][pRank] == 3) { rtext "Taxi Vozac"; }
            else if(
PlayerInfo[targetid][pRank] == 4) { rtext "Taxi Clan "; }
            else if(
PlayerInfo[targetid][pRank] == 5) { rtext "Taxi PodLider"; }
            else if(
PlayerInfo[targetid][pRank] == 6) { rtext "Taxi Lider"; }
            else { 
rtext "Taxi Ucenik"; }
        }
//      else if(IsAnInstructor(targetid))//grove mafia Ranks
//      {
//          if(PlayerInfo[targetid][pRank] == 1) { rtext = "LIC.Ucenik"; }
//          else if(PlayerInfo[targetid][pRank] == 2) { rtext = "LIC.Instruktor"; }
//          else if(PlayerInfo[targetid][pRank] == 3) { rtext = "LIC.Stariji Instruktor"; }
//          else if(PlayerInfo[targetid][pRank] == 4) { rtext = "LIC.Pro Instruktor"; }
//          else if(PlayerInfo[targetid][pRank] == 5) { rtext = "LIC.Zamjenik"; }
//          else if(PlayerInfo[targetid][pRank] == 6) { rtext = "LIC.Leader"; }
//          else { rtext = "LIC.Ucenik"; }
//      }
//      else
//      {
//          rtext = "None";
//      }
                
new jtext[20];
                if(
PlayerInfo[targetid][pJob] == 1) { jtext "Detective"; }
                else if(
PlayerInfo[targetid][pJob] == 2) { jtext "Lawyer"; }
                else if(
PlayerInfo[targetid][pJob] == 3) { jtext "Whore"; }
                else if(
PlayerInfo[targetid][pJob] == 4) { jtext "Drugs Dealer"; }
                else if(
PlayerInfo[targetid][pJob] == 5) { jtext "Car Jackert"; }
                else if(
PlayerInfo[targetid][pJob] == 6) { jtext "TuningRace Club"; }
                else if(
PlayerInfo[targetid][pJob] == 7) { jtext "Mehanicar"; }
                else if(
PlayerInfo[targetid][pJob] == 8) { jtext "Bodyguard"; }
                else if(
PlayerInfo[targetid][pJob] == 9) { jtext "Arms Dealer"; }
                else if(
PlayerInfo[targetid][pJob] == 10) { jtext "Car Dealer"; }
                else if(
PlayerInfo[targetid][pJob] == 12) { jtext "Boxer"; }
                else if(
PlayerInfo[targetid][pJob] == 14) { jtext "Avtobus Vozac"; }
                else if(
PlayerInfo[targetid][pJob] == 15) { jtext "Dostavuvac na Meso"; }
                else if(
PlayerInfo[targetid][pJob] == 16) { jtext "Kamiondzija"; }
                else if(
PlayerInfo[targetid][pJob] == 17) { jtext "Donator"; }
                else if(
PlayerInfo[targetid][pJob] == 18) { jtext "D.H.L"; }
                else if(
PlayerInfo[targetid][pJob] == 31) { jtext "Rudar"; }
                else if(
PlayerInfo[targetid][pJob] == 32) { jtext "Sumar"; }
                else { 
jtext "None"; }
                new 
drank[20];
                if(
PlayerInfo[targetid][pDonateRank] == 1) { drank "Easy User"; }
                else if(
PlayerInfo[targetid][pDonateRank] == 2) { drank "Medium User"; }
                else if(
PlayerInfo[targetid][pDonateRank] == 3) { drank "Hard User"; }
                else if(
PlayerInfo[targetid][pDonateRank] == 4) { drank "Strong User"; }
                else if(
PlayerInfo[targetid][pDonateRank] == 5) { drank "Very Strong User"; }
                else { 
drank "None"; }
                new 
married[20];
                
strmid(marriedPlayerInfo[targetid][pMarriedTo], 0strlen(PlayerInfo[targetid][pMarriedTo]), 255);
        
//      new poenid = PlayerInfo[targetid][pDonatorPoeni];
                
new age PlayerInfo[targetid][pGodine];
                new 
ptime PlayerInfo[targetid][pConnectTime];
                new 
drugs PlayerInfo[targetid][pDrugs];
                new 
mats PlayerInfo[targetid][pMats];
                new 
fishes PlayerInfo[targetid][pFishes];
        
//      new lotto = PlayerInfo[targetid][pLottoNr];
                
new wanted WantedLevel[targetid];
                new 
level PlayerInfo[targetid][pLevel];
                new 
pnumber PlayerInfo[targetid][pPnumber];
                new 
account PlayerInfo[targetid][pAccount];
                new 
warns PlayerInfo[targetid][pWarns];
                new 
bankomat PlayerInfo[targetid][pKreditnaKarticka];
                new 
rabotna PlayerInfo[targetid][pRabotnaKniska];
                new 
pincard PlayerInfo[targetid][pPinKod];
                new 
name[MAX_PLAYER_NAME];
                
GetPlayerName(targetidnamesizeof(name));
                new 
Float:px,Float:py,Float:pz;
                
GetPlayerPos(targetidpxpypz);
                new 
info[1300],string[128],godina,mesec,dan,sati,minute,sekunde;
                
getdate(godinamesecdan), gettime(satiminutesekunde);
                
format(string,sizeof(string),"{1364BA}Ime:\t\t\t\t{FFAB00}[%s]\n"name);
                
strcat(infostring);
                
format(string,sizeof(string),"{1364BA}Level:\t\t\t\t{FFAB00}[%d]\n"level);
                
strcat(infostring);
                
format(string,sizeof(string),"{1364BA}Don Rank:\t\t\t{FFAB00}[%s]\n"drank);
                
strcat(infostring);
                
format(string,sizeof(string),"{1364BA}Casovi na igranje:\t\t{FFAB00}[%d]\n"ptime);
                
strcat(infostring);
                
format(string,sizeof(string),"{1364BA}Opomeni:\t\t\t{FFAB00}[%d]\n"warns);
                
strcat(infostring);
                
format(string,sizeof(string),"{6DFC2E}Godini:\t\t\t\t{FFAB00}[%d]\n"age);
                
strcat(infostring);
                
format(string,sizeof(string),"{6DFC2E}Drzava:\t\t\t{FFAB00}[%s]\n"pDrzava);
                
strcat(infostring);
                
format(string,sizeof(string),"{6DFC2E}Pol:\t\t\t\t{FFAB00}[%s]\n"pPol);
                
strcat(infostring);
                
format(string,sizeof(string),"{6DFC2E}Broj:\t\t\t\t{FFAB00}[%d]\n"pnumber);
                
strcat(infostring);
                
format(string,sizeof(string),"{6DFC2E}Rabota:\t\t\t{FFAB00}[%s]\n"pJob);
                
strcat(infostring);
                
format(string,sizeof(string),"{6DFC2E}Org/Banda/Mafija:\t\t{FFAB00}[%s]\n"ttext[20]);
                
strcat(infostring);
                
format(string,sizeof(string),"{6DFC2E}Tim:\t\t\t\t{FFAB00}[%s]\n"pTeam);
                
strcat(infostring);
                
format(string,sizeof(string),"{6DFC2E}Rank:\t\t\t\t{FFAB00}[%s]\n"rtext[64]);
                
strcat(infostring);
                
format(string,sizeof(string),"{6DFC2E}Vo brak so:\t\t\t{FFAB00}[%s]\n"married);
                
strcat(infostring);
                
format(string,sizeof(string),"{6DFC2E}Wanted:\t\t\t{FFAB00}[%d]\n"wanted);
                
strcat(infostring);
                
format(string,sizeof(string),"{FF4040}Pari Banka:\t\t\t{FFAB00}[%d]\n"account);
                
strcat(infostring);
                
format(string,sizeof(string), "{FF4040}Kreditna Karticka:\t\t{FFAB00}[%d]\n",bankomat);
                
strcat(infostring);
                
format(string,sizeof(string), "{FF4040}PIN-KOD:\t\t\t{FFAB00}[%d]\n",pincard);
                
strcat(infostring);
                
format(string,sizeof(string),"{FF4040}Kes Pari:\t\t\t{FFAB00}[%d]\n"pCash);
                
strcat(infostring);
                
format(string,sizeof(string),"{FF4040}Rabotna Kniska:\t\t{FFAB00}[%d]\n"rabotna);
                
strcat(infostring);
                
strcat(info"{7FB8FF}Prva Pomos:\t\t\t{FFAB00}[0]\n"sizeof(info));
                
format(string,sizeof(string),"{7FB8FF}Droga:\t\t\t\t{FFAB00}[%d]\n"drugs);
                
strcat(infostring);
                
format(string,sizeof(string),"{7FB8FF}Matrijali:\t\t\t{FFAB00}[%d]\n"mats);
                
strcat(infostring);
                
strcat(info"{7FB8FF}Droga-Seme:\t\t\t{FFAB00}[0]\n"sizeof(info));
                
strcat(info"{7FB8FF}Paketi-Matrijali:\t\t\t{FFAB00}[0]\n"sizeof(info));
                
format(string,sizeof(string),"{7FB8FF}Bombi:\t\t\t\t{FFAB00}[%d]\n"bomb);
                
strcat(infostring);
                
format(string,sizeof(string),"{7FB8FF}Ribi:\t\t\t\t{FFAB00}[%d]\n"fishes);
                
strcat(infostring);
                
format(string,sizeof(string),"{7FB8FF}Lotto Broj:\t\t\t{FFAB00}[%d/%d/%d/%d/%d/%d]\n" );
                
strcat(infostring);
                
format(string,sizeof(string),"{7FB8FF}Don.Poeni:\t\t\t{FFAB00}[%s]\n\n"pDonatorPoeni );
                
strcat(infostring);
                
strcat(info"{7FB8FF}Email: {FFAB00}Skriena [/mojamail za da ja vidis]\n"sizeof(info));
                
format(string,sizeof(string),"{F81414}Datum: %d/%s%d/%s%d | Vreme: %s%d:%s%d:%s%d\n"dan, ((mesec 10) ? ("0") : ("")), mesec, (godina 10) ? ("0") : (""), godina, (sati 10) ? ("0") : (""), sati, (minute 10) ? ("0") : (""), minute, (sekunde 10) ? ("0") : (""), sekunde);
                
strcat(infostring);
                
ShowPlayerDialog(playerid,13,DIALOG_STYLE_MSGBOX"Statsi"info"OK""");
                }
            }
        }
    }

Try this
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)