[POMOC]Stats

Započeo Vukasin_Krimo, Mart 07, 2013, 15:55:56 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 3 gostiju pregledaju ovu temu.

Scriptu koju koristim: Diablo gaming-MG..


Imam stats koji se nalazi u texdrawu a ja bih zeleo da ga prebacim u dialog,pa ako moze neki predlog,sugestija kako to da uradim..stats0[playerid] = TextDrawCreate(494.000000, 51.000000, "_ _");//Moj stats
TextDrawBackgroundColor(stats0[playerid], 255);
TextDrawFont(stats0[playerid], 1);
TextDrawLetterSize(stats0[playerid], 1.090000, 20.799999);
TextDrawColor(stats0[playerid], -1);
TextDrawSetOutline(stats0[playerid], 0);
TextDrawSetProportional(stats0[playerid], 1);
TextDrawSetShadow(stats0[playerid], 1);
TextDrawUseBox(stats0[playerid], 1);
TextDrawBoxColor(stats0[playerid], 100);
TextDrawTextSize(stats0[playerid], 163.000000, 0.000000);

stats1[playerid] = TextDrawCreate(500.000000, 51.000000, "_");//moj stats
TextDrawBackgroundColor(stats1[playerid], 255);
TextDrawFont(stats1[playerid], 1);
TextDrawLetterSize(stats1[playerid], 0.500000, -0.200000);
TextDrawColor(stats1[playerid], -1);
TextDrawSetOutline(stats1[playerid], 0);
TextDrawSetProportional(stats1[playerid], 1);
TextDrawSetShadow(stats1[playerid], 1);
TextDrawUseBox(stats1[playerid], 1);
TextDrawBoxColor(stats1[playerid], -1);
TextDrawTextSize(stats1[playerid], 162.000000, 0.000000);

stats2[playerid] = TextDrawCreate(501.000000, 427.000000, "_");//moj stats boja: 848756735
TextDrawBackgroundColor(stats2[playerid], 255);
TextDrawFont(stats2[playerid], 1);
TextDrawLetterSize(stats2[playerid], 0.500000, -0.200000);
TextDrawColor(stats2[playerid], -1);
TextDrawSetOutline(stats2[playerid], 0);
TextDrawSetProportional(stats2[playerid], 1);
TextDrawSetShadow(stats2[playerid], 1);
TextDrawUseBox(stats2[playerid], 1);
TextDrawBoxColor(stats2[playerid], -1);
TextDrawTextSize(stats2[playerid], 163.000000, 0.000000);

stats4[playerid] = TextDrawCreate(493.000000, 54.000000, "_");//
TextDrawBackgroundColor(stats4[playerid], 255);
TextDrawFont(stats4[playerid], 1);
TextDrawLetterSize(stats4[playerid], 0.460000, 41.000015);
TextDrawColor(stats4[playerid], -1);
TextDrawSetOutline(stats4[playerid], 0);
TextDrawSetProportional(stats4[playerid], 1);
TextDrawSetShadow(stats4[playerid], 1);
TextDrawUseBox(stats4[playerid], 1);
TextDrawBoxColor(stats4[playerid], -1);
TextDrawTextSize(stats4[playerid], 498.000000, 0.000000);

stats5[playerid] = TextDrawCreate(168.000000, 54.000000, "_");//
TextDrawBackgroundColor(stats5[playerid], 255);
TextDrawFont(stats5[playerid], 1);
TextDrawLetterSize(stats5[playerid], 0.460000, 41.000015);
TextDrawColor(stats5[playerid], -1);
TextDrawSetOutline(stats5[playerid], 0);
TextDrawSetProportional(stats5[playerid], 1);
TextDrawSetShadow(stats5[playerid], 1);
TextDrawUseBox(stats5[playerid], 1);
TextDrawBoxColor(stats5[playerid], -1);
TextDrawTextSize(stats5[playerid], 163.000000, 10.000000);

stats6[playerid] = TextDrawCreate(165.000000, 71.000000, "~b~===========~w~OOC Stats~b~========");
TextDrawBackgroundColor(stats6[playerid], 255);
TextDrawFont(stats6[playerid], 2);
TextDrawLetterSize(stats6[playerid], 0.390000, 1.600000);
TextDrawColor(stats6[playerid], 16711935);
TextDrawSetOutline(stats6[playerid], 1);
TextDrawSetProportional(stats6[playerid], 1);

stats7[playerid] = TextDrawCreate(165.000000, 138.000000, "~b~===========~w~IC Stats~b~=======");
TextDrawBackgroundColor(stats7[playerid], 255);
TextDrawFont(stats7[playerid], 2);
TextDrawLetterSize(stats7[playerid], 0.440000, 1.600000);
TextDrawColor(stats7[playerid], 16711935);
TextDrawSetOutline(stats7[playerid], 1);
TextDrawSetProportional(stats7[playerid], 1);

stats8[playerid] = TextDrawCreate(168.000000, 260.000000, "~b~===========~w~Imovina~b~=======");
TextDrawBackgroundColor(stats8[playerid], 255);
TextDrawFont(stats8[playerid], 2);
TextDrawLetterSize(stats8[playerid], 0.440000, 1.800000);
TextDrawColor(stats8[playerid], 16711935);
TextDrawSetOutline(stats8[playerid], 1);
TextDrawSetProportional(stats8[playerid], 1);

stats3[playerid] = TextDrawCreate(185.000000, 18.000000, "///");//s
TextDrawBackgroundColor(stats3[playerid], 255);
TextDrawFont(stats3[playerid], 2);
TextDrawLetterSize(stats3[playerid], 0.609999, 3.699998);
TextDrawColor(stats3[playerid], 848756735);
TextDrawSetOutline(stats3[playerid], 1);
TextDrawSetProportional(stats3[playerid], 1);

rankorg[playerid] = TextDrawCreate(199.000000, 206.000000, "~r~ Pozicija:~w~ Sef");//S
TextDrawBackgroundColor(rankorg[playerid], 255);
TextDrawFont(rankorg[playerid], 2);
TextDrawLetterSize(rankorg[playerid], 0.380000, 1.200000);
TextDrawColor(rankorg[playerid], -65281);
TextDrawSetOutline(rankorg[playerid], 1);
TextDrawSetProportional(rankorg[playerid], 1);

imeig[playerid] = TextDrawCreate(199.000000, 153.000000, "~r~ Ime: ~w~Adin_King");//s
TextDrawBackgroundColor(imeig[playerid], 255);
TextDrawFont(imeig[playerid], 2);
TextDrawLetterSize(imeig[playerid], 0.380000, 1.200000);
TextDrawColor(imeig[playerid], -65281);
TextDrawSetOutline(imeig[playerid], 1);
TextDrawSetProportional(imeig[playerid], 1);

levelstats[playerid] = TextDrawCreate(197.000000, 88.000000, "~r~ level[playerid]: 30");//s
TextDrawBackgroundColor(levelstats[playerid], 255);
TextDrawFont(levelstats[playerid], 2);
TextDrawLetterSize(levelstats[playerid], 0.380000, 1.200000);
TextDrawColor(levelstats[playerid], -65281);
TextDrawSetOutline(levelstats[playerid], 1);
TextDrawSetProportional(levelstats[playerid], 1);

satig[playerid] = TextDrawCreate(196.000000, 102.000000, "~r~ Sati Igranja: ~w~3");//s
TextDrawBackgroundColor(satig[playerid], 255);
TextDrawFont(satig[playerid], 2);
TextDrawLetterSize(satig[playerid], 0.380000, 1.200000);
TextDrawColor(satig[playerid], -65281);
TextDrawSetOutline(satig[playerid], 1);
TextDrawSetProportional(satig[playerid], 1);

respekt[playerid] = TextDrawCreate(197.000000, 113.000000, "~r~ respekt[playerid]i: 100/200");//s
TextDrawBackgroundColor(respekt[playerid], 255);
TextDrawFont(respekt[playerid], 2);
TextDrawLetterSize(respekt[playerid], 0.380000, 1.200000);
TextDrawColor(respekt[playerid], -65281);
TextDrawSetOutline(respekt[playerid], 1);
TextDrawSetProportional(respekt[playerid], 1);

donator[playerid] = TextDrawCreate(198.000000, 127.000000, "~r~ donator[playerid]: donator[playerid] level[playerid] 2");//S
TextDrawBackgroundColor(donator[playerid], 255);
TextDrawFont(donator[playerid], 2);
TextDrawLetterSize(donator[playerid], 0.380000, 1.200000);
TextDrawColor(donator[playerid], -65281);
TextDrawSetOutline(donator[playerid], 1);
TextDrawSetProportional(donator[playerid], 1);

godine[playerid] = TextDrawCreate(198.000000, 163.000000, "~r~ godine[playerid]: 20");//s
TextDrawBackgroundColor(godine[playerid], 255);
TextDrawFont(godine[playerid], 2);
TextDrawLetterSize(godine[playerid], 0.380000, 1.200000);
TextDrawColor(godine[playerid], -65281);
TextDrawSetOutline(godine[playerid], 1);
TextDrawSetProportional(godine[playerid], 1);

pol[playerid] = TextDrawCreate(199.000000, 174.000000, "~r~ pol[playerid]:~w~ Musko");//S
TextDrawBackgroundColor(pol[playerid], 255);
TextDrawFont(pol[playerid], 2);
TextDrawLetterSize(pol[playerid], 0.380000, 1.200000);
TextDrawColor(pol[playerid], -65281);
TextDrawSetOutline(pol[playerid], 1);
TextDrawSetProportional(pol[playerid], 1);

drzava[playerid] = TextDrawCreate(199.000000, 183.000000, "~r~ drzava[playerid]:~w~ Beograd");//S
TextDrawBackgroundColor(drzava[playerid], 255);
TextDrawFont(drzava[playerid], 2);
TextDrawLetterSize(drzava[playerid], 0.380000, 1.200000);
TextDrawColor(drzava[playerid], -65281);
TextDrawSetOutline(drzava[playerid], 1);
TextDrawSetProportional(drzava[playerid], 1);

posao[playerid] = TextDrawCreate(199.000000, 217.000000, "~r~ posao[playerid]:~w~ Raznosac Novina");//S
TextDrawBackgroundColor(posao[playerid], 255);
TextDrawFont(posao[playerid], 2);
TextDrawLetterSize(posao[playerid], 0.380000, 1.200000);
TextDrawColor(posao[playerid], -65281);
TextDrawSetOutline(posao[playerid], 1);
TextDrawSetProportional(posao[playerid], 1);

orgstats[playerid] = TextDrawCreate(199.000000, 195.000000, "~r~ org[playerid]anizacija:~w~ Corleone Crime Family");//s
TextDrawBackgroundColor(orgstats[playerid], 255);
TextDrawFont(orgstats[playerid], 2);
TextDrawLetterSize(orgstats[playerid], 0.380000, 1.200000);
TextDrawColor(orgstats[playerid], -65281);
TextDrawSetOutline(orgstats[playerid], 1);
TextDrawSetProportional(orgstats[playerid], 1);

droga1[playerid] = TextDrawCreate(199.000000, 228.000000, "~r~ droga[playerid]:~w~ 1000");//s
TextDrawBackgroundColor(droga1[playerid], 255);
TextDrawFont(droga1[playerid], 2);
TextDrawLetterSize(droga1[playerid], 0.380000, 1.200000);
TextDrawColor(droga1[playerid], -65281);
TextDrawSetOutline(droga1[playerid], 1);
TextDrawSetProportional(droga1[playerid], 1);

