[Pomoc] Plata i stats

Započeo Milos25, Oktobar 20, 2012, 22:28:55 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim: Extreme Edit
Detaljan opis problema: Jel moze neko da mi napravi komandu za stats i platu da bude slicna ovome
Slika: Stats: http://i30.servimg.com/u/f30/17/50/81/02/sa-mp-10.jpg

A za platu ako mi moze samo neko da mi sredi da bude bolje :D i da ovaj tekst kriza bude u prozorcicu

Stats:
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 = "Srbija"; }
else if(PlayerInfo[targetid][pOrigin] == 2) { otext = "Crna_Gora"; }
else if(PlayerInfo[targetid][pOrigin] == 3) { otext = "BiH"; }
else if(PlayerInfo[targetid][pOrigin] == 4) { otext = "Hrvatska"; }
else if(PlayerInfo[targetid][pOrigin] == 5) { otext = "Makedonija"; }
else if(PlayerInfo[targetid][pOrigin] == 6) { otext = "Ostalo"; }
  /* new kojitelefon[20];
if(PlayerInfo[targetid][pTelefon] == 0) { kojitelefon = "Nemate"; }
else if(PlayerInfo[targetid][pTelefon] == 1) { kojitelefon = "Nokia"; }
else if(PlayerInfo[targetid][pTelefon] == 2) { kojitelefon = "Sony Ericsson"; }
else if(PlayerInfo[targetid][pTelefon] == 3) { kojitelefon = "BiH"; }
else if(PlayerInfo[targetid][pTelefon] == 4) { kojitelefon = "Motorola"; }
else if(PlayerInfo[targetid][pTelefon] == 5) { kojitelefon = "Samsung"; }
else if(PlayerInfo[targetid][pTelefon] == 6) { kojitelefon = "Alcatel"; }
else if(PlayerInfo[targetid][pTelefon] == 7) { kojitelefon = "Blackberry"; }
else if(PlayerInfo[targetid][pTelefon] == 8) { kojitelefon = "iPhone"; }
else if(PlayerInfo[targetid][pTelefon] == 9) { kojitelefon = "Asus"; }
  new kojaspos[20];
if(PlayerInfo[targetid][pOrigin] == 1) {  kojaspos = "Vodja bande"; }
else if(PlayerInfo[targetid][pOrigin] == 2) {  kojaspos = "Obijac Sefa"; }
else if(PlayerInfo[targetid][pOrigin] == 3) {  kojaspos = "Cuvar"; }
else if(PlayerInfo[targetid][pOrigin] == 4) {  kojaspos = "Haker"; }
     new porez[20];
if(PlayerInfo[targetid][pPorez] == 0) { porez = "neplacen"; }
else if(PlayerInfo[targetid][pPorez] == 1) { porez = "placen"; }
    new porezvreme[20];
if(PlayerInfo[targetid][pPorvreme] == 0) { porezvreme = "neplacen"; }
else if(PlayerInfo[targetid][pPorvreme] == 1) { porezvreme = "neplacen"; }
else if(PlayerInfo[targetid][pPorvreme] == 2) { porezvreme = "jedan sati"; }
else if(PlayerInfo[targetid][pPorvreme] == 3) { porezvreme = "dva sati"; }
else if(PlayerInfo[targetid][pPorvreme] == 4) { porezvreme = "tri sati"; }
else if(PlayerInfo[targetid][pPorvreme] == 5) { porezvreme = "cetiri sati"; }
else if(PlayerInfo[targetid][pPorvreme] == 6) { porezvreme = "pet sati"; }
else if(PlayerInfo[targetid][pPorvreme] == 7) { porezvreme = "sest sati"; }
else if(PlayerInfo[targetid][pPorvreme] == 8) { porezvreme = "sedam sati"; }
else if(PlayerInfo[targetid][pPorvreme] == 9) { porezvreme = "osam sati"; }
else if(PlayerInfo[targetid][pPorvreme] == 10) { porezvreme = "devet sati"; }*/
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 = "BG PD"; }
else if(PlayerInfo[targetid][pMember] == 2 || PlayerInfo[targetid][pLeader] == 2) { ttext = "Interventna"; }
else if(PlayerInfo[targetid][pMember] == 3 || PlayerInfo[targetid][pLeader] == 3) { ttext = "SAJ"; }
else if(PlayerInfo[targetid][pMember] == 4 || PlayerInfo[targetid][pLeader] == 4) { ttext = "Bolnicar"; }
else if(PlayerInfo[targetid][pMember] == 5 || PlayerInfo[targetid][pLeader] == 5) { ttext = "Yakuza"; }
else if(PlayerInfo[targetid][pMember] == 6 || PlayerInfo[targetid][pLeader] == 6) { ttext = "LCN"; }
else if(PlayerInfo[targetid][pMember] == 7 || PlayerInfo[targetid][pLeader] == 7) { ttext = "Predsednik"; }
else if(PlayerInfo[targetid][pMember] == 8 || PlayerInfo[targetid][pLeader] == 8) { ttext = "Hitman"; }
else if(PlayerInfo[targetid][pMember] == 9 || PlayerInfo[targetid][pLeader] == 9) { ttext = "Novinar"; }
else if(PlayerInfo[targetid][pMember] == 10 || PlayerInfo[targetid][pLeader] == 10) { ttext = "Taxi"; }
else if(PlayerInfo[targetid][pMember] == 11 || PlayerInfo[targetid][pLeader] == 11) { ttext = "ZG PD"; }
else if(PlayerInfo[targetid][pMember] == 12 || PlayerInfo[targetid][pLeader] == 12) { ttext = "TSF"; }
else if(PlayerInfo[targetid][pMember] == 13 || PlayerInfo[targetid][pLeader] == 13) { ttext = "MS13"; }
else if(PlayerInfo[targetid][pMember] == 14 || PlayerInfo[targetid][pLeader] == 14) { ttext = "------"; }
else if(PlayerInfo[targetid][pMember] == 15 || PlayerInfo[targetid][pLeader] == 15) { ttext = "Galacta"; }
else if(PlayerInfo[targetid][pMember] == 16 || PlayerInfo[targetid][pLeader] == 16) { ttext = "Ballas"; }
else if(PlayerInfo[targetid][pMember] == 18 || PlayerInfo[targetid][pLeader] == 18) { ttext = "PS"; }
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 = "BG PD"; }
  else if(PlayerInfo[targetid][pMember] == 2 || PlayerInfo[targetid][pLeader] == 2)
{ ftext = "Interventna"; }
else if(PlayerInfo[targetid][pMember] == 3 || PlayerInfo[targetid][pLeader] == 3)
{ ftext = "SAJ"; }
        else if(PlayerInfo[targetid][pMember] == 4 || PlayerInfo[targetid][pLeader] == 4)
{ ftext = "Hitna Pomoc"; }
  else if(PlayerInfo[targetid][pMember] == 5 || PlayerInfo[targetid][pLeader] == 5)
{ ftext = "Yakuza"; }
else if(PlayerInfo[targetid][pMember] == 6 || PlayerInfo[targetid][pLeader] == 6)
{ ftext = "LCN"; }
else if(PlayerInfo[targetid][pMember] == 7 || PlayerInfo[targetid][pLeader] == 7)
{ ftext = "Vlada"; }
else if(PlayerInfo[targetid][pMember] == 8 || PlayerInfo[targetid][pLeader] == 8)
{ ftext = "Hitman Org"; }
else if(PlayerInfo[targetid][pMember] == 9 || PlayerInfo[targetid][pLeader] == 9)
{ ftext = "Novinari"; }
else if(PlayerInfo[targetid][pMember] == 10 || PlayerInfo[targetid][pLeader] == 10)
{ ftext = "TAXI"; }
else if(PlayerInfo[targetid][pMember] == 11 || PlayerInfo[targetid][pLeader] == 11)
{ ftext = "ZG PD"; }
else if(PlayerInfo[targetid][pMember] == 12 || PlayerInfo[targetid][pLeader] == 12)
{ ftext = "TSF"; }
else if(PlayerInfo[targetid][pMember] == 13 || PlayerInfo[targetid][pLeader] == 13)
{ ftext = "MS13"; }
else if(PlayerInfo[targetid][pMember] == 14 || PlayerInfo[targetid][pLeader] == 14)
{ ftext = "------"; }
else if(PlayerInfo[targetid][pMember] == 15 || PlayerInfo[targetid][pLeader] == 15)
{ ftext = "Galacta"; }
else if(PlayerInfo[targetid][pMember] == 16 || PlayerInfo[targetid][pLeader] == 16)
{ ftext = "Ballas"; }
else if(PlayerInfo[targetid][pMember] == 18 || PlayerInfo[targetid][pLeader] == 18)
{ ftext = "Parking Servis"; }
/* else if(PlayerInfo[targetid][pMember] == 17 || PlayerInfo[targetid][pLeader] == 17)
{ ftext = "CIA"; }*/
else
{ ftext = "Nijedna"; }
new f2text[20];
    if(PlayerInfo[targetid][pFMember] < 255) { f2text = FamilyInfo[PlayerInfo[targetid][pFMember]][FamilyName]; }