materijalistats[playerid] = TextDrawCreate(199.000000, 238.000000, "~r~ materijali[playerid]:~w~ 1000");//S
TextDrawBackgroundColor(materijalistats[playerid], 255);
TextDrawFont(materijalistats[playerid], 2);
TextDrawLetterSize(materijalistats[playerid], 0.380000, 1.200000);
TextDrawColor(materijalistats[playerid], -65281);
TextDrawSetOutline(materijalistats[playerid], 1);
TextDrawSetProportional(materijalistats[playerid], 1);

telkred[playerid] = TextDrawCreate(199.000000, 250.000000, "~r~ Tel.Kredit:~w~50$");//S
TextDrawBackgroundColor(telkred[playerid], 255);
TextDrawFont(telkred[playerid], 2);
TextDrawLetterSize(telkred[playerid], 0.380000, 1.200000);
TextDrawColor(telkred[playerid], -65281);
TextDrawSetOutline(telkred[playerid], 1);
TextDrawSetProportional(telkred[playerid], 1);

kucak[playerid] = TextDrawCreate(201.000000, 277.000000, "~r~ Kuca Kljuc:~w~ 255");//S
TextDrawBackgroundColor(kucak[playerid], 255);
TextDrawFont(kucak[playerid], 2);
TextDrawLetterSize(kucak[playerid], 0.380000, 1.200000);
TextDrawColor(kucak[playerid], -65281);
TextDrawSetOutline(kucak[playerid], 1);
TextDrawSetProportional(kucak[playerid], 1);

stank[playerid] = TextDrawCreate(200.000000, 287.000000, "~r~ Stan Kljuc: ~w~ 255");//s
TextDrawBackgroundColor(stank[playerid], 255);
TextDrawFont(stank[playerid], 2);
TextDrawLetterSize(stank[playerid], 0.380000, 1.200000);
TextDrawColor(stank[playerid], -65281);
TextDrawSetOutline(stank[playerid], 1);
TextDrawSetProportional(stank[playerid], 1);

firmak[playerid] = TextDrawCreate(200.000000, 297.000000, "~r~ Firma Kljuc: ~w~ 255");//S
TextDrawBackgroundColor(firmak[playerid], 255);
TextDrawFont(firmak[playerid], 2);
TextDrawLetterSize(firmak[playerid], 0.380000, 1.200000);
TextDrawColor(firmak[playerid], -65281);
TextDrawSetOutline(firmak[playerid], 1);
TextDrawSetProportional(firmak[playerid], 1);

vozilok1[playerid] = TextDrawCreate(200.000000, 307.000000, "~r~ Vozilo 1: ~w~ 999");//s
TextDrawBackgroundColor(vozilok1[playerid], 255);
TextDrawFont(vozilok1[playerid], 2);
TextDrawLetterSize(vozilok1[playerid], 0.380000, 1.200000);
TextDrawColor(vozilok1[playerid], -65281);
TextDrawSetOutline(vozilok1[playerid], 1);
TextDrawSetProportional(vozilok1[playerid], 1);

vozilok2[playerid] = TextDrawCreate(200.000000, 316.000000, "~r~ Vozilo 2: ~w~999");//
TextDrawBackgroundColor(vozilok2[playerid], 255);
TextDrawFont(vozilok2[playerid], 2);
TextDrawLetterSize(vozilok2[playerid], 0.380000, 1.200000);
TextDrawColor(vozilok2[playerid], -65281);
TextDrawSetOutline(vozilok2[playerid], 1);
TextDrawSetProportional(vozilok2[playerid], 1);

vozilok3[playerid] = TextDrawCreate(200.000000, 326.000000, "~r~ Vozilo 3: ~w~ 999");//
TextDrawBackgroundColor(vozilok3[playerid], 255);
TextDrawFont(vozilok3[playerid], 2);
TextDrawLetterSize(vozilok3[playerid], 0.380000, 1.200000);
TextDrawColor(vozilok3[playerid], -65281);
TextDrawSetOutline(vozilok3[playerid], 1);
TextDrawSetProportional(vozilok3[playerid], 1);

intidstats[playerid] = TextDrawCreate(199.000000, 336.000000, "~r~ Interier: ~w~0");//
TextDrawBackgroundColor(intidstats[playerid], 255);
TextDrawFont(intidstats[playerid], 2);
TextDrawLetterSize(intidstats[playerid], 0.380000, 1.200000);
TextDrawColor(intidstats[playerid], -65281);
TextDrawSetOutline(intidstats[playerid], 1);
TextDrawSetProportional(intidstats[playerid], 1);

novacstats[playerid] = TextDrawCreate(199.000000, 347.000000, "~r~ Novac: ~w~99999$");
TextDrawBackgroundColor(novacstats[playerid], 255);
TextDrawFont(novacstats[playerid], 2);
TextDrawLetterSize(novacstats[playerid], 0.380000, 1.200000);
TextDrawColor(novacstats[playerid], -65281);
TextDrawSetOutline(novacstats[playerid], 1);
TextDrawSetProportional(novacstats[playerid], 1);

bankastats[playerid] = TextDrawCreate(199.000000, 358.000000, "~r~ Banka:~w~ 98521567$");
TextDrawBackgroundColor(bankastats[playerid], 255);
TextDrawFont(bankastats[playerid], 2);
TextDrawLetterSize(bankastats[playerid], 0.380000, 1.200000);
TextDrawColor(bankastats[playerid], -65281);
TextDrawSetOutline(bankastats[playerid], 1);
TextDrawSetProportional(bankastats[playerid], 1);
///////////////////////////
TextDrawShowForPlayer(playerid, stats0[playerid]);
TextDrawShowForPlayer(playerid, stats1[playerid]);
TextDrawShowForPlayer(playerid, stats2[playerid]);
TextDrawShowForPlayer(playerid, stats3[playerid]);
TextDrawShowForPlayer(playerid, stats4[playerid]);
TextDrawShowForPlayer(playerid, stats5[playerid]);
TextDrawShowForPlayer(playerid, stats6[playerid]);
TextDrawShowForPlayer(playerid, stats7[playerid]);
TextDrawShowForPlayer(playerid, stats8[playerid]);
TextDrawShowForPlayer(playerid, rankorg[playerid]);
TextDrawShowForPlayer(playerid, imeig[playerid]);
TextDrawShowForPlayer(playerid, levelstats[playerid]);
TextDrawShowForPlayer(playerid, satig[playerid]);
TextDrawShowForPlayer(playerid, respekt[playerid]);
TextDrawShowForPlayer(playerid, donator[playerid]);
TextDrawShowForPlayer(playerid, godine[playerid]);
TextDrawShowForPlayer(playerid, pol[playerid]);
TextDrawShowForPlayer(playerid, drzava[playerid]);
TextDrawShowForPlayer(playerid, posao[playerid]);
TextDrawShowForPlayer(playerid, orgstats[playerid]);
TextDrawShowForPlayer(playerid, droga1[playerid]);
TextDrawShowForPlayer(playerid, materijalistats[playerid]);
TextDrawShowForPlayer(playerid, telkred[playerid]);
TextDrawShowForPlayer(playerid, kucak[playerid]);
TextDrawShowForPlayer(playerid, stank[playerid]);
TextDrawShowForPlayer(playerid, firmak[playerid]);
TextDrawShowForPlayer(playerid, vozilok1[playerid]);
TextDrawShowForPlayer(playerid, vozilok2[playerid]);
TextDrawShowForPlayer(playerid, vozilok3[playerid]);
TextDrawShowForPlayer(playerid, intidstats[playerid]);
TextDrawShowForPlayer(playerid, novacstats[playerid]);
TextDrawShowForPlayer(playerid, bankastats[playerid]);
/////////////////////////////////////////////
new atext[20];
if(PlayerInfo[playerid][pSex] == 1) { atext = "Musko"; }
else if(PlayerInfo[playerid][pSex] == 2) { atext = "Zensko"; }
  new otext[20];
if(PlayerInfo[playerid][pOrigin] == 1) { otext = "San Fiero"; }
else if(PlayerInfo[playerid][pOrigin] == 2) { otext = "Beograd"; }
else if(PlayerInfo[playerid][pOrigin] == 3) { otext = "Las Venturas"; }
else if(PlayerInfo[playerid][pOrigin] == 4) { otext = "Bone Country"; }
        else if(PlayerInfo[playerid][pOrigin] == 5) { otext = "Beograd"; }
        else if(PlayerInfo[playerid][pOrigin] == 6) { otext = "Mount Chiliad"; }
else if(PlayerInfo[playerid][pOrigin] == 7) { otext = "Lukavac"; }
else if(PlayerInfo[playerid][pOrigin] == 8) { otext = "Ostalo"; }
         new ttext[20];
  if(PlayerInfo[playerid][pMember] == 4 || PlayerInfo[playerid][pLeader] == 4) { ttext = "Medic"; }
  else if(gTeam[playerid] == 3 || gTeam[playerid] == 4) { ttext = "Civilian"; }
  else if(PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1) { ttext = "w"; }
  else if(PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2) { ttext = "a"; }
  else if(PlayerInfo[playerid][pMember] == 4 || PlayerInfo[playerid][pLeader] == 4) { ttext = "Doktori"; }
  else if(PlayerInfo[playerid][pMember] == 5 || PlayerInfo[playerid][pLeader] == 5) { ttext = "Yakuza"; }
  else if(PlayerInfo[playerid][pMember] == 6 || PlayerInfo[playerid][pLeader] == 6) { ttext = "CCF"; }
  else if(PlayerInfo[playerid][pMember] == 7 || PlayerInfo[playerid][pLeader] == 7) { ttext = "Predsednik"; }
  else if(PlayerInfo[playerid][pMember] == 9 || PlayerInfo[playerid][pLeader] == 9) { ttext = "Novinarska Agencija"; }
  else if(PlayerInfo[playerid][pMember] == 10 || PlayerInfo[playerid][pLeader] == 10) { ttext = "Taxi"; }
  else if(PlayerInfo[playerid][pMember] == 15 || PlayerInfo[playerid][pLeader] == 15) { ttext = "aw"; }
  else if(PlayerInfo[playerid][pMember] == 16 || PlayerInfo[playerid][pLeader] == 16) { ttext = "awl"; }
   new ftext[30];
   if(PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1)
  { ftext = "sd"; }
    if(PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2)
  { ftext = "a"; }
  else if(PlayerInfo[playerid][pMember] == 4 || PlayerInfo[playerid][pLeader] == 4)
  { ftext = "Doktori"; }
  else if(PlayerInfo[playerid][pMember] == 5 || PlayerInfo[playerid][pLeader] == 5)
  { ftext = "Yakuza"; }
  else if(PlayerInfo[playerid][pMember] == 6 || PlayerInfo[playerid][pLeader] == 6)
  { ftext = "CCF"; }
  else if(PlayerInfo[playerid][pMember] == 7 || PlayerInfo[playerid][pLeader] == 7)
  { ftext = "Predsednik"; }
  else if(PlayerInfo[playerid][pMember] == 9 || PlayerInfo[playerid][pLeader] == 9)
  { ftext = "Novinarska Agencija"; }
  else if(PlayerInfo[playerid][pMember] == 10 || PlayerInfo[playerid][pLeader] == 10)
  { ftext = "Taxi"; }
  else if(PlayerInfo[playerid][pMember] == 15 || PlayerInfo[playerid][pLeader] == 15)
  { ftext = "aav"; }
  else if(PlayerInfo[playerid][pMember] == 16 || PlayerInfo[playerid][pLeader] == 16)
  { ftext = "GD"; }
  else
  { ftext = "Nema"; }
  new f2text[20];
     if(PlayerInfo[playerid][pFMember] < 255) { f2text = FamilyInfo[PlayerInfo[playerid][pFMember]][FamilyName]; }
  else { f2text = "Nema"; }
     new rtext[64];
     if(gTeam[playerid] == 5 || PlayerInfo[playerid][pFMember] < 255)
     {
         if(PlayerInfo[playerid][pRank] == 1) { rtext = "Outsider"; }
   else if(PlayerInfo[playerid][pRank] == 2) { rtext = "Associate"; }
   else if(PlayerInfo[playerid][pRank] == 3) { rtext = "Soldier"; }
   else if(PlayerInfo[playerid][pRank] == 4) { rtext = "Capo"; }
   else if(PlayerInfo[playerid][pRank] == 5) { rtext = "Underboss"; }
     else if(PlayerInfo[playerid][pRank] == 6) { rtext = "Godfather"; }
   else { rtext = "Outsider"; }
  }
  else if(PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1)//PD Ranks
  {
      if(PlayerInfo[playerid][pRank] == 1) { rtext = "Cadet"; }
   else if(PlayerInfo[playerid][pRank] == 2) { rtext = "Police Officer"; }
   else if(PlayerInfo[playerid][pRank] == 3) { rtext = "Corporal"; }
   else if(PlayerInfo[playerid][pRank] == 4) { rtext = "Sergeant"; }
   else if(PlayerInfo[playerid][pRank] == 5) { rtext = "Lieutenant"; }
         else if(PlayerInfo[playerid][pRank] == 6) { rtext = "Captain"; }
         else if(PlayerInfo[playerid][pRank] == 7) { rtext = "Deputy Chief"; }
         else if(PlayerInfo[playerid][pRank] == 8) { rtext = "Chief"; }
   else { rtext = "Cadet"; }
  }
  else if(PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2)//gc Ranks
  {
      if(PlayerInfo[playerid][pRank] == 1) { rtext = "Professional Staff"; }
   else if(PlayerInfo[playerid][pRank] == 2) { rtext = "Special Agent Trainee"; }
   else if(PlayerInfo[playerid][pRank] == 3) { rtext = "Special Agent"; }
   else if(PlayerInfo[playerid][pRank] == 4) { rtext = "Special Agent in Charge"; }
   else if(PlayerInfo[playerid][pRank] == 5) { rtext = "Assistant Director in Charge"; }
      else if(PlayerInfo[playerid][pRank] == 6) { rtext = "Director"; }
   else { rtext = "Intern"; }
  }
  else if(PlayerInfo[playerid][pMember] == 5 || PlayerInfo[playerid][pLeader] == 5)//Yakuza Ranks
  {
      if(PlayerInfo[playerid][pRank] == 1) { rtext = "Kyosei"; }
   else if(PlayerInfo[playerid][pRank] == 2) { rtext = "Kyokuryu"; }
   else if(PlayerInfo[playerid][pRank] == 3) { rtext = "Kudo"; }
   else if(PlayerInfo[playerid][pRank] == 4) { rtext = "Sumiyoshi"; }
   else if(PlayerInfo[playerid][pRank] == 5) { rtext = "Inagawa"; }
     else if(PlayerInfo[playerid][pRank] == 6) { rtext = "Yamaguchi"; }
   else { rtext = "Kyosei"; }
  }
  else if(PlayerInfo[playerid][pMember] == 6 || PlayerInfo[playerid][pLeader] == 6)//Corleone Crime Family Ranks
  {
      if(PlayerInfo[playerid][pRank] == 1) { rtext = "Associate"; }
   else if(PlayerInfo[playerid][pRank] == 2) { rtext = "Mafioso"; }
   else if(PlayerInfo[playerid][pRank] == 3) { rtext = "Cappo"; }
   else if(PlayerInfo[playerid][pRank] == 4) { rtext = "Consigliere"; }
   else if(PlayerInfo[playerid][pRank] == 5) { rtext = "Don"; }
     else if(PlayerInfo[playerid][pRank] == 6) { rtext = "Godfather"; }
   else { rtext = "Outsider"; }
  }
  else if(PlayerInfo[playerid][pMember] == 7)//VLADA RANKOVI
  {
      if(PlayerInfo[playerid][pRank] == 1) { rtext = "Vozac Rank 1"; }
      else if(PlayerInfo[playerid][pRank] == 2) { rtext = "Vozac Rank 2"; }
      else if(PlayerInfo[playerid][pRank] == 3) { rtext = "BodyGuard Rank 1"; }
      else if(PlayerInfo[playerid][pRank] == 4) { rtext = "BodyGuard Rank 2"; }
       else if(PlayerInfo[playerid][pRank] == 5) { rtext = "Potpredsednik"; }
  else if(PlayerInfo[playerid][pLeader] == 7) { rtext = "Presjednik"; }
      else { rtext = "None"; }
  }
  else if(PlayerInfo[playerid][pMember] == 9 || PlayerInfo[playerid][pLeader] == 9)//NOVINARI RANK
  {
      if(PlayerInfo[playerid][pRank] == 1) { rtext = "Intern Worker"; }
   else if(PlayerInfo[playerid][pRank] == 2) { rtext = "Journalist"; }
   else if(PlayerInfo[playerid][pRank] == 3) { rtext = "Head Journalist"; }
   else if(PlayerInfo[playerid][pRank] == 4) { rtext = "Company Secretary"; }
   else if(PlayerInfo[playerid][pRank] == 5) { rtext = "ABC Manager"; }
      else if(PlayerInfo[playerid][pRank] == 6) { rtext = "Network Producer"; }
   else { rtext = "Intern Worker"; }
  }
  else if(PlayerInfo[playerid][pMember] == 10 || PlayerInfo[playerid][pLeader] == 10)//TAXI RANKOVI
  {
      if(PlayerInfo[playerid][pRank] == 1) { rtext = "Rank 1"; }
   else if(PlayerInfo[playerid][pRank] == 2) { rtext = "Rank 2"; }
   else if(PlayerInfo[playerid][pRank] == 3) { rtext = "Rank 3"; }
   else if(PlayerInfo[playerid][pRank] == 4) { rtext = "Rank 4"; }
   else if(PlayerInfo[playerid][pRank] == 5) { rtext = "Rank 5"; }
      else if(PlayerInfo[playerid][pRank] == 6) { rtext = "Vlasnik"; }
   else { rtext = "Trainee"; }
  }
  else if(PlayerInfo[playerid][pMember] == 15 || PlayerInfo[playerid][pLeader] == 15)//GROVE RANKOVI
  {
      if(PlayerInfo[playerid][pRank] == 1) { rtext = "Cholo"; }
   else if(PlayerInfo[playerid][pRank] == 2) { rtext = "Guero"; }
   else if(PlayerInfo[playerid][pRank] == 3) { rtext = "Soldado"; }
   else if(PlayerInfo[playerid][pRank] == 4) { rtext = "Vato"; }
   else if(PlayerInfo[playerid][pRank] == 5) { rtext = "Mano Derecha"; }
     else if(PlayerInfo[playerid][pRank] == 6) { rtext = "El Jefe"; }
   else { rtext = "Cholo"; }
  }
  else if(PlayerInfo[playerid][pMember] == 16 || PlayerInfo[playerid][pLeader] == 16)//GROVE RANKOVI
  {
      if(PlayerInfo[playerid][pRank] == 1) { rtext = "Dumb Hoe"; }
   else if(PlayerInfo[playerid][pRank] == 2) { rtext = "Crack Head"; }
   else if(PlayerInfo[playerid][pRank] == 3) { rtext = "Souljah"; }
   else if(PlayerInfo[playerid][pRank] == 4) { rtext = "Gangsta"; }
   else if(PlayerInfo[playerid][pRank] == 5) { rtext = "Trusted Balla"; }
   else if(PlayerInfo[playerid][pRank] == 6) { rtext = "Kingpin"; }
   else { rtext = "Dumb Hoe"; }
  }
  else
  {
  rtext = "None";
  }
        new jtext[20];
        if(PlayerInfo[playerid][pJob] == 1) { jtext = "Drvosjeca"; }
        else if(PlayerInfo[playerid][pJob] == 2) { jtext = "Postar"; }
        else if(PlayerInfo[playerid][pJob] == 3) { jtext = "Prostitutka"; }
        else if(PlayerInfo[playerid][pJob] == 4) { jtext = "Vozac Goriva"; }
        else if(PlayerInfo[playerid][pJob] == 7) { jtext = "Automehanicar"; }
        else if(PlayerInfo[playerid][pJob] == 8) { jtext = "Bodyguard"; }
        else if(PlayerInfo[playerid][pJob] == 9) { jtext = "Pilot"; }
        else if(PlayerInfo[playerid][pJob] == 12) { jtext = "Bokser"; }
        else if(PlayerInfo[playerid][pJob] == 14) { jtext = "Vozac Busa"; }
        else if(PlayerInfo[playerid][pJob] == 15) { jtext = "Raznosac novina"; }
        else if(PlayerInfo[playerid][pJob] == 16) { jtext = "Kamiondzija"; }
        else if(PlayerInfo[playerid][pJob] == 17) { jtext = "Raznosac pice"; }
        else if(PlayerInfo[playerid][pJob] == 18) { jtext = "Farmer"; }
        else if(PlayerInfo[playerid][pJob] == 21) { jtext = "Cistac Ulica"; }
        else if(PlayerInfo[playerid][pJob] == 23) { jtext = "Komunalac"; }
        else if(PlayerInfo[playerid][pJob] == 28) { jtext = "Kosac Trave"; }
        else if(PlayerInfo[playerid][pJob] == 30) { jtext = "Security"; }