else { f2text = "Nijedna"; }
    new rtext[64];
    if(gTeam[targetid] == 5 || PlayerInfo[targetid][pFMember] < 255)//The 2 Organisations
    {
        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 = "Podoficir"; }
else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Officir"; }
else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Vodnik"; }
else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Stariji Vodnik"; }
else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Zastavnik"; }
        else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Kapetan"; }
else { rtext = "Cadet"; }
}
else if(PlayerInfo[targetid][pMember] == 2 || PlayerInfo[targetid][pLeader] == 2)//SAJ Ranks
{
    if(PlayerInfo[targetid][pRank] == 1) { rtext = "SAJ saradnik"; }
else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Specijalni agent"; }
else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Agent za specijalne operacije"; }
else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Agent obavestajne sluzbee"; }
else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Sef obavestajne sluzbe"; }
    else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Lider"; }
else { rtext = "Intern"; }
}
else if(PlayerInfo[targetid][pMember] == 3 || PlayerInfo[targetid][pLeader] == 3)//NG Ranks
{
    if(PlayerInfo[targetid][pRank] == 1) { rtext = "Private"; }
else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Sergeant"; }
else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Major"; }
else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Captain"; }
else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Lieutenant"; }
    else if(PlayerInfo[targetid][pRank] == 6) { rtext = "General"; }
else { rtext = "Private"; }
}
else if(PlayerInfo[targetid][pMember] == 4 || PlayerInfo[targetid][pLeader] == 4)//MEdic Ranks
{
    if(PlayerInfo[targetid][pRank] == 1) { rtext = "Pocetnik"; }
else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Doktor"; }
else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Doktor"; }
else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Doktor"; }
else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Doktor"; }
    else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Upravnik Bolnice"; }
else { rtext = "Private"; }
}
else if(PlayerInfo[targetid][pMember] == 5 || PlayerInfo[targetid][pLeader] == 5)//Triads Ranks
{
    if(PlayerInfo[targetid][pRank] == 1) { rtext = "Forastero"; }
else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Asociado"; }
else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Miembro"; }
else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Proscrito"; }
else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Mano Derecha"; }
  else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Corona"; }
else { rtext = "Guero"; }
}
else if(PlayerInfo[targetid][pMember] == 6 || PlayerInfo[targetid][pLeader] == 6)//Zagreb Rifa Ranks
{
    if(PlayerInfo[targetid][pRank] == 1) { rtext = "Outsider"; }
else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Giovane D'honore"; }
else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Piciotto"; }
else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Sgarrista"; }
else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Capo"; }
  else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Under Boss"; }
  else if(PlayerInfo[targetid][pRank] == 7) { rtext = "Consigliere"; }
  else if(PlayerInfo[targetid][pRank] == 8) { rtext = "Boss"; }
else { rtext = "Outsider"; }
}
else if(PlayerInfo[targetid][pMember] == 7)//Mayor ranks
{
    if(PlayerInfo[targetid][pRank] == 1) { rtext = "Mayor's driver"; }
    else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Mayor's bodyguard"; }
    else if(PlayerInfo[targetid][pLeader] == 7) { rtext = "Mayor"; }
    else { rtext = "None"; }
}
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 = "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 = "RTS 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 Company Ranks
{
    if(PlayerInfo[targetid][pRank] == 1) { rtext = "Trainee"; }
else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Taxi Rookie"; }
else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Cabbie"; }
else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Dispatcher"; }
else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Shift Supervisor"; }
    else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Taxi Company Owner"; }
else { rtext = "Trainee"; }
}
else if(PlayerInfo[targetid][pMember] == 11 || PlayerInfo[targetid][pLeader] == 11)//ZG PD RANKS
{
    if(PlayerInfo[targetid][pRank] == 1) { rtext = "Podoficir"; }
else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Officir"; }
else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Vodnik"; }
else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Stariji Vodnik"; }
else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Zastavnik"; }
        else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Kapetan"; }
else { rtext = "Cadet"; }
}
else if(PlayerInfo[targetid][pMember] == 12 || PlayerInfo[targetid][pLeader] == 12)//Toretto Street Family Rankovi
{
    if(PlayerInfo[targetid][pRank] == 1) { rtext = "Beginner"; }
else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Reaver"; }
else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Stalker"; }
else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Tactician"; }
else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Coach"; }
  else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Under Boss"; }
else { rtext = "Beginner "; }
}
else if(PlayerInfo[targetid][pMember] == 13 || PlayerInfo[targetid][pLeader] == 13)//Triads 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 = "Rank 6"; }
else { rtext = "Rank 1"; }
}

else if(PlayerInfo[targetid][pMember] == 14 || PlayerInfo[targetid][pLeader] == 14)
{
    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 = "Rank 6"; }
else { rtext = "Rank 1"; }
}

else if(PlayerInfo[targetid][pMember] == 15 || PlayerInfo[targetid][pLeader] == 15)//Da Nang Boys gang Ranks
{
    if(PlayerInfo[targetid][pRank] == 1) { rtext = "Outsider"; }
else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Gangsta"; }
else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Thug"; }
else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Soulja"; }
else if(PlayerInfo[targetid][pRank] == 5) { rtext = "O.G"; }
else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Senior O.G"; }
  else if(PlayerInfo[targetid][pRank] == 7) { rtext = "Top O.G"; }
else { rtext = "Outsider"; }
}
else if(PlayerInfo[targetid][pMember] == 16 || PlayerInfo[targetid][pLeader] == 16)//Ballas gang Ranks
{
    if(PlayerInfo[targetid][pRank] == 1) { rtext = "Dumb Hoe"; }
else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Outsider"; }
else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Soulja"; }
else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Blood Pusher"; }
else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Blood Runner"; }
else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Thug"; }
    else if(PlayerInfo[targetid][pRank] == 7) { rtext = "O.G"; }
    else if(PlayerInfo[targetid][pRank] == 8) { rtext = "Double O.G"; }
    else if(PlayerInfo[targetid][pRank] == 9) { rtext = "Kingpin"; }
else { rtext = "Dumb Hoe"; }
}
else if(PlayerInfo[targetid][pMember] == 18 || PlayerInfo[targetid][pLeader] == 18)
{
    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 = "Pod lider"; }
else { rtext = "Rank 1"; }
}
else
{
    rtext = "None";
}
        new jtext[20];
        if(PlayerInfo[targetid][pJob] == 1) { jtext = "Detektiv"; }
        else if(PlayerInfo[targetid][pJob] == 2) { jtext = "Advokat"; }
        else if(PlayerInfo[targetid][pJob] == 3) { jtext = "Prostitutka"; }
        else if(PlayerInfo[targetid][pJob] == 4) { jtext = "Diler droge"; }
        else if(PlayerInfo[targetid][pJob] == 5) { jtext = "Kradljivac auta"; }
        else if(PlayerInfo[targetid][pJob] == 6) { jtext = "Novinar"; }
        else if(PlayerInfo[targetid][pJob] == 7) { jtext = "Automehanicar"; }
        else if(PlayerInfo[targetid][pJob] == 8) { jtext = "Bodyguard"; }
        else if(PlayerInfo[targetid][pJob] == 9) { jtext = "Diler oruzija"; }
        else if(PlayerInfo[targetid][pJob] == 10) { jtext = "Diler auta"; }
        else if(PlayerInfo[targetid][pJob] == 11) { jtext = "Radnik"; }
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] == 19) { jtext = "Farmer droge"; }
        else if(PlayerInfo[targetid][pJob] == 20) { jtext = "Svercer droge"; }
        else if(PlayerInfo[targetid][pJob] == 21) { jtext = "Cistac ulica"; }
        else if(PlayerInfo[targetid][pJob] == 22) { jtext = "Svercer materijala"; }
        else if(PlayerInfo[targetid][pJob] == 23) { jtext = "Proizvodjac oruzija"; }
        else if(PlayerInfo[targetid][pJob] == 24) { jtext = "Delivery"; }
        else { jtext = "None"; }