else { jtext = "Nezaposlen"; }
  new drank[20];
  if(PlayerInfo[playerid][pDonateRank] == 1) { drank = "Donator Level 1"; }
  else if(PlayerInfo[playerid][pDonateRank] >= 2) { drank = "Donator Level 2"; }
  else if(PlayerInfo[playerid][pDonateRank] >= 3) { drank = "Donator Level 3"; }
  else { drank = "None"; }
  new nxtlevel = PlayerInfo[playerid][pLevel]+1;
  new expamount = nxtlevel*levelexp;
  new housekey = PlayerInfo[playerid][pPhousekey];
  new sk = PlayerInfo[playerid][pPstankey];
  new bizkey = PlayerInfo[playerid][pPbiskey];
  new carkey = PlayerInfo[playerid][pPcarkey];
  new carkey2 = PlayerInfo[playerid][pPcarkey2];
  new carkey3 = PlayerInfo[playerid][pPcarkey3];

  format(string,128,"Ime: ~w~%s",sendername);
  TextDrawSetString(imeig[playerid], string);
  format(string,128,"Level: ~w~%d",PlayerInfo[playerid][pLevel]);
  TextDrawSetString(levelstats[playerid], string);
  format(string,128,"Pozicija: ~w~%s",rtext);
  TextDrawSetString(rankorg[playerid], string);
  format(string,128,"Sati Igranja: ~w~%d",PlayerInfo[playerid][pConnectTime]);
  TextDrawSetString(satig[playerid], string);
  format(string,128,"Respekti: ~w~%d/%d",PlayerInfo[playerid][pExp], expamount);
  TextDrawSetString(respekt[playerid], string);
  format(string,128,"Donator: ~w~%s",drank);
  TextDrawSetString(donator[playerid], string);
  format(string,128,"Godine: ~w~%d",PlayerInfo[playerid][pAge]);
  TextDrawSetString(godine[playerid], string);
  format(string,128,"Pol: ~w~%s",atext);
  TextDrawSetString(pol[playerid], string);
  format(string,128,"Drzava: ~w~%s",otext);
  TextDrawSetString(drzava[playerid], string);
  format(string,128,"Posao: ~w~%s",jtext);
  TextDrawSetString(posao[playerid], string);
  format(string,128,"Organizacija: ~w~%s",ttext);
  TextDrawSetString(orgstats[playerid], string);
  format(string,128,"Droga ~w~%d",PlayerInfo[playerid][pDrugs]);
  TextDrawSetString(droga1[playerid], string);
  format(string,128,"Materijali: ~w~%d",PlayerInfo[playerid][pMats]);
  TextDrawSetString(materijalistats[playerid], string);
  format(string,128,"Tel.Kred: ~w~%d",PlayerInfo[playerid][pKredit1]);
  TextDrawSetString(telkred[playerid], string);
  format(string,128,"Kuca Kljuc: ~w~%d",housekey);
  TextDrawSetString(kucak[playerid], string);
  format(string,128,"Stan Kljuc: ~w~%d",sk);
  TextDrawSetString(stank[playerid], string);
  format(string,128,"Firma Kljuc: ~w~%d",bizkey);
  TextDrawSetString(firmak[playerid], string);
  format(string,128,"Vozilo 1: ~w~%d",carkey);
  TextDrawSetString(vozilok1[playerid], string);
  format(string,128,"Vozilo 2: ~w~%d",carkey2);
  TextDrawSetString(vozilok2[playerid], string);
  format(string,128,"Vozilo 3: ~w~%d",carkey3);
  TextDrawSetString(vozilok3[playerid], string);
  format(string,128,"Interier: ~w~%d",PlayerInfo[playerid][pInt]);
  TextDrawSetString(intidstats[playerid], string);
  format(string,128,"Banka: ~w~%d~g~$",PlayerInfo[playerid][pAccount]);
  TextDrawSetString(bankastats[playerid], string);
  format(string,128,"Novac: ~w~%d~g~$",GetPlayerMoney(playerid));
  TextDrawSetString(novacstats[playerid], string);
  statsi[playerid] = 1;
  }
  else
  {
  TextDrawDestroy(stats0[playerid]);
  TextDrawDestroy(stats1[playerid]);
  TextDrawDestroy(stats2[playerid]);
  TextDrawDestroy(stats3[playerid]);
  TextDrawDestroy(stats4[playerid]);
  TextDrawDestroy(stats5[playerid]);
  TextDrawDestroy(stats6[playerid]);
  TextDrawDestroy(stats7[playerid]);
  TextDrawDestroy(stats8[playerid]);
  TextDrawDestroy(imeig[playerid]);
  TextDrawDestroy(rankorg[playerid]);
  TextDrawDestroy(satig[playerid]);
  TextDrawDestroy(levelstats[playerid]);
  TextDrawDestroy(respekt[playerid]);
  TextDrawDestroy(donator[playerid]);
  TextDrawDestroy(godine[playerid]);
  TextDrawDestroy(pol[playerid]);
  TextDrawDestroy(drzava[playerid]);
  TextDrawDestroy(posao[playerid]);
  TextDrawDestroy(orgstats[playerid]);
  TextDrawDestroy(materijalistats[playerid]);
  TextDrawDestroy(droga1[playerid]);
  TextDrawDestroy(telkred[playerid]);
  TextDrawDestroy(kucak[playerid]);
  TextDrawDestroy(stank[playerid]);
  TextDrawDestroy(firmak[playerid]);
  TextDrawDestroy(vozilok1[playerid]);
  TextDrawDestroy(vozilok2[playerid]);
  TextDrawDestroy(vozilok3[playerid]);
  TextDrawDestroy(intidstats[playerid]);
  TextDrawDestroy(bankastats[playerid]);
  TextDrawDestroy(novacstats[playerid]);
  TextDrawHideForPlayer(playerid, stats0[playerid]);
  TextDrawHideForPlayer(playerid, stats1[playerid]);
  TextDrawHideForPlayer(playerid, stats2[playerid]);
  TextDrawHideForPlayer(playerid, stats3[playerid]);
  TextDrawHideForPlayer(playerid, stats4[playerid]);
  TextDrawHideForPlayer(playerid, stats5[playerid]);
  TextDrawHideForPlayer(playerid, stats6[playerid]);
  TextDrawHideForPlayer(playerid, stats7[playerid]);
  TextDrawHideForPlayer(playerid, stats8[playerid]);
  TextDrawHideForPlayer(playerid, imeig[playerid]);
  TextDrawHideForPlayer(playerid, rankorg[playerid]);
  TextDrawHideForPlayer(playerid, satig[playerid]);
  TextDrawHideForPlayer(playerid, levelstats[playerid]);
  TextDrawHideForPlayer(playerid, respekt[playerid]);
  TextDrawHideForPlayer(playerid, donator[playerid]);
  TextDrawHideForPlayer(playerid, godine[playerid]);
  TextDrawHideForPlayer(playerid, pol[playerid]);
  TextDrawHideForPlayer(playerid, drzava[playerid]);
  TextDrawHideForPlayer(playerid, posao[playerid]);
  TextDrawHideForPlayer(playerid, orgstats[playerid]);
  TextDrawHideForPlayer(playerid, materijalistats[playerid]);
  TextDrawHideForPlayer(playerid, droga1[playerid]);
  TextDrawHideForPlayer(playerid, telkred[playerid]);
  TextDrawHideForPlayer(playerid, kucak[playerid]);
  TextDrawHideForPlayer(playerid, stank[playerid]);
  TextDrawHideForPlayer(playerid, firmak[playerid]);
  TextDrawHideForPlayer(playerid, vozilok1[playerid]);
  TextDrawHideForPlayer(playerid, vozilok2[playerid]);
  TextDrawHideForPlayer(playerid, vozilok3[playerid]);
  TextDrawHideForPlayer(playerid, intidstats[playerid]);
  TextDrawHideForPlayer(playerid, novacstats[playerid]);
  TextDrawHideForPlayer(playerid, bankastats[playerid]);
  statsi[playerid] = 0;
  }
  }
  }
  return 1;
  }
 