new drank[20];
if(PlayerInfo[targetid][pDonateRank] == 1) { drank = "Donator lvl 1"; }
else if(PlayerInfo[targetid][pDonateRank] == 2) { drank = "Donator lvl 2"; }
else if(PlayerInfo[targetid][pDonateRank] >= 3) { drank = "Donator lvl 3"; }
else { drank = "None"; }
new sttext[20];

if(PlayerInfo[targetid][pSLider] != 999)
{
new lota[20];
format(lota, sizeof(lota),"%s",StrankaInfo[PlayerInfo[targetid][pSLider]][sSkracenica]);
sttext = lota;
}
else if(PlayerInfo[targetid][pSClan] != 999)
{
new lota[20];
format(lota, sizeof(lota),"%s",StrankaInfo[PlayerInfo[targetid][pSClan]][sSkracenica]);
sttext = lota;
}
else
{
sttext = "nema";
}
/*new married[20];
strmid(married, PlayerInfo[targetid][pMarriedTo], 0, strlen(PlayerInfo[targetid][pMarriedTo]), 255);*/
new age = PlayerInfo[targetid][pAge];
new ptime = PlayerInfo[targetid][pConnectTime];
//new lotto = PlayerInfo[targetid][pLottoNr];
//new deaths = PlayerInfo[targetid][pDeaths];
//new fishes = PlayerInfo[targetid][pFishes];
//new crimes = PlayerInfo[targetid][pCrimes];
//new warrests = PlayerInfo[targetid][pWantedDeaths];
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 tkredit= PlayerInfo[targetid][pTkredit];
//new kills = PlayerInfo[targetid][pKills];
new pnumber = PlayerInfo[targetid][pPnumber];
//new account = PlayerInfo[targetid][pAccount];
new nxtlevel = PlayerInfo[targetid][pLevel]+1;
new expamount = nxtlevel*levelexp;
//new costlevel = nxtlevel*levelcost;//10k for testing purposes
new housekey = PlayerInfo[targetid][pPhousekey];
new bizkey = PlayerInfo[targetid][pPbiskey];
new banka = PlayerInfo[targetid][pAccount];
         new ulcs = PlayerInfo[targetid][pUlica];
//new ulicica = PlayerInfo[targetid][pUlica];
//new Float:shealth = PlayerInfo[targetid][pSHealth];
new Float:health;
new name[MAX_PLAYER_NAME];
GetPlayerName(targetid, name, sizeof(name));
GetPlayerHealth(targetid,health);
new Float:px,Float:py,Float:pz;
GetPlayerPos(targetid, px, py, pz);
new stareci[60];
new stareci2[290];
new stareci3[300];
new stareci4[150];
new stareci5[250];
new stareci6[1300];
new stareci7[250];
format(stareci, sizeof(stareci),"{a0d042}Ime_Prezime:{FFFFFF} %s",name);
format(stareci4, sizeof(stareci4), "{a0d042}          -----Inventory----\n           {a0d042}Droga:{FFFFFF}[%d]\n           {a0d042}Materijali:{FFFFFF}[%d]",drugs,mats);
format(stareci3, sizeof(stareci3), "{a0d042}          -----IC stats-----\n           {a0d042}Stranka:{FFFFFF}[%s]\n           {a0d042}Novac:{FFFFFF}[$%d]\n           {a0d042}Banka:{FFFFFF}[$%d]\n           {a0d042}Br:{FFFFFF}[%d]",sttext,cash,banka,pnumber);
    format(stareci7, sizeof(stareci7), "           {a0d042}Posao:{FFFFFF}[%s]\n           {a0d042}Organizacija:{FFFFFF}[%s]\n           {a0d042}Rank:{FFFFFF}[%s]",jtext,ftext,rtext);
    format(stareci2, sizeof(stareci2), "{a0d042}          -----OC stats-----\n           {a0d042}Level:{FFFFFF}[%d]\n           {a0d042}Pol:{FFFFFF}[%s]\n           {a0d042}Godine:{FFFFFF}[%d]\n           {a0d042}Odigranih Sati:{FFFFFF}[%d]\n           {a0d042}Respekt:{FFFFFF}[%d/%d]\n           {a0d042}Donator:{FFFFFF}[%s]", level,atext,age,ptime,exp,expamount,drank);
format(stareci5, sizeof(stareci5), "{a0d042}          ------Imovina-----\n           {a0d042}Ulica{FFFFFF}[%d]\n           {a0d042}Kuca{FFFFFF}[%d]\n           {a0d042}Firma{FFFFFF}[%d]\n           {a0d042}Rent{FFFFFF}[%d]", ulcs,housekey,bizkey,HireCar[targetid]);
format(stareci6, sizeof(stareci6),"%s\n%s\n%s\n%s\n%s",stareci2,stareci3,stareci7,stareci4,stareci5);
        ShowPlayerDialog(playerid, 550, DIALOG_STYLE_MSGBOX,stareci,stareci6,"OK","OK");


}
}
public ShowOldStats(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 = "Srbija"; }
else if(PlayerInfo[targetid][pOrigin] == 2) { otext = "Crna_Gora"; }
else if(PlayerInfo[targetid][pOrigin] == 3) { otext = "BiH"; }
else if(PlayerInfo[targetid][pOrigin] == 4) { otext = "Hrvatska"; }
else if(PlayerInfo[targetid][pOrigin] == 4) { 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 = "BG PD"; }
else if(PlayerInfo[targetid][pMember] == 2 || PlayerInfo[targetid][pLeader] == 2) { ttext = "Interventna Agent"; }
else if(PlayerInfo[targetid][pMember] == 3 || PlayerInfo[targetid][pLeader] == 3) { ttext = "SAJ"; }
else if(PlayerInfo[targetid][pMember] == 4 || PlayerInfo[targetid][pLeader] == 4) { ttext = "Vatrogasac/Bolnicar"; }
else if(PlayerInfo[targetid][pMember] == 5 || PlayerInfo[targetid][pLeader] == 5) { ttext = "Yakuza"; }
else if(PlayerInfo[targetid][pMember] == 6 || PlayerInfo[targetid][pLeader] == 6) { ttext = "LCN"; }
else if(PlayerInfo[targetid][pMember] == 7 || PlayerInfo[targetid][pLeader] == 7) { ttext = "Government"; }
else if(PlayerInfo[targetid][pMember] == 8 || PlayerInfo[targetid][pLeader] == 8) { ttext = "Hitman"; }
else if(PlayerInfo[targetid][pMember] == 9 || PlayerInfo[targetid][pLeader] == 9) { ttext = "Novinar"; }
else if(PlayerInfo[targetid][pMember] == 10 || PlayerInfo[targetid][pLeader] == 10) { ttext = "Taxi"; }
else if(PlayerInfo[targetid][pMember] == 11 || PlayerInfo[targetid][pLeader] == 11) { ttext = "ZG PD"; }
else if(PlayerInfo[targetid][pMember] == 12 || PlayerInfo[targetid][pLeader] == 12) { ttext = "TSF"; }
else if(PlayerInfo[targetid][pMember] == 13 || PlayerInfo[targetid][pLeader] == 13) { ttext = "Triads"; }
else if(PlayerInfo[targetid][pMember] == 14 || PlayerInfo[targetid][pLeader] == 14) { ttext = "Yamaguchi"; }
else if(PlayerInfo[targetid][pMember] == 15 || PlayerInfo[targetid][pLeader] == 15) { ttext = "Galacta"; }
else if(PlayerInfo[targetid][pMember] == 16 || PlayerInfo[targetid][pLeader] == 16) { ttext = "Ballas"; }
else if(PlayerInfo[targetid][pMember] == 17 || PlayerInfo[targetid][pLeader] == 17) { ttext = "SUDIJA"; }
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 = "BG PD"; }
  else if(PlayerInfo[targetid][pMember] == 2 || PlayerInfo[targetid][pLeader] == 2)
{ ftext = "Interventna"; }
else if(PlayerInfo[targetid][pMember] == 3 || PlayerInfo[targetid][pLeader] == 3)
{ ftext = "SAJ"; }
        else if(PlayerInfo[targetid][pMember] == 4 || PlayerInfo[targetid][pLeader] == 4)
{ ftext = "Hitna Pomoc"; }
  else if(PlayerInfo[targetid][pMember] == 5 || PlayerInfo[targetid][pLeader] == 5)
{ ftext = "Yakuza"; }
else if(PlayerInfo[targetid][pMember] == 6 || PlayerInfo[targetid][pLeader] == 6)
{ ftext = "LCN"; }
else if(PlayerInfo[targetid][pMember] == 7 || PlayerInfo[targetid][pLeader] == 7)
{ ftext = "Vlada"; }
else if(PlayerInfo[targetid][pMember] == 8 || PlayerInfo[targetid][pLeader] == 8)
{ ftext = "Hitman Org"; }
else if(PlayerInfo[targetid][pMember] == 9 || PlayerInfo[targetid][pLeader] == 9)
{ ftext = "Novinari"; }
else if(PlayerInfo[targetid][pMember] == 10 || PlayerInfo[targetid][pLeader] == 10)
{ ftext = "TAXI"; }
else if(PlayerInfo[targetid][pMember] == 11 || PlayerInfo[targetid][pLeader] == 11)
{ ftext = "ZG PD"; }
else if(PlayerInfo[targetid][pMember] == 12 || PlayerInfo[targetid][pLeader] == 12)
{ ftext = "TSF"; }
else if(PlayerInfo[targetid][pMember] == 13 || PlayerInfo[targetid][pLeader] == 13)
{ ftext = "Triads"; }
else if(PlayerInfo[targetid][pMember] == 14 || PlayerInfo[targetid][pLeader] == 14)
{ ftext = "Yamaguchi"; }
else if(PlayerInfo[targetid][pMember] == 15 || PlayerInfo[targetid][pLeader] == 15)
{ ftext = "Galacta"; }
else if(PlayerInfo[targetid][pMember] == 16 || PlayerInfo[targetid][pLeader] == 16)
{ ftext = "Ballas"; }
/* else if(PlayerInfo[targetid][pMember] == 17 || PlayerInfo[targetid][pLeader] == 17)
{ ftext = "SUDIJA"; }*/
else
{ ftext = "Nijedna"; }
new f2text[20];
    if(PlayerInfo[targetid][pFMember] < 255) { f2text = FamilyInfo[PlayerInfo[targetid][pFMember]][FamilyName]; }