ovo mi je na CMD stats a na public Showstats ovo:
public ShowStats(playerid,targetid)
{
    if(IsPlayerConnected(playerid)&&IsPlayerConnected(targetid))
{
new cash = 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 = "San Fiero"; }
else if(PlayerInfo[targetid][pOrigin] == 2) { otext = "Beograd"; }
else if(PlayerInfo[targetid][pOrigin] == 3) { otext = "Las Ventras"; }
else if(PlayerInfo[targetid][pOrigin] == 4) { otext = "Bone Country"; }
        else if(PlayerInfo[targetid][pOrigin] == 5) { otext = " Beograd"; }
        else if(PlayerInfo[targetid][pOrigin] == 6) { otext = "Mount Chiliad"; }
else if(PlayerInfo[targetid][pOrigin] == 7) { otext = "Lukavac"; }
else if(PlayerInfo[targetid][pOrigin] == 8) { otext = "Ostalo"; }
         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 = "w"; }
  else if(PlayerInfo[targetid][pMember] == 2 || PlayerInfo[targetid][pLeader] == 2) { ttext = "aw; }
  else if(PlayerInfo[targetid][pMember] == 4 || PlayerInfo[targetid][pLeader] == 4) { ttext = "VMA"; }
  else if(PlayerInfo[targetid][pMember] == 5 || PlayerInfo[targetid][pLeader] == 5) { ttext = "Yakuza"; }
  else if(PlayerInfo[targetid][pMember] == 6 || PlayerInfo[targetid][pLeader] == 6) { ttext = "Corleone Crime F."; }
  else if(PlayerInfo[targetid][pMember] == 7 || PlayerInfo[targetid][pLeader] == 7) { ttext = "Predsednik"; }
  else if(PlayerInfo[targetid][pMember] == 9 || PlayerInfo[targetid][pLeader] == 9) { ttext = "[DG:RT] Novinar"; }
  else if(PlayerInfo[targetid][pMember] == 10 || PlayerInfo[targetid][pLeader] == 10) { ttext = "Taxi"; }
  else if(PlayerInfo[targetid][pMember] == 15 || PlayerInfo[targetid][pLeader] == 15) { ttext = "aw"; }
  else if(PlayerInfo[targetid][pMember] == 16 || PlayerInfo[targetid][pLeader] == 16) { ttext = "a"; }
  else if(PlayerInfo[targetid][pMember] == 17 || PlayerInfo[targetid][pLeader] == 17) { ttext = "Ja"; } //vule
  else if(PlayerInfo[targetid][pMember] == 18 || PlayerInfo[targetid][pLeader] == 18) { ttext = "a"; }
  else if(PlayerInfo[targetid][pMember] == 19 || PlayerInfo[targetid][pLeader] == 19) { ttext = "d"; }
  else if(PlayerInfo[targetid][pMember] == 20 || PlayerInfo[targetid][pLeader] == 20) { ttext = "d"; }
  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[30];
   if(PlayerInfo[targetid][pMember] == 1 || PlayerInfo[targetid][pLeader] == 1)
  { ftext = "a"; }
    if(PlayerInfo[targetid][pMember] == 2 || PlayerInfo[targetid][pLeader] == 2)
  { ftext = "a"; }
  else if(PlayerInfo[targetid][pMember] == 4 || PlayerInfo[targetid][pLeader] == 4)
  { ftext = "LSMD"; }
  else if(PlayerInfo[targetid][pMember] == 5 || PlayerInfo[targetid][pLeader] == 5)
  { ftext = "Yakuza"; }
  else if(PlayerInfo[targetid][pMember] == 6 || PlayerInfo[targetid][pLeader] == 6)
  { ftext = "Corleone Crime Family"; }
  else if(PlayerInfo[targetid][pMember] == 7 || PlayerInfo[targetid][pLeader] == 7)
  { ftext = "Predsednik"; }
  else if(PlayerInfo[targetid][pMember] == 9 || PlayerInfo[targetid][pLeader] == 9)
  { ftext = "[YU] Novinari"; }
  else if(PlayerInfo[targetid][pMember] == 10 || PlayerInfo[targetid][pLeader] == 10)
  { ftext = "Taxi"; }
  else if(PlayerInfo[targetid][pMember] == 15 || PlayerInfo[targetid][pLeader] == 15)
  { ftext = "a"; }
  else if(PlayerInfo[targetid][pMember] == 16 || PlayerInfo[targetid][pLeader] == 16)
  { ftext = "w"; }
  else if(PlayerInfo[targetid][pMember] == 17 || PlayerInfo[targetid][pLeader] == 17)
  { ftext = "Ja"; }
  else if(PlayerInfo[targetid][pMember] == 18 || PlayerInfo[targetid][pLeader] == 18)
  { ftext = "aw"; }
  else if(PlayerInfo[targetid][pMember] == 19 || PlayerInfo[targetid][pLeader] == 19)
  { ftext = "Zvezdara"; }
  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)
     {
         if(PlayerInfo[targetid][pRank] == 1) { rtext = "Outsider"; }
   else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Associate"; }
   else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Soldier"; }
   else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Capo"; }
   else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Underboss"; }
     else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Godfather"; }
   else { rtext = "Outsider"; }
  }
  else if(PlayerInfo[targetid][pMember] == 1 || PlayerInfo[targetid][pLeader] == 1)//PD Ranks
  {
      if(PlayerInfo[targetid][pRank] == 1) { rtext = "Cadet"; }
   else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Police Officer"; }
   else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Corporal"; }
   else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Sergeant"; }
   else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Lieutenant"; }
         else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Captain"; }
         else if(PlayerInfo[targetid][pRank] == 7) { rtext = "Deputy Chief"; }
         else if(PlayerInfo[targetid][pRank] == 8) { rtext = "Chief"; }
   else { rtext = "Cadet"; }
  }
  else if(PlayerInfo[targetid][pMember] == 2 || PlayerInfo[targetid][pLeader] == 2)//w Ranks
  {
      if(PlayerInfo[targetid][pRank] == 1) { rtext = "Professional Staff"; }
   else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Special Agent Trainee"; }
   else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Special Agent"; }
   else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Special Agent in Charge"; }
   else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Assistant Director in Charge"; }
      else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Director"; }
   else { rtext = "Intern"; }
  }
  else if(PlayerInfo[targetid][pMember] == 5 || PlayerInfo[targetid][pLeader] == 5)//Mara Salvatrucha 13 Ranks
  {
      if(PlayerInfo[targetid][pRank] == 1) { rtext = "Kyosei"; }
   else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Kyokuryu"; }
   else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Kudo"; }
   else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Sumiyoshi"; }
   else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Inagawa"; }
     else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Yamaguchi"; }
   else { rtext = "Kyosei"; }
  }
  else if(PlayerInfo[targetid][pMember] == 6 || PlayerInfo[targetid][pLeader] == 6)//Corleone Crime Family Ranks
  {
      if(PlayerInfo[targetid][pRank] == 1) { rtext = "Associate"; }
   else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Mafioso"; }
   else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Cappo"; }
   else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Consigliere"; }
   else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Don"; }
     else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Godfather"; }
   else { rtext = "Outsider"; }
  }
  else if(PlayerInfo[targetid][pMember] == 7)//VLADA RANKOVI
  {
      if(PlayerInfo[targetid][pRank] == 1) { rtext = "Vozac Rank 1"; }
      else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Vozac Rank 2"; }
      else if(PlayerInfo[targetid][pRank] == 3) { rtext = "BodyGuard Rank 1"; }
      else if(PlayerInfo[targetid][pRank] == 4) { rtext = "BodyGuard Rank 2"; }
       else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Potpredsednik"; }
  else if(PlayerInfo[targetid][pLeader] == 7) { rtext = "Lider"; }
      else { rtext = "None"; }
  }
  else if(PlayerInfo[targetid][pMember] == 9 || PlayerInfo[targetid][pLeader] == 9)//NOVINARI RANK
  {
      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] == 10 || PlayerInfo[targetid][pLeader] == 10)//TAXI RANKOVI
  {
      if(PlayerInfo[targetid][pRank] == 1) { rtext = "Rank 1"; }
   else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Rank 2"; }
   else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Rank 3"; }
   else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Rank 4"; }
   else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Rank 5"; }
      else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Lider"; }
   else { rtext = "Trainee"; }
  }
  else if(PlayerInfo[targetid][pMember] == 15 || PlayerInfo[targetid][pLeader] == 15)//GROVE RANKOVI
  {
      if(PlayerInfo[targetid][pRank] == 1) { rtext = "Cholo"; }
   else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Guero"; }
   else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Soldado"; }
   else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Vato"; }
   else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Mano Derecha"; }
     else if(PlayerInfo[targetid][pRank] == 6) { rtext = "El Jefe"; }
   else { rtext = "Cholo"; }
  }
  else if(PlayerInfo[targetid][pMember] == 16 || PlayerInfo[targetid][pLeader] == 16)//Ballas RANKOVI
  {
      if(PlayerInfo[targetid][pRank] == 1) { rtext = "Dumb Hoe"; }
   else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Crack head"; }
   else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Souljah"; }
   else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Gangsta"; }
   else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Trusted Balla"; }
     else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Kingpin"; }
   else { rtext = "Dumb Hoe"; }
  }
  else if(PlayerInfo[targetid][pMember] == 17 || PlayerInfo[targetid][pLeader] == 17)//aw vule
{
    if(PlayerInfo[targetid][pRank] == 1) { rtext = "1"; }
else if(PlayerInfo[targetid][pRank] == 2) { rtext = "2"; }
else if(PlayerInfo[targetid][pRank] == 3) { rtext = "3"; }
else if(PlayerInfo[targetid][pRank] == 4) { rtext = "4"; }
else if(PlayerInfo[targetid][pRank] == 5) { rtext = "5"; }
else if(PlayerInfo[targetid][pRank] == 6) { rtext = "6"; }
  else if(PlayerInfo[targetid][pRank] == 7) { rtext = "7"; }
else { rtext = "Cigan"; }
}
   else if(PlayerInfo[targetid][pMember] == 18 || PlayerInfo[targetid][pLeader] == 18)//ZK vule
{
    if(PlayerInfo[targetid][pRank] == 1) { rtext = "1"; }
else if(PlayerInfo[targetid][pRank] == 2) { rtext = "2"; }
else if(PlayerInfo[targetid][pRank] == 3) { rtext = "3"; }
else if(PlayerInfo[targetid][pRank] == 4) { rtext = "4"; }
else if(PlayerInfo[targetid][pRank] == 5) { rtext = "5"; }
else if(PlayerInfo[targetid][pRank] == 6) { rtext = "6"; }
  else if(PlayerInfo[targetid][pRank] == 7) { rtext = "7"; }
else { rtext = "Cigan"; }
}
   else if(PlayerInfo[targetid][pMember] == 19 || PlayerInfo[targetid][pLeader] == 19)//ZK vule
{
    if(PlayerInfo[targetid][pRank] == 1) { rtext = "1"; }
else if(PlayerInfo[targetid][pRank] == 2) { rtext = "2"; }
else if(PlayerInfo[targetid][pRank] == 3) { rtext = "3"; }
else if(PlayerInfo[targetid][pRank] == 4) { rtext = "4"; }
else if(PlayerInfo[targetid][pRank] == 5) { rtext = "5"; }
else if(PlayerInfo[targetid][pRank] == 6) { rtext = "6"; }
  else if(PlayerInfo[targetid][pRank] == 7) { rtext = "7"; }
else { rtext = "Cigan"; }
}
   else if(PlayerInfo[targetid][pMember] == 20 || PlayerInfo[targetid][pLeader] == 20)//aw vule
{
    if(PlayerInfo[targetid][pRank] == 1) { rtext = "1"; }
else if(PlayerInfo[targetid][pRank] == 2) { rtext = "2"; }
else if(PlayerInfo[targetid][pRank] == 3) { rtext = "3"; }
else if(PlayerInfo[targetid][pRank] == 4) { rtext = "4"; }
else if(PlayerInfo[targetid][pRank] == 5) { rtext = "5"; }
else if(PlayerInfo[targetid][pRank] == 6) { rtext = "6"; }
  else if(PlayerInfo[targetid][pRank] == 7) { rtext = "7"; }
else { rtext = "Cigan"; }
}
  else
  {
  rtext = "None";
  }
        new jtext[20];
        if(PlayerInfo[targetid][pJob] == 1) { jtext = "Drvosjeca"; }
        else if(PlayerInfo[targetid][pJob] == 2) { jtext = "Postar"; }
        else if(PlayerInfo[targetid][pJob] == 3) { jtext = "Prostitutka"; }
        else if(PlayerInfo[targetid][pJob] == 4) { jtext = "Vozac Goriva"; }
        else if(PlayerInfo[targetid][pJob] == 7) { jtext = "Automehanicar"; }
        else if(PlayerInfo[targetid][pJob] == 8) { jtext = "Bodyguard"; }
        else if(PlayerInfo[targetid][pJob] == 9) { jtext = "Pilot"; }
        else if(PlayerInfo[targetid][pJob] == 12) { jtext = "Bokser"; }
        else if(PlayerInfo[targetid][pJob] == 14) { jtext = "Vozac Busa"; }
        else if(PlayerInfo[targetid][pJob] == 15) { jtext = "Raznosac novina"; }
        else if(PlayerInfo[targetid][pJob] == 16) { jtext = "Kamiondzija"; }
        else if(PlayerInfo[targetid][pJob] == 17) { jtext = "Raznosac pice"; }
        else if(PlayerInfo[targetid][pJob] == 18) { jtext = "Farmer"; }
        else if(PlayerInfo[targetid][pJob] == 21) { jtext = "Cistac Ulica"; }
        else if(PlayerInfo[targetid][pJob] == 23) { jtext = "Komunalac"; }
        else if(PlayerInfo[targetid][pJob] == 28) { jtext = "Kosac Trave"; }
        else if(PlayerInfo[targetid][pJob] == 30) { jtext = "Security"; }
else { jtext = "Nezaposlen"; }
  new drank[20];
  if(PlayerInfo[targetid][pDonateRank] == 1) { drank = "Donator Level 1"; }
  else if(PlayerInfo[targetid][pDonateRank] >= 2) { drank = "Donator Level 2"; }
  else if(PlayerInfo[targetid][pDonateRank] >= 3) { drank = "Donator Level 3"; }
  else { drank = "None"; }
  new age = PlayerInfo[targetid][pAge];
  new ptime = PlayerInfo[targetid][pConnectTime];
  new lotto = PlayerInfo[targetid][pLottoNr];
  new fishes = PlayerInfo[targetid][pFishes];
  new drugs = PlayerInfo[targetid][pDrugs];
  new mats = PlayerInfo[targetid][pMats];
  new wanted = WantedLevel[targetid];
  new level = PlayerInfo[targetid][pLevel];
  new exp = PlayerInfo[targetid][pExp];
  new pnumber = PlayerInfo[targetid][pPnumber];
  new account = PlayerInfo[targetid][pAccount];
  new nxtlevel = PlayerInfo[targetid][pLevel]+1;
  new expamount = nxtlevel*levelexp;
  new housekey = PlayerInfo[targetid][pPhousekey];
  new sk = PlayerInfo[targetid][pPstankey];
  new bizkey = PlayerInfo[targetid][pPbiskey];
  new carkey = PlayerInfo[targetid][pPcarkey];
  new carkey2 = PlayerInfo[targetid][pPcarkey2];
  new carkey3 = PlayerInfo[targetid][pPcarkey3];
  new intir = PlayerInfo[targetid][pInt];
  new virworld = PlayerInfo[targetid][pVirWorld];
  new local = PlayerInfo[targetid][pLocal];
  new Float:health;
  new name[MAX_PLAYER_NAME];
  new brak = PlayerInfo[targetid][pMarried];
  new k = PlayerInfo[targetid][pKredit1];
  GetPlayerName(targetid, name, sizeof(name));
  GetPlayerHealth(targetid,health);
  new Float:px,Float:py,Float:pz;
  GetPlayerPos(targetid, px, py, pz);
      new coordsstring1[256];
      new coordsstring2[380];
      new coordsstring3[256];
      new coordsstring4[256];
      new coordsstring5[256];
      new coordsstring6[256];
      new stats[1148];
      format(coordsstring1, sizeof(coordsstring1),"{0080C0}|---------------------------------[Licna Karta]--------------------------------|\n{ff0000}-Dosije: /dosije\n{FFFFFF}-Ime i Prezime: %s\n-ID: [%d]\n-Level:[%d]",name,playerid,level);
      format(coordsstring2, sizeof(coordsstring2), "\n-{FFFFFF}Respect:[%d/%d]\n-DonatorRank:[%s]\n-Br.Telefona:[%d]\n-Odigranih sati:[%d]\n{0080C0}[--------------Bankovni Racun--------------]\n{FFFFFF}-Novac:[$%d]\n-Banka:[$%d]\n", exp,expamount,drank, pnumber, ptime,cash, account);
      format(coordsstring3, sizeof(coordsstring3), "{0080C0}[---------------Licna Karta---------------]\n{FFFFFF}-Godina:[%d]\n-Pol:[%s]\n-Drzava:[%s]", age,atext,otext);
      format(coordsstring4, sizeof(coordsstring4), "\n{FFFFFF}-Posao:[%s]\n-Brak:[%s]\n-Organizacija:[%s]\n-Pozicija:[%s]\n-Wanted Level:[%d]\n{0080C0}[----------------Torba-----------------]\n{FFFFFF}-Lotto Br.:[%d]\n-Uhvacene ribe:[%d]\n",jtext,brak,ttext,rtext,wanted,lotto, fishes );
      format(coordsstring5, sizeof(coordsstring5), "-Droga:[%d]\n-Materijali:[%d]\n-T.Kredit:[%d]\n{0080C0}[-------------------Imovina-------------------]\n{0080C0}Kljucevi: {ffffff}-Kuca:[%d] -Firma:[%d] -Stan:[%d]",drugs,mats,k,housekey,bizkey,sk);
      format(coordsstring6, sizeof(coordsstring6), "\n{0080C0}Vozila Kljucevi: {FFFFFF}-Veh1:[%d] -Veh2:[%d] -Veh3:[%d]\n{0080C0}Ostalo: {ffffff}- HireKey:[%d] -Int:[%d] -VW:[%d] -Local:[%d]\n{0080C0}|-------------------------------------------------------------------------------------------|", carkey,carkey2,carkey3,HireCar[targetid],intir,virworld,local);
      format(stats, sizeof(stats),"%s%s%s%s%s%s",coordsstring1,coordsstring2,coordsstring3,coordsstring4,coordsstring5,coordsstring6);
      ShowPlayerDialog(playerid, sizeof(stats), DIALOG_STYLE_MSGBOX, "{0080C0}Yugoslavia State RolePlay {FFFFFF}[ www.uskoro.com ]", stats , "Uredu", "");
      }
}
Poslednja Izmena: Mart 07, 2013, 16:00:32 POSLE PODNE od Vukasin_Krimo