else { f2text = "Nijedna"; }
    new rtext[64];
    if(gTeam[targetid] == 5 || PlayerInfo[targetid][pFMember] < 255)//The 2 Organisations
    {
        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 { rtext = "Cadet"; }
}
else if(PlayerInfo[targetid][pMember] == 2 || PlayerInfo[targetid][pLeader] == 2)//interventna Ranks
{
    if(PlayerInfo[targetid][pRank] == 1) { rtext = "Saradnik"; }
else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Specijalni agent"; }
else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Agent za specijalne operacije"; }
else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Agent obavestajne sluzbee"; }
else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Sef obavestajne sluzbe"; }
    else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Lider"; }
else { rtext = "Intern"; }
}
else if(PlayerInfo[targetid][pMember] == 3 || PlayerInfo[targetid][pLeader] == 3)//NG Ranks
{
    if(PlayerInfo[targetid][pRank] == 1) { rtext = "Private"; }
else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Sergeant"; }
else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Major"; }
else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Captain"; }
else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Lieutenant"; }
    else if(PlayerInfo[targetid][pRank] == 6) { rtext = "General"; }
else { rtext = "Private"; }
}
else if(PlayerInfo[targetid][pMember] == 4 || PlayerInfo[targetid][pLeader] == 4)//MEdic Ranks
{
    if(PlayerInfo[targetid][pRank] == 1) { rtext = "Pocetnik"; }
else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Doktor"; }
else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Doktor"; }
else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Doktor"; }
else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Doktor"; }
    else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Upravnik Bolnice"; }
else { rtext = "Private"; }
}
else if(PlayerInfo[targetid][pMember] == 5 || PlayerInfo[targetid][pLeader] == 5)//Yakuza Ranks
{
    if(PlayerInfo[targetid][pRank] == 1) { rtext = "Forastero"; }
else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Asociado"; }
else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Miembro"; }
else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Proscrito"; }
else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Mano Derecha"; }
  else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Corona"; }
else { rtext = "Guero"; }
}
else if(PlayerInfo[targetid][pMember] == 6 || PlayerInfo[targetid][pLeader] == 6)//LCN Ranks
{
    if(PlayerInfo[targetid][pRank] == 1) { rtext = "Outsider"; }
else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Giovane D'honore"; }
else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Piciotto"; }
else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Sgarrista"; }
else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Capo"; }
  else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Under Boss"; }
  else if(PlayerInfo[targetid][pRank] == 7) { rtext = "Consigliere"; }
  else if(PlayerInfo[targetid][pRank] == 8) { rtext = "Boss"; }
else { rtext = "Outsider"; }
}
else if(PlayerInfo[targetid][pMember] == 7)//Mayor ranks
{
    if(PlayerInfo[targetid][pRank] == 1) { rtext = "Mayor's driver"; }
    else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Mayor's bodyguard"; }
    else if(PlayerInfo[targetid][pLeader] == 7) { rtext = "Mayor"; }
    else { rtext = "None"; }
}
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 = "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 = "RTS 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 Company Ranks
{
    if(PlayerInfo[targetid][pRank] == 1) { rtext = "Trainee"; }
else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Taxi Rookie"; }
else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Cabbie"; }
else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Dispatcher"; }
else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Shift Supervisor"; }
    else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Taxi Company Owner"; }
else { rtext = "Trainee"; }
}
else if(PlayerInfo[targetid][pMember] == 11 || PlayerInfo[targetid][pLeader] == 11)//ZG 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 { rtext = "Cadet"; }
}
else if(PlayerInfo[targetid][pMember] == 12 || PlayerInfo[targetid][pLeader] == 12)//TSF Rankovi
{
    if(PlayerInfo[targetid][pRank] == 1) { rtext = "Outsider"; }
else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Giovane D'honore"; }
else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Piciotto"; }
else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Sgarrista"; }
else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Capo"; }
  else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Under Boss"; }
else { rtext = "Outsider"; }
}
else if(PlayerInfo[targetid][pMember] == 13 || PlayerInfo[targetid][pLeader] == 13)//Triads Rankovi
{
    if(PlayerInfo[targetid][pRank] == 1) { rtext = "Outsider"; }
else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Giovane D'honore"; }
else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Piciotto"; }
else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Sgarrista"; }
else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Capo"; }
  else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Under Boss"; }
else { rtext = "Outsider"; }
}

else if(PlayerInfo[targetid][pMember] == 14 || PlayerInfo[targetid][pLeader] == 14)//Yamaguchi ranks
{
    if(PlayerInfo[targetid][pRank] == 1) { rtext = "Gaij in"; }
else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Wakashu"; }
else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Shatei"; }
else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Capo"; }
else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Don's right hand"; }
  else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Don"; }
else { rtext = "Gaij in"; }
}

else if(PlayerInfo[targetid][pMember] == 15 || PlayerInfo[targetid][pLeader] == 15)//Galacta gang Ranks
{
    if(PlayerInfo[targetid][pRank] == 1) { rtext = "Outsider"; }
else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Gangsta"; }
else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Thug"; }
else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Soulja"; }
else if(PlayerInfo[targetid][pRank] == 5) { rtext = "O.G"; }
else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Senior O.G"; }
  else if(PlayerInfo[targetid][pRank] == 7) { rtext = "Top O.G"; }
else { rtext = "Outsider"; }
}
else if(PlayerInfo[targetid][pMember] == 16 || PlayerInfo[targetid][pLeader] == 16)//Ballas gang Ranks
{
    if(PlayerInfo[targetid][pRank] == 1) { rtext = "Dumb Hoe"; }
else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Outsider"; }
else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Soulja"; }
else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Blood Pusher"; }
else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Blood Runner"; }
else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Thug"; }
    else if(PlayerInfo[targetid][pRank] == 7) { rtext = "O.G"; }
    else if(PlayerInfo[targetid][pRank] == 8) { rtext = "Double O.G"; }
    else if(PlayerInfo[targetid][pRank] == 9) { rtext = "Kingpin"; }
else { rtext = "Dumb Hoe"; }
}
else
{
    rtext = "None";
}
        new jtext[20];
        if(PlayerInfo[targetid][pJob] == 1) { jtext = "Detektiv"; }
        else if(PlayerInfo[targetid][pJob] == 2) { jtext = "Advokat"; }
        else if(PlayerInfo[targetid][pJob] == 3) { jtext = "Prostitutka"; }
        else if(PlayerInfo[targetid][pJob] == 4) { jtext = "Diler droge"; }
        else if(PlayerInfo[targetid][pJob] == 5) { jtext = "Kradljivac auta"; }
        else if(PlayerInfo[targetid][pJob] == 6) { jtext = "Novinar"; }
        else if(PlayerInfo[targetid][pJob] == 7) { jtext = "Automehanicar"; }
        else if(PlayerInfo[targetid][pJob] == 8) { jtext = "Bodyguard"; }
        else if(PlayerInfo[targetid][pJob] == 9) { jtext = "Diler oruzija"; }
        else if(PlayerInfo[targetid][pJob] == 10) { jtext = "Diler auta"; }
        else if(PlayerInfo[targetid][pJob] == 11) { jtext = "Radnik"; }
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] == 19) { jtext = "Farmer droge"; }
        else if(PlayerInfo[targetid][pJob] == 20) { jtext = "Svercer droge"; }
        else if(PlayerInfo[targetid][pJob] == 21) { jtext = "Cistac ulica"; }
        else if(PlayerInfo[targetid][pJob] == 22) { jtext = "Svercer materijala"; }
        else if(PlayerInfo[targetid][pJob] == 23) { jtext = "Proizvodjac oruzija"; }
        else { jtext = "None"; }
new drank[20];
if(PlayerInfo[targetid][pDonateRank] == 1) { drank = "Donator lvl 1"; }
else if(PlayerInfo[targetid][pDonateRank] == 2) { drank = "Donator lvl 2"; }
else if(PlayerInfo[targetid][pDonateRank] >= 3) { drank = "Donator lvl 3"; }
else { drank = "None"; }
/*new married[20];
strmid(married, PlayerInfo[targetid][pMarriedTo], 0, strlen(PlayerInfo[targetid][pMarriedTo]), 255);*/
new age = PlayerInfo[targetid][pAge];
new ptime = PlayerInfo[targetid][pConnectTime];
//new lotto = PlayerInfo[targetid][pLottoNr];
//new deaths = PlayerInfo[targetid][pDeaths];
//new fishes = PlayerInfo[targetid][pFishes];
//new crimes = PlayerInfo[targetid][pCrimes];
//new warrests = PlayerInfo[targetid][pWantedDeaths];
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 kills = PlayerInfo[targetid][pKills];
new pnumber = PlayerInfo[targetid][pPnumber];
//new account = PlayerInfo[targetid][pAccount];
new nxtlevel = PlayerInfo[targetid][pLevel]+1;
new expamount = nxtlevel*levelexp;
//new costlevel = nxtlevel*levelcost;//10k for testing purposes
new housekey = PlayerInfo[targetid][pPhousekey];
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:shealth = PlayerInfo[targetid][pSHealth];
new Float:health;
new name[MAX_PLAYER_NAME];
GetPlayerName(targetid, name, sizeof(name));
GetPlayerHealth(targetid,health);
new Float:px,Float:py,Float:pz;
GetPlayerPos(targetid, px, py, pz);
new coordsstring[256];
SendClientMessage(playerid, COLOR_RED," ");
format(coordsstring, sizeof(coordsstring),"------------------------------------| %s |------------------------------------",name);
SendClientMessage(playerid, COLOR_RED,coordsstring);
format(coordsstring, sizeof(coordsstring), "- Level:[%d]  Pol:[%s]  Godine:[%d]  Novac:[$%d]  Br:[%d]", level,atext,age,cash,pnumber);
SendClientMessage(playerid, COLOR_WHITE,coordsstring);
format(coordsstring, sizeof(coordsstring), "- Odigranih Sati:[%d]  Posao:[%s]  Respekt:[%d/%d]  Donator:[%s]", ptime,jtext,exp,expamount,drank);
SendClientMessage(playerid, COLOR_WHITE,coordsstring);
format(coordsstring, sizeof(coordsstring), "- Droga:[%d]  Materijali:[%d]  Organizacija:[%s]  Rank:[%s]",drugs,mats,ftext,rtext);
SendClientMessage(playerid, COLOR_WHITE,coordsstring);
if (PlayerInfo[playerid][pOSC] >= 1)
{
format(coordsstring, sizeof(coordsstring), "- House key [%d] Business key [%d] Veh1 [%d] Veh2 [%d] Veh3 [%d] HireKey [%d] int:[%d] virworld:[%d] local[%d]", housekey,bizkey,carkey,carkey2,carkey3,HireCar[targetid],intir,virworld,local);
SendClientMessage(playerid, COLOR_GRAD6,coordsstring);
}
SendClientMessage(playerid, COLOR_RED,"------------------------------------------------------------------------------------------------");
}
}