Pa cek koliko ja vidim to ti je u dialogu o.O

MARIO WLSECO • KUCNI SERVER • SMECAR

pa to je i meni ne jasno kompletno..xD a izbacuje mi u texdrawu..

daj CMD /stats

MARIO WLSECO • KUCNI SERVER • SMECAR

CMD:stats(playerid, params[])
{
if(IsPlayerConnected(playerid))
{
if (gPlayerLogged[playerid] != 0)
{
if(statsi[playerid] == 0)
{
new sendername[MAX_PLAYER_NAME];
new string[512];
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* %s gleda svoj PDA uredjaj.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
GetPlayerName(playerid, sendername, sizeof(sendername));
SCM(playerid,COLOR_WHITE,"[INFO] {00C0FF}Da zatvorite stats pritisnite LIJEVI KLIK !");
SCM(playerid,COLOR_WHITE," ");
SCM(playerid,COLOR_WHITE," ");
SCM(playerid,COLOR_WHITE," ");
SCM(playerid,COLOR_WHITE," ");
SCM(playerid,COLOR_WHITE," ");
SCM(playerid,COLOR_WHITE," ");
SCM(playerid,COLOR_WHITE," ");
SCM(playerid,COLOR_WHITE," ");
SCM(playerid,COLOR_WHITE," ");
//stats kreece
stats0[playerid] = TextDrawCreate(494.000000, 51.000000, "_ _");//Moj stats
TextDrawBackgroundColor(stats0[playerid], 255);
TextDrawFont(stats0[playerid], 1);
TextDrawLetterSize(stats0[playerid], 1.090000, 20.799999);
TextDrawColor(stats0[playerid], -1);
TextDrawSetOutline(stats0[playerid], 0);
TextDrawSetProportional(stats0[playerid], 1);
TextDrawSetShadow(stats0[playerid], 1);
TextDrawUseBox(stats0[playerid], 1);
TextDrawBoxColor(stats0[playerid], 100);
TextDrawTextSize(stats0[playerid], 163.000000, 0.000000);

stats1[playerid] = TextDrawCreate(500.000000, 51.000000, "_");//moj stats
TextDrawBackgroundColor(stats1[playerid], 255);
TextDrawFont(stats1[playerid], 1);
TextDrawLetterSize(stats1[playerid], 0.500000, -0.200000);
TextDrawColor(stats1[playerid], -1);
TextDrawSetOutline(stats1[playerid], 0);
TextDrawSetProportional(stats1[playerid], 1);
TextDrawSetShadow(stats1[playerid], 1);
TextDrawUseBox(stats1[playerid], 1);
TextDrawBoxColor(stats1[playerid], -1);
TextDrawTextSize(stats1[playerid], 162.000000, 0.000000);

stats2[playerid] = TextDrawCreate(501.000000, 427.000000, "_");//moj stats boja: 848756735
TextDrawBackgroundColor(stats2[playerid], 255);
TextDrawFont(stats2[playerid], 1);
TextDrawLetterSize(stats2[playerid], 0.500000, -0.200000);
TextDrawColor(stats2[playerid], -1);
TextDrawSetOutline(stats2[playerid], 0);
TextDrawSetProportional(stats2[playerid], 1);
TextDrawSetShadow(stats2[playerid], 1);
TextDrawUseBox(stats2[playerid], 1);
TextDrawBoxColor(stats2[playerid], -1);
TextDrawTextSize(stats2[playerid], 163.000000, 0.000000);

stats4[playerid] = TextDrawCreate(493.000000, 54.000000, "_");//
TextDrawBackgroundColor(stats4[playerid], 255);
TextDrawFont(stats4[playerid], 1);
TextDrawLetterSize(stats4[playerid], 0.460000, 41.000015);
TextDrawColor(stats4[playerid], -1);
TextDrawSetOutline(stats4[playerid], 0);
TextDrawSetProportional(stats4[playerid], 1);
TextDrawSetShadow(stats4[playerid], 1);
TextDrawUseBox(stats4[playerid], 1);
TextDrawBoxColor(stats4[playerid], -1);
TextDrawTextSize(stats4[playerid], 498.000000, 0.000000);

stats5[playerid] = TextDrawCreate(168.000000, 54.000000, "_");//
TextDrawBackgroundColor(stats5[playerid], 255);
TextDrawFont(stats5[playerid], 1);
TextDrawLetterSize(stats5[playerid], 0.460000, 41.000015);
TextDrawColor(stats5[playerid], -1);
TextDrawSetOutline(stats5[playerid], 0);
TextDrawSetProportional(stats5[playerid], 1);
TextDrawSetShadow(stats5[playerid], 1);
TextDrawUseBox(stats5[playerid], 1);
TextDrawBoxColor(stats5[playerid], -1);
TextDrawTextSize(stats5[playerid], 163.000000, 10.000000);

stats6[playerid] = TextDrawCreate(165.000000, 71.000000, "~b~===========~w~OOC Stats~b~========");
TextDrawBackgroundColor(stats6[playerid], 255);
TextDrawFont(stats6[playerid], 2);
TextDrawLetterSize(stats6[playerid], 0.390000, 1.600000);
TextDrawColor(stats6[playerid], 16711935);
TextDrawSetOutline(stats6[playerid], 1);
TextDrawSetProportional(stats6[playerid], 1);

stats7[playerid] = TextDrawCreate(165.000000, 138.000000, "~b~===========~w~IC Stats~b~=======");
TextDrawBackgroundColor(stats7[playerid], 255);
TextDrawFont(stats7[playerid], 2);
TextDrawLetterSize(stats7[playerid], 0.440000, 1.600000);
TextDrawColor(stats7[playerid], 16711935);
TextDrawSetOutline(stats7[playerid], 1);
TextDrawSetProportional(stats7[playerid], 1);

stats8[playerid] = TextDrawCreate(168.000000, 260.000000, "~b~===========~w~Imovina~b~=======");
TextDrawBackgroundColor(stats8[playerid], 255);
TextDrawFont(stats8[playerid], 2);
TextDrawLetterSize(stats8[playerid], 0.440000, 1.800000);
TextDrawColor(stats8[playerid], 16711935);
TextDrawSetOutline(stats8[playerid], 1);
TextDrawSetProportional(stats8[playerid], 1);

stats3[playerid] = TextDrawCreate(185.000000, 18.000000, "Yugoslavija State RP stats");//s
TextDrawBackgroundColor(stats3[playerid], 255);
TextDrawFont(stats3[playerid], 2);
TextDrawLetterSize(stats3[playerid], 0.609999, 3.699998);
TextDrawColor(stats3[playerid], 848756735);
TextDrawSetOutline(stats3[playerid], 1);
TextDrawSetProportional(stats3[playerid], 1);

rankorg[playerid] = TextDrawCreate(199.000000, 206.000000, "~r~ Pozicija:~w~ Sef");//S
TextDrawBackgroundColor(rankorg[playerid], 255);
TextDrawFont(rankorg[playerid], 2);
TextDrawLetterSize(rankorg[playerid], 0.380000, 1.200000);
TextDrawColor(rankorg[playerid], -65281);
TextDrawSetOutline(rankorg[playerid], 1);
TextDrawSetProportional(rankorg[playerid], 1);

imeig[playerid] = TextDrawCreate(199.000000, 153.000000, "~r~ Ime: ~w~Adin_King");//s
TextDrawBackgroundColor(imeig[playerid], 255);
TextDrawFont(imeig[playerid], 2);
TextDrawLetterSize(imeig[playerid], 0.380000, 1.200000);
TextDrawColor(imeig[playerid], -65281);
TextDrawSetOutline(imeig[playerid], 1);
TextDrawSetProportional(imeig[playerid], 1);

levelstats[playerid] = TextDrawCreate(197.000000, 88.000000, "~r~ level[playerid]: 30");//s
TextDrawBackgroundColor(levelstats[playerid], 255);
TextDrawFont(levelstats[playerid], 2);
TextDrawLetterSize(levelstats[playerid], 0.380000, 1.200000);
TextDrawColor(levelstats[playerid], -65281);
TextDrawSetOutline(levelstats[playerid], 1);
TextDrawSetProportional(levelstats[playerid], 1);

satig[playerid] = TextDrawCreate(196.000000, 102.000000, "~r~ Sati Igranja: ~w~3");//s
TextDrawBackgroundColor(satig[playerid], 255);
TextDrawFont(satig[playerid], 2);
TextDrawLetterSize(satig[playerid], 0.380000, 1.200000);
TextDrawColor(satig[playerid], -65281);
TextDrawSetOutline(satig[playerid], 1);
TextDrawSetProportional(satig[playerid], 1);

respekt[playerid] = TextDrawCreate(197.000000, 113.000000, "~r~ respekt[playerid]i: 100/200");//s
TextDrawBackgroundColor(respekt[playerid], 255);
TextDrawFont(respekt[playerid], 2);
TextDrawLetterSize(respekt[playerid], 0.380000, 1.200000);
TextDrawColor(respekt[playerid], -65281);
TextDrawSetOutline(respekt[playerid], 1);
TextDrawSetProportional(respekt[playerid], 1);

donator[playerid] = TextDrawCreate(198.000000, 127.000000, "~r~ donator[playerid]: donator[playerid] level[playerid] 2");//S
TextDrawBackgroundColor(donator[playerid], 255);
TextDrawFont(donator[playerid], 2);
TextDrawLetterSize(donator[playerid], 0.380000, 1.200000);
TextDrawColor(donator[playerid], -65281);
TextDrawSetOutline(donator[playerid], 1);
TextDrawSetProportional(donator[playerid], 1);

godine[playerid] = TextDrawCreate(198.000000, 163.000000, "~r~ godine[playerid]: 20");//s
TextDrawBackgroundColor(godine[playerid], 255);
TextDrawFont(godine[playerid], 2);
TextDrawLetterSize(godine[playerid], 0.380000, 1.200000);
TextDrawColor(godine[playerid], -65281);
TextDrawSetOutline(godine[playerid], 1);
TextDrawSetProportional(godine[playerid], 1);

pol[playerid] = TextDrawCreate(199.000000, 174.000000, "~r~ pol[playerid]:~w~ Musko");//S
TextDrawBackgroundColor(pol[playerid], 255);
TextDrawFont(pol[playerid], 2);
TextDrawLetterSize(pol[playerid], 0.380000, 1.200000);
TextDrawColor(pol[playerid], -65281);
TextDrawSetOutline(pol[playerid], 1);
TextDrawSetProportional(pol[playerid], 1);

drzava[playerid] = TextDrawCreate(199.000000, 183.000000, "~r~ drzava[playerid]:~w~ Beograd");//S
TextDrawBackgroundColor(drzava[playerid], 255);
TextDrawFont(drzava[playerid], 2);
TextDrawLetterSize(drzava[playerid], 0.380000, 1.200000);
TextDrawColor(drzava[playerid], -65281);
TextDrawSetOutline(drzava[playerid], 1);
TextDrawSetProportional(drzava[playerid], 1);

posao[playerid] = TextDrawCreate(199.000000, 217.000000, "~r~ posao[playerid]:~w~ Raznosac Novina");//S
TextDrawBackgroundColor(posao[playerid], 255);
TextDrawFont(posao[playerid], 2);
TextDrawLetterSize(posao[playerid], 0.380000, 1.200000);
TextDrawColor(posao[playerid], -65281);
TextDrawSetOutline(posao[playerid], 1);
TextDrawSetProportional(posao[playerid], 1);

orgstats[playerid] = TextDrawCreate(199.000000, 195.000000, "~r~ org[playerid]anizacija:~w~ Corleone Crime Family");//s
TextDrawBackgroundColor(orgstats[playerid], 255);
TextDrawFont(orgstats[playerid], 2);
TextDrawLetterSize(orgstats[playerid], 0.380000, 1.200000);
TextDrawColor(orgstats[playerid], -65281);
TextDrawSetOutline(orgstats[playerid], 1);
TextDrawSetProportional(orgstats[playerid], 1);

droga1[playerid] = TextDrawCreate(199.000000, 228.000000, "~r~ droga[playerid]:~w~ 1000");//s
TextDrawBackgroundColor(droga1[playerid], 255);
TextDrawFont(droga1[playerid], 2);
TextDrawLetterSize(droga1[playerid], 0.380000, 1.200000);
TextDrawColor(droga1[playerid], -65281);
TextDrawSetOutline(droga1[playerid], 1);
TextDrawSetProportional(droga1[playerid], 1);

materijalistats[playerid] = TextDrawCreate(199.000000, 238.000000, "~r~ materijali[playerid]:~w~ 1000");//S
TextDrawBackgroundColor(materijalistats[playerid], 255);
TextDrawFont(materijalistats[playerid], 2);
TextDrawLetterSize(materijalistats[playerid], 0.380000, 1.200000);
TextDrawColor(materijalistats[playerid], -65281);
TextDrawSetOutline(materijalistats[playerid], 1);
TextDrawSetProportional(materijalistats[playerid], 1);

telkred[playerid] = TextDrawCreate(199.000000, 250.000000, "~r~ Tel.Kredit:~w~50$");//S
TextDrawBackgroundColor(telkred[playerid], 255);
TextDrawFont(telkred[playerid], 2);
TextDrawLetterSize(telkred[playerid], 0.380000, 1.200000);
TextDrawColor(telkred[playerid], -65281);
TextDrawSetOutline(telkred[playerid], 1);
TextDrawSetProportional(telkred[playerid], 1);

kucak[playerid] = TextDrawCreate(201.000000, 277.000000, "~r~ Kuca Kljuc:~w~ 255");//S
TextDrawBackgroundColor(kucak[playerid], 255);
TextDrawFont(kucak[playerid], 2);
TextDrawLetterSize(kucak[playerid], 0.380000, 1.200000);
TextDrawColor(kucak[playerid], -65281);
TextDrawSetOutline(kucak[playerid], 1);
TextDrawSetProportional(kucak[playerid], 1);

stank[playerid] = TextDrawCreate(200.000000, 287.000000, "~r~ Stan Kljuc: ~w~ 255");//s
TextDrawBackgroundColor(stank[playerid], 255);
TextDrawFont(stank[playerid], 2);
TextDrawLetterSize(stank[playerid], 0.380000, 1.200000);
TextDrawColor(stank[playerid], -65281);
TextDrawSetOutline(stank[playerid], 1);
TextDrawSetProportional(stank[playerid], 1);

firmak[playerid] = TextDrawCreate(200.000000, 297.000000, "~r~ Firma Kljuc: ~w~ 255");//S
TextDrawBackgroundColor(firmak[playerid], 255);
TextDrawFont(firmak[playerid], 2);
TextDrawLetterSize(firmak[playerid], 0.380000, 1.200000);
TextDrawColor(firmak[playerid], -65281);
TextDrawSetOutline(firmak[playerid], 1);
TextDrawSetProportional(firmak[playerid], 1);

vozilok1[playerid] = TextDrawCreate(200.000000, 307.000000, "~r~ Vozilo 1: ~w~ 999");//s
TextDrawBackgroundColor(vozilok1[playerid], 255);
TextDrawFont(vozilok1[playerid], 2);
TextDrawLetterSize(vozilok1[playerid], 0.380000, 1.200000);
TextDrawColor(vozilok1[playerid], -65281);
TextDrawSetOutline(vozilok1[playerid], 1);
TextDrawSetProportional(vozilok1[playerid], 1);

vozilok2[playerid] = TextDrawCreate(200.000000, 316.000000, "~r~ Vozilo 2: ~w~999");//
TextDrawBackgroundColor(vozilok2[playerid], 255);
TextDrawFont(vozilok2[playerid], 2);
TextDrawLetterSize(vozilok2[playerid], 0.380000, 1.200000);
TextDrawColor(vozilok2[playerid], -65281);
TextDrawSetOutline(vozilok2[playerid], 1);
TextDrawSetProportional(vozilok2[playerid], 1);

vozilok3[playerid] = TextDrawCreate(200.000000, 326.000000, "~r~ Vozilo 3: ~w~ 999");//
TextDrawBackgroundColor(vozilok3[playerid], 255);
TextDrawFont(vozilok3[playerid], 2);
TextDrawLetterSize(vozilok3[playerid], 0.380000, 1.200000);
TextDrawColor(vozilok3[playerid], -65281);
TextDrawSetOutline(vozilok3[playerid], 1);
TextDrawSetProportional(vozilok3[playerid], 1);

intidstats[playerid] = TextDrawCreate(199.000000, 336.000000, "~r~ Interier: ~w~0");//
TextDrawBackgroundColor(intidstats[playerid], 255);
TextDrawFont(intidstats[playerid], 2);
TextDrawLetterSize(intidstats[playerid], 0.380000, 1.200000);
TextDrawColor(intidstats[playerid], -65281);
TextDrawSetOutline(intidstats[playerid], 1);
TextDrawSetProportional(intidstats[playerid], 1);

novacstats[playerid] = TextDrawCreate(199.000000, 347.000000, "~r~ Novac: ~w~99999$");
TextDrawBackgroundColor(novacstats[playerid], 255);
TextDrawFont(novacstats[playerid], 2);
TextDrawLetterSize(novacstats[playerid], 0.380000, 1.200000);
TextDrawColor(novacstats[playerid], -65281);
TextDrawSetOutline(novacstats[playerid], 1);
TextDrawSetProportional(novacstats[playerid], 1);

bankastats[playerid] = TextDrawCreate(199.000000, 358.000000, "~r~ Banka:~w~ 98521567$");
TextDrawBackgroundColor(bankastats[playerid], 255);
TextDrawFont(bankastats[playerid], 2);
TextDrawLetterSize(bankastats[playerid], 0.380000, 1.200000);
TextDrawColor(bankastats[playerid], -65281);
TextDrawSetOutline(bankastats[playerid], 1);
TextDrawSetProportional(bankastats[playerid], 1);
///////////////////////////
TextDrawShowForPlayer(playerid, stats0[playerid]);
TextDrawShowForPlayer(playerid, stats1[playerid]);
TextDrawShowForPlayer(playerid, stats2[playerid]);
TextDrawShowForPlayer(playerid, stats3[playerid]);
TextDrawShowForPlayer(playerid, stats4[playerid]);
TextDrawShowForPlayer(playerid, stats5[playerid]);
TextDrawShowForPlayer(playerid, stats6[playerid]);
TextDrawShowForPlayer(playerid, stats7[playerid]);
TextDrawShowForPlayer(playerid, stats8[playerid]);
TextDrawShowForPlayer(playerid, rankorg[playerid]);
TextDrawShowForPlayer(playerid, imeig[playerid]);
TextDrawShowForPlayer(playerid, levelstats[playerid]);
TextDrawShowForPlayer(playerid, satig[playerid]);
TextDrawShowForPlayer(playerid, respekt[playerid]);
TextDrawShowForPlayer(playerid, donator[playerid]);
TextDrawShowForPlayer(playerid, godine[playerid]);
TextDrawShowForPlayer(playerid, pol[playerid]);
TextDrawShowForPlayer(playerid, drzava[playerid]);
TextDrawShowForPlayer(playerid, posao[playerid]);
TextDrawShowForPlayer(playerid, orgstats[playerid]);
TextDrawShowForPlayer(playerid, droga1[playerid]);
TextDrawShowForPlayer(playerid, materijalistats[playerid]);
TextDrawShowForPlayer(playerid, telkred[playerid]);
TextDrawShowForPlayer(playerid, kucak[playerid]);
TextDrawShowForPlayer(playerid, stank[playerid]);
TextDrawShowForPlayer(playerid, firmak[playerid]);
TextDrawShowForPlayer(playerid, vozilok1[playerid]);
TextDrawShowForPlayer(playerid, vozilok2[playerid]);
TextDrawShowForPlayer(playerid, vozilok3[playerid]);
TextDrawShowForPlayer(playerid, intidstats[playerid]);
TextDrawShowForPlayer(playerid, novacstats[playerid]);
TextDrawShowForPlayer(playerid, bankastats[playerid]);

/*CMD:staristats(playerid, params[])
{
       if(IsPlayerConnected(playerid))
       {
         if (gPlayerLogged[playerid] != 0)
         {
                new sendername[123];
                new string[256];
            ShowStats(playerid,playerid);
            GetPlayerName(playerid, sendername, sizeof(sendername));
             format(string, sizeof(string), "* %s gleda svoj status (/stats).", sendername);
             ProxDetector(10.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
         }
         else
         {
            SendClientMessage(playerid, COLOR_GRAD1, "   Niste ulogovani!");
         }
      }
      return 1;
   }*/ ali ovo je pod onim

izbrisi komandu /staristats i /stats i ubaci ovu
CMD:stats(playerid, params[])
{
if(IsPlayerConnected(playerid))
{
if (gPlayerLogged[playerid] != 0)
{
new sendername[MAX_PLAYER_NAME];
new string[512];
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* %s gleda svoj PDA uredjaj.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
ShowStats(playerid,playerid);
}
}
return 1;
}
Poslednja Izmena: Mart 07, 2013, 16:31:27 POSLE PODNE od .ılllı. Wlseco .ılllı.

MARIO WLSECO • KUCNI SERVER • SMECAR

Uradio tako i dobio sledece :

C:\Users\Korisnik\Desktop\Yugoslavia State RolePlay\gamemodes\MG.pwn(2699) : warning 219: local variable "atext" shadows a variable at a preceding level
C:\Users\Korisnik\Desktop\Yugoslavia State RolePlay\gamemodes\MG.pwn(2705) : warning 219: local variable "drank" shadows a variable at a preceding level
C:\Users\Korisnik\Desktop\Yugoslavia State RolePlay\gamemodes\MG.pwn(9077) : warning 219: local variable "atext" shadows a variable at a preceding level
C:\Users\Korisnik\Desktop\Yugoslavia State RolePlay\gamemodes\MG.pwn(9080) : warning 219: local variable "otext" shadows a variable at a preceding level
C:\Users\Korisnik\Desktop\Yugoslavia State RolePlay\gamemodes\MG.pwn(9089) : warning 219: local variable "ttext" shadows a variable at a preceding level
C:\Users\Korisnik\Desktop\Yugoslavia State RolePlay\gamemodes\MG.pwn(9111) : warning 219: local variable "ftext" shadows a variable at a preceding level
C:\Users\Korisnik\Desktop\Yugoslavia State RolePlay\gamemodes\MG.pwn(9140) : warning 219: local variable "f2text" shadows a variable at a preceding level
C:\Users\Korisnik\Desktop\Yugoslavia State RolePlay\gamemodes\MG.pwn(9143) : warning 219: local variable "rtext" shadows a variable at a preceding level
C:\Users\Korisnik\Desktop\Yugoslavia State RolePlay\gamemodes\MG.pwn(9294) : warning 219: local variable "jtext" shadows a variable at a preceding level
C:\Users\Korisnik\Desktop\Yugoslavia State RolePlay\gamemodes\MG.pwn(9313) : warning 219: local variable "drank" shadows a variable at a preceding level
C:\Users\Korisnik\Desktop\Yugoslavia State RolePlay\gamemodes\MG.pwn(9329) : warning 219: local variable "nxtlevel" shadows a variable at a preceding level
C:\Users\Korisnik\Desktop\Yugoslavia State RolePlay\gamemodes\MG.pwn(9330) : warning 219: local variable "expamount" shadows a variable at a preceding level
C:\Users\Korisnik\Desktop\Yugoslavia State RolePlay\gamemodes\MG.pwn(9331) : warning 219: local variable "housekey" shadows a variable at a preceding level
C:\Users\Korisnik\Desktop\Yugoslavia State RolePlay\gamemodes\MG.pwn(9332) : warning 219: local variable "sk" shadows a variable at a preceding level
C:\Users\Korisnik\Desktop\Yugoslavia State RolePlay\gamemodes\MG.pwn(9333) : warning 219: local variable "bizkey" shadows a variable at a preceding level
C:\Users\Korisnik\Desktop\Yugoslavia State RolePlay\gamemodes\MG.pwn(9334) : warning 219: local variable "carkey" shadows a variable at a preceding level
C:\Users\Korisnik\Desktop\Yugoslavia State RolePlay\gamemodes\MG.pwn(9335) : warning 219: local variable "carkey2" shadows a variable at a preceding level
C:\Users\Korisnik\Desktop\Yugoslavia State RolePlay\gamemodes\MG.pwn(9336) : warning 219: local variable "carkey3" shadows a variable at a preceding level
C:\Users\Korisnik\Desktop\Yugoslavia State RolePlay\gamemodes\MG.pwn(19066) : warning 219: local variable "jtext" shadows a variable at a preceding level
C:\Users\Korisnik\Desktop\Yugoslavia State RolePlay\gamemodes\MG.pwn(19615) : error 021: symbol already defined: "TextDrawShowForPlayer"
C:\Users\Korisnik\Desktop\Yugoslavia State RolePlay\gamemodes\MG.pwn(19649) : error 010: invalid function or declaration
C:\Users\Korisnik\Desktop\Yugoslavia State RolePlay\gamemodes\MG.pwn(19650) : error 010: invalid function or declaration
C:\Users\Korisnik\Desktop\Yugoslavia State RolePlay\gamemodes\MG.pwn(19652) : error 010: invalid function or declaration
C:\Users\Korisnik\Desktop\Yugoslavia State RolePlay\gamemodes\MG.pwn(19653) : error 010: invalid function or declaration
C:\Users\Korisnik\Desktop\Yugoslavia State RolePlay\gamemodes\MG.pwn(19654) : error 010: invalid function or declaration
C:\Users\Korisnik\Desktop\Yugoslavia State RolePlay\gamemodes\MG.pwn(19655) : error 010: invalid function or declaration
C:\Users\Korisnik\Desktop\Yugoslavia State RolePlay\gamemodes\MG.pwn(19656) : error 010: invalid function or declaration
C:\Users\Korisnik\Desktop\Yugoslavia State RolePlay\gamemodes\MG.pwn(19657) : error 010: invalid function or declaration
C:\Users\Korisnik\Desktop\Yugoslavia State RolePlay\gamemodes\MG.pwn(19658) : error 010: invalid function or declaration
C:\Users\Korisnik\Desktop\Yugoslavia State RolePlay\gamemodes\MG.pwn(19659) : error 010: invalid function or declaration
C:\Users\Korisnik\Desktop\Yugoslavia State RolePlay\gamemodes\MG.pwn(19661) : error 010: invalid function or declaration
C:\Users\Korisnik\Desktop\Yugoslavia State RolePlay\gamemodes\MG.pwn(19662) : error 010: invalid function or declaration
C:\Users\Korisnik\Desktop\Yugoslavia State RolePlay\gamemodes\MG.pwn(19663) : error 010: invalid function or declaration
C:\Users\Korisnik\Desktop\Yugoslavia State RolePlay\gamemodes\MG.pwn(19664) : error 010: invalid function or declaration
C:\Users\Korisnik\Desktop\Yugoslavia State RolePlay\gamemodes\MG.pwn(19665) : error 010: invalid function or declaration
C:\Users\Korisnik\Desktop\Yugoslavia State RolePlay\gamemodes\MG.pwn(19666) : error 010: invalid function or declaration
C:\Users\Korisnik\Desktop\Yugoslavia State RolePlay\gamemodes\MG.pwn(19667) : error 010: invalid function or declaration
C:\Users\Korisnik\Desktop\Yugoslavia State RolePlay\gamemodes\MG.pwn(19668) : error 010: invalid function or declaration
C:\Users\Korisnik\Desktop\Yugoslavia State RolePlay\gamemodes\MG.pwn(19669) : error 010: invalid function or declaration
C:\Users\Korisnik\Desktop\Yugoslavia State RolePlay\gamemodes\MG.pwn(19670) : error 010: invalid function or declaration
C:\Users\Korisnik\Desktop\Yugoslavia State RolePlay\gamemodes\MG.pwn(19671) : error 010: invalid function or declaration
C:\Users\Korisnik\Desktop\Yugoslavia State RolePlay\gamemodes\MG.pwn(19672) : error 010: invalid function or declaration
C:\Users\Korisnik\Desktop\Yugoslavia State RolePlay\gamemodes\MG.pwn(19674) : error 010: invalid function or declaration
C:\Users\Korisnik\Desktop\Yugoslavia State RolePlay\gamemodes\MG.pwn(19676) : error 010: invalid function or declaration
C:\Users\Korisnik\Desktop\Yugoslavia State RolePlay\gamemodes\MG.pwn(19678) : error 010: invalid function or declaration

Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


26 Errors.

19615 do 19678
new atext[20];
if(PlayerInfo[playerid][pSex] == 1) { atext = "Musko"; }
else if(PlayerInfo[playerid][pSex] == 2) { atext = "Zensko"; }
  new otext[20];
if(PlayerInfo[playerid][pOrigin] == 1) { otext = "San Fiero"; }
else if(PlayerInfo[playerid][pOrigin] == 2) { otext = "Beograd"; }
else if(PlayerInfo[playerid][pOrigin] == 3) { otext = "Las Venturas"; }
else if(PlayerInfo[playerid][pOrigin] == 4) { otext = "Bone Country"; }
        else if(PlayerInfo[playerid][pOrigin] == 5) { otext = "Beograd"; }
        else if(PlayerInfo[playerid][pOrigin] == 6) { otext = "Mount Chiliad"; }
else if(PlayerInfo[playerid][pOrigin] == 7) { otext = "Lukavac"; }
else if(PlayerInfo[playerid][pOrigin] == 8) { otext = "Ostalo"; }
         new ttext[20];
  if(PlayerInfo[playerid][pMember] == 4 || PlayerInfo[playerid][pLeader] == 4) { ttext = "Medic"; }
  else if(gTeam[playerid] == 3 || gTeam[playerid] == 4) { ttext = "Civilian"; }
  else if(PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1) { ttext = "w"; }
  else if(PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2) { ttext = "w"; }
  else if(PlayerInfo[playerid][pMember] == 4 || PlayerInfo[playerid][pLeader] == 4) { ttext = "Doktori"; }
  else if(PlayerInfo[playerid][pMember] == 5 || PlayerInfo[playerid][pLeader] == 5) { ttext = "Yakuza"; }
  else if(PlayerInfo[playerid][pMember] == 6 || PlayerInfo[playerid][pLeader] == 6) { ttext = "CCF"; }
  else if(PlayerInfo[playerid][pMember] == 7 || PlayerInfo[playerid][pLeader] == 7) { ttext = "Predsednik"; }
  else if(PlayerInfo[playerid][pMember] == 9 || PlayerInfo[playerid][pLeader] == 9) { ttext = "Novinarska Agencija"; }
  else if(PlayerInfo[playerid][pMember] == 10 || PlayerInfo[playerid][pLeader] == 10) { ttext = "Taxi"; }
  else if(PlayerInfo[playerid][pMember] == 15 || PlayerInfo[playerid][pLeader] == 15) { ttext = "w"; }
  else if(PlayerInfo[playerid][pMember] == 16 || PlayerInfo[playerid][pLeader] == 16) { ttext = "w"; }
   new ftext[30];
   if(PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1)
  { ftext = "w"; }
    if(PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2)
  { ftext = "wa"; }
  else if(PlayerInfo[playerid][pMember] == 4 || PlayerInfo[playerid][pLeader] == 4)



Poslednja Izmena: Mart 07, 2013, 17:27:03 POSLE PODNE od Vukasin_Krimo

Kad dodas ovu moju CMD to izbacuje ?

MARIO WLSECO • KUCNI SERVER • SMECAR

svejedno da li tvoja ili samo ona staristats isto jbg..nzm kako da resim ovo.

Citat: Vukasin_Krimo poslato Mart 07, 2013, 17:28:02 POSLE PODNE
svejedno da li tvoja ili samo ona staristats isto jbg..nzm kako da resim ovo.
aj ibrisi sve komande /stats i /staristats pa vidi ima li errora

MARIO WLSECO • KUCNI SERVER • SMECAR

uradio,ista stvar isti errori ali bukvalno..