Plata:
public PayDay()
{
Kladenje();
OPpare += 500;
new smarac[250];
    format(smarac, sizeof(smarac), "{2605ff}Novac u sefu:{ffffff}%d {2605ff}$\n{2605ff}/podignipare /stavipare ",OPpare);
    UpdateDynamic3DTextLabelText(sefina, 0x2641FEAA,smarac);
    SacuvajOpstinskiSef()
new string[128];
new account,interest;
new rent = 0;
foreach (Player, i)
{
if(PlayerInfo[i][pKpoen]>0)
{
new kp=PlayerInfo[i][pKpoen];
new lol=kp*2000;
new trol[300];
format(trol, sizeof(trol),"Oduzeto ti je %d $ zbog %d kaznenih poena!",lol,kp);
SendClientMessage(i, COLOR_WHITE,trol);
SafeGivePlayerMoney(i,-lol);
PlayerInfo[i][pKpoen]=0;
}
    if(PlayerInfo[i][pLevel] > 0)
    {
    if(MoneyMessage[i]==1)
{
    SendClientMessage(i, COLOR_LIGHTRED, "Niste uspjeli da vratite dug, idete u zatvor.");
    GameTextForPlayer(i, "~r~Uhapsen!", 2000, 1);
    SetPlayerInterior(i, 6);
    PlayerInfo[i][pInt] = 6;
    SetPlayerPos(i, 264.6288,77.5742,1001.0391);
            PlayerInfo[i][pJailed] = 1;
            SafeResetPlayerWeapons(i);
            SafeResetPlayerMoney(i);
WantedPoints[i] = 0;
PlayerInfo[i][pJailTime] = 240;
format(string, sizeof(string), "Uhapseni ste na %d sekundi.   Kaucija: Nedostupna", PlayerInfo[i][pJailTime]);
SendClientMessage(i, COLOR_WHITE, string);
}
new playername2[MAX_PLAYER_NAME];
GetPlayerName(i, playername2, sizeof(playername2));
account = PlayerInfo[i][pAccount];
new key = PlayerInfo[i][pPhousekey];
new tmpintrate;
if (key != 999)
{
    if(PlayerInfo[i][pDonateRank] > 0) { tmpintrate = intrate+4; }
else { tmpintrate = intrate+2; }//HouseInfo[key][hLevel]
}
else
{
    if(PlayerInfo[i][pDonateRank] > 0) { tmpintrate = 3; }
else { tmpintrate = 1; }
}
if(PlayerInfo[i][pPayDay] >= 5)
{
    Tax += TaxValue;//Should work for every player online
    PlayerInfo[i][pAccount] -= TaxValue;
new checks = PlayerInfo[i][pPayCheck] / 5;
if(PlayerInfo[i][pDonateRank] > 0)
{
    new bonus = PlayerInfo[i][pPayCheck] / 10;
    checks += bonus;
}
    new ebill = (PlayerInfo[i][pAccount]/10000)*(PlayerInfo[i][pLevel]);
    account += checks;
    if(PlayerInfo[i][pAccount] > 0)
    {
    PlayerInfo[i][pAccount] -= ebill;
    SBizzInfo[4][sbTill] += ebill;
}
else
{
    ebill = 0;
}
interest = (PlayerInfo[i][pAccount]/1000)*(tmpintrate);
PlayerInfo[i][pExp]++;
PlayerInfo[i][pAccount] = account+interest;
levelingup(i);
new smor[200];
new smor1[200];
new smor2[700];
new smor3[200];
new smor4[1300];
format(smor, sizeof(smor), "{af00b5}Plata:{ffffff} $%d  {af00b5} Takse:{ffffff} -$%d", checks, TaxValue);

format(smor2, sizeof(smor2), "{af00b5}Staro stanje:{ffffff} $%d\n{af00b5}Kamata:{ffffff} 0.%d {af00b5} posto\n{af00b5}Kamatni interes {ffffff}$%d\n{af00b5}|--------------------------------------|\n{af00b5}Novo stanje:{ffffff} $%d\n{af00b5}Renta:{ffffff} -$%d\n{af00b5}Ukupan Kredit:{ffffff} $%d"
,account - checks,tmpintrate, interest,PlayerInfo[i][pAccount], rent,PlayerInfo[i][pKredit]);
if(PlayerInfo[i][pPhousekey] != 999 || PlayerInfo[i][pPbiskey] != 999)
{
    format(smor1, sizeof(smor1), "{af00b5}[EPS]:{ffffff} -$%d", ebill);
}
if(PlayerInfo[i][pKredit] != 0)
{
format(smor3, sizeof(smor3), "{af00b5}Rata: {ffffff}$500");
PlayerInfo[i][pKredit] -= 500;
PlayerInfo[i][pAccount] -= 500;
}
SendClientMessage(i, COLOR_GREEN, "Finansijsko stanje u drzavi: Nestabilno , KRIZA !! ");
SendClientMessage(i, COLOR_GREEN, "IZVESTAJ IZ NBS: Mora vise da se radi");
format(smor4, sizeof(smor4),"%s\n%s\n%s\n%s",smor,smor2,smor1,smor3);
ShowPlayerDialog(i,36, DIALOG_STYLE_MSGBOX, "{af00b5}       |___ IZJAVA BANKE ___|",smor4, "OK", "");


rent = 0;
PlayerInfo[i][pPayDay] = 0;
PlayerInfo[i][pPayCheck] = 0;
PlayerInfo[i][pConnectTime] += 1;
if(FarmerVar[i] == 0)
{
FarmerPickup[i][0] = 0;
}
if(DrugFarmerVar[i] == 0)
{
DrugFarmerPickup[i][0] = 0;
}
if(SmugglerWork[i] == 0)
{
PayDaySecure[i] = 0;
}
if(PlayerInfo[i][pDonateRank] > 0)
{
    PlayerInfo[i][pPayDayHad] += 1;
    if(PlayerInfo[i][pPayDayHad] >= 5)
    {
        PlayerInfo[i][pExp]++;
        PlayerInfo[i][pPayDayHad] = 0;
    }
}
}
else
{
    SendClientMessage(i, COLOR_WHITE, "* Niste igrali dovoljno dugo da biste dobili platu.");
}
}
}
SaveAccounts();
Checkprop();
return 1;
}
Trazim Mapera