Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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] == 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 = "LS PD"; }
- else if(PlayerInfo[targetid][pMember] == 2 || PlayerInfo[targetid][pLeader] == 2) { ttext = "FBI Agent"; }
- else if(PlayerInfo[targetid][pMember] == 3 || PlayerInfo[targetid][pLeader] == 3) { ttext = "SWAT"; }
- 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 = "SF PD"; }
- else if(PlayerInfo[targetid][pMember] == 12 || PlayerInfo[targetid][pLeader] == 12) { ttext = "Ruska Mafija"; }
- 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 = "Crips"; }
- else if(PlayerInfo[targetid][pMember] == 16 || PlayerInfo[targetid][pLeader] == 16) { ttext = "Bloods"; }
- else if(PlayerInfo[targetid][pMember] == 17 || PlayerInfo[targetid][pLeader] == 17) { ttext = "CIA"; }
- else if(PlayerInfo[targetid][pMember] == 18 || PlayerInfo[targetid][pLeader] == 18) { ttext = "Groove Street"; }
- else if(PlayerInfo[targetid][pMember] == 19 || PlayerInfo[targetid][pLeader] == 19) { ttext = "Ms 13"; }
- else if(PlayerInfo[targetid][pMember] == 20 || PlayerInfo[targetid][pLeader] == 20) { ttext = "Parking Servis"; }
- 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 = "LS PD"; }
- else if(PlayerInfo[targetid][pMember] == 2 || PlayerInfo[targetid][pLeader] == 2)
- { ftext = "FBI"; }
- else if(PlayerInfo[targetid][pMember] == 3 || PlayerInfo[targetid][pLeader] == 3)
- { ftext = "SWAT"; }
- 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 = "SF PD"; }
- else if(PlayerInfo[targetid][pMember] == 12 || PlayerInfo[targetid][pLeader] == 12)
- { ftext = "Ruska Mafija"; }
- 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 = "Crips"; }
- else if(PlayerInfo[targetid][pMember] == 16 || PlayerInfo[targetid][pLeader] == 16)
- { ftext = "Bloods"; }
- else if(PlayerInfo[targetid][pMember] == 18 || PlayerInfo[targetid][pLeader] == 18)
- { ftext = "Groove Street"; }
- else if(PlayerInfo[targetid][pMember] == 19 || PlayerInfo[targetid][pLeader] == 19)
- { ftext = "Ms 13"; }
- else if(PlayerInfo[targetid][pMember] == 20 || PlayerInfo[targetid][pLeader] == 20)
- { 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 = "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)//FBI Ranks
- {
- if(PlayerInfo[targetid][pRank] == 1) { rtext = "FBI 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 = "Vojnik"; }
- else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Vodnik"; }
- else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Kapetan"; }
- else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Major"; }
- else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Gen.Major"; }
- else if(PlayerInfo[targetid][pRank] == 6) { rtext = "General"; }
- else { rtext = "Vojnik"; }
- }
- 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 = "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 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)//SF 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)//Ruska Mafija 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)//Crips 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)//Bloods 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)//groove street
- {
- 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 = "Podlider"; }
- else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Lider"; }
- else { rtext = "Cigan"; }
- }
- else if(PlayerInfo[targetid][pMember] == 19 || PlayerInfo[targetid][pLeader] == 19)//MS 13
- {
- 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 = "Podlider"; }
- else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Lider"; }
- else { rtext = "Ms 13"; }
- }
- else if(PlayerInfo[targetid][pMember] == 20 || PlayerInfo[targetid][pLeader] == 20)//Parking Servis
- {
- 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 = "Podlider"; }
- else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Lider"; }
- else { rtext = "Parking Servis"; }
- }
- 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 = "Djubretar"; }
- else if(PlayerInfo[targetid][pJob] == 25) { jtext = "Postar"; }
- else if(PlayerInfo[targetid][pJob] == 26) { jtext = "Helis Deliver"; }
- else { jtext = "None"; }
- new drank[20];
- if(PlayerInfo[targetid][pDonateRank] == 1) { drank = "lvl 1"; }
- else if(PlayerInfo[targetid][pDonateRank] == 2) { drank = "lvl 2"; }
- else if(PlayerInfo[targetid][pDonateRank] >= 3) { drank = "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 kreditbr = PlayerInfo[targetid][pKredit];
- //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 warns = PlayerInfo[targetid][pWarns];
- //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_GRAD6,"Za Admine:");
- 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);
- //STATS
- //STATS TEXTDRAWS
- format(coordsstring, sizeof(coordsstring),"~y~Ime:~h~~h~ %s",name);
- Textdraw0[playerid] = TextDrawCreate(150.000000, 341.000000, coordsstring);
- TextDrawBackgroundColor(Textdraw0[playerid], 255);
- TextDrawFont(Textdraw0[playerid], 1);
- TextDrawLetterSize(Textdraw0[playerid], 0.500000, 1.000000);
- TextDrawColor(Textdraw0[playerid], -1);
- TextDrawSetOutline(Textdraw0[playerid], 0);
- TextDrawSetProportional(Textdraw0[playerid], 1);
- TextDrawSetShadow(Textdraw0[playerid], 1);
- format(coordsstring, sizeof(coordsstring),"~y~Pol:~h~~h~ %s",atext);
- Textdraw1[playerid] = TextDrawCreate(151.000000, 361.000000, coordsstring);
- TextDrawBackgroundColor(Textdraw1[playerid], 255);
- TextDrawFont(Textdraw1[playerid], 1);
- TextDrawLetterSize(Textdraw1[playerid], 0.500000, 1.000000);
- TextDrawColor(Textdraw1[playerid], -1);
- TextDrawSetOutline(Textdraw1[playerid], 0);
- TextDrawSetProportional(Textdraw1[playerid], 1);
- TextDrawSetShadow(Textdraw1[playerid], 1);
- format(coordsstring, sizeof(coordsstring),"~y~Godine:~h~~h~ %d",age);
- Textdraw2[playerid] = TextDrawCreate(151.000000, 381.000000,coordsstring);
- TextDrawBackgroundColor(Textdraw2[playerid], 255);
- TextDrawFont(Textdraw2[playerid], 1);
- TextDrawLetterSize(Textdraw2[playerid], 0.500000, 1.000000);
- TextDrawColor(Textdraw2[playerid], -1);
- TextDrawSetOutline(Textdraw2[playerid], 0);
- TextDrawSetProportional(Textdraw2[playerid], 1);
- TextDrawSetShadow(Textdraw2[playerid], 1);
- format(coordsstring, sizeof(coordsstring),"~y~Level:~h~~h~ %d",level);
- Textdraw3[playerid] = TextDrawCreate(151.000000, 401.000000,coordsstring);
- TextDrawBackgroundColor(Textdraw3[playerid], 255);
- TextDrawFont(Textdraw3[playerid], 1);
- TextDrawLetterSize(Textdraw3[playerid], 0.500000, 1.000000);
- TextDrawColor(Textdraw3[playerid], -1);
- TextDrawSetOutline(Textdraw3[playerid], 0);
- TextDrawSetProportional(Textdraw3[playerid], 1);
- TextDrawSetShadow(Textdraw3[playerid], 1);
- format(coordsstring, sizeof(coordsstring),"~y~Respekt:~h~~h~ %d/%d",exp,expamount);
- Textdraw4[playerid] = TextDrawCreate(151.000000, 421.000000,coordsstring);
- TextDrawBackgroundColor(Textdraw4[playerid], 255);
- TextDrawFont(Textdraw4[playerid], 1);
- TextDrawLetterSize(Textdraw4[playerid], 0.500000, 1.000000);
- TextDrawColor(Textdraw4[playerid], -1);
- TextDrawSetOutline(Textdraw4[playerid], 0);
- TextDrawSetProportional(Textdraw4[playerid], 1);
- TextDrawSetShadow(Textdraw4[playerid], 1);
- format(coordsstring, sizeof(coordsstring),"~y~Warns:~h~~h~ %d/5",warns);
- Textdraw5[playerid] = TextDrawCreate(310.000000, 341.000000,coordsstring);
- TextDrawBackgroundColor(Textdraw5[playerid], 255);
- TextDrawFont(Textdraw5[playerid], 1);
- TextDrawLetterSize(Textdraw5[playerid], 0.500000, 1.000000);
- TextDrawColor(Textdraw5[playerid], -1);
- TextDrawSetOutline(Textdraw5[playerid], 0);
- TextDrawSetProportional(Textdraw5[playerid], 1);
- TextDrawSetShadow(Textdraw5[playerid], 1);
- format(coordsstring, sizeof(coordsstring),"~y~O.Sati:~h~~h~ %d",ptime);
- Textdraw6[playerid] = TextDrawCreate(310.000000, 361.000000,coordsstring);
- TextDrawBackgroundColor(Textdraw6[playerid], 255);
- TextDrawFont(Textdraw6[playerid], 1);
- TextDrawLetterSize(Textdraw6[playerid], 0.500000, 1.000000);
- TextDrawColor(Textdraw6[playerid], -1);
- TextDrawSetOutline(Textdraw6[playerid], 0);
- TextDrawSetProportional(Textdraw6[playerid], 1);
- TextDrawSetShadow(Textdraw6[playerid], 1);
- format(coordsstring, sizeof(coordsstring),"~y~Kredit:~h~~h~ %d",kreditbr);
- Textdraw7[playerid] = TextDrawCreate(310.000000, 381.000000,coordsstring);
- TextDrawBackgroundColor(Textdraw7[playerid], 255);
- TextDrawFont(Textdraw7[playerid], 1);
- TextDrawLetterSize(Textdraw7[playerid], 0.500000, 1.000000);
- TextDrawColor(Textdraw7[playerid], -1);
- TextDrawSetOutline(Textdraw7[playerid], 0);
- TextDrawSetProportional(Textdraw7[playerid], 1);
- TextDrawSetShadow(Textdraw7[playerid], 1);
- format(coordsstring, sizeof(coordsstring),"~y~Donator:~h~~h~ %s",drank);
- Textdraw8[playerid] = TextDrawCreate(310.000000, 401.000000,coordsstring);
- TextDrawBackgroundColor(Textdraw8[playerid], 255);
- TextDrawFont(Textdraw8[playerid], 1);
- TextDrawLetterSize(Textdraw8[playerid], 0.500000, 1.000000);
- TextDrawColor(Textdraw8[playerid], -1);
- TextDrawSetOutline(Textdraw8[playerid], 0);
- TextDrawSetProportional(Textdraw8[playerid], 1);
- TextDrawSetShadow(Textdraw8[playerid], 1);
- format(coordsstring, sizeof(coordsstring),"~y~Broj:~h~~h~ %d",pnumber);
- Textdraw9[playerid] = TextDrawCreate(310.000000, 421.000000,coordsstring);
- TextDrawBackgroundColor(Textdraw9[playerid], 255);
- TextDrawFont(Textdraw9[playerid], 1);
- TextDrawLetterSize(Textdraw9[playerid], 0.500000, 1.000000);
- TextDrawColor(Textdraw9[playerid], -1);
- TextDrawSetOutline(Textdraw9[playerid], 0);
- TextDrawSetProportional(Textdraw9[playerid], 1);
- TextDrawSetShadow(Textdraw9[playerid], 1);
- format(coordsstring, sizeof(coordsstring),"~y~Posao:~h~~h~ %s",jtext);
- Textdraw10[playerid] = TextDrawCreate(470.000000, 341.000000,coordsstring);
- TextDrawBackgroundColor(Textdraw10[playerid], 255);
- TextDrawFont(Textdraw10[playerid], 1);
- TextDrawLetterSize(Textdraw10[playerid], 0.500000, 1.000000);
- TextDrawColor(Textdraw10[playerid], -1);
- TextDrawSetOutline(Textdraw10[playerid], 0);
- TextDrawSetProportional(Textdraw10[playerid], 1);
- TextDrawSetShadow(Textdraw10[playerid], 1);
- format(coordsstring, sizeof(coordsstring),"~y~Org:~h~~h~ %s",ftext);
- Textdraw11[playerid] = TextDrawCreate(470.000000, 361.000000,coordsstring);
- TextDrawBackgroundColor(Textdraw11[playerid], 255);
- TextDrawFont(Textdraw11[playerid], 1);
- TextDrawLetterSize(Textdraw11[playerid], 0.500000, 1.000000);
- TextDrawColor(Textdraw11[playerid], -1);
- TextDrawSetOutline(Textdraw11[playerid], 0);
- TextDrawSetProportional(Textdraw11[playerid], 1);
- TextDrawSetShadow(Textdraw11[playerid], 1);
- format(coordsstring, sizeof(coordsstring),"~y~Rank:~h~~h~ %s",rtext);
- Textdraw12[playerid] = TextDrawCreate(470.000000, 381.000000,coordsstring);
- TextDrawBackgroundColor(Textdraw12[playerid], 255);
- TextDrawFont(Textdraw12[playerid], 1);
- TextDrawLetterSize(Textdraw12[playerid], 0.500000, 1.000000);
- TextDrawColor(Textdraw12[playerid], -1);
- TextDrawSetOutline(Textdraw12[playerid], 0);
- TextDrawSetProportional(Textdraw12[playerid], 1);
- TextDrawSetShadow(Textdraw12[playerid], 1);
- format(coordsstring, sizeof(coordsstring),"~y~Droga:~h~~h~ %d",drugs);
- Textdraw13[playerid] = TextDrawCreate(470.000000, 401.000000,coordsstring);
- TextDrawBackgroundColor(Textdraw13[playerid], 255);
- TextDrawFont(Textdraw13[playerid], 1);
- TextDrawLetterSize(Textdraw13[playerid], 0.500000, 1.000000);
- TextDrawColor(Textdraw13[playerid], -1);
- TextDrawSetOutline(Textdraw13[playerid], 0);
- TextDrawSetProportional(Textdraw13[playerid], 1);
- TextDrawSetShadow(Textdraw13[playerid], 1);
- format(coordsstring, sizeof(coordsstring),"~y~Mats:~h~~h~ %d",mats);
- Textdraw14[playerid] = TextDrawCreate(470.000000, 421.000000,coordsstring);
- TextDrawBackgroundColor(Textdraw14[playerid], 255);
- TextDrawFont(Textdraw14[playerid], 1);
- TextDrawLetterSize(Textdraw14[playerid], 0.500000, 1.000000);
- TextDrawColor(Textdraw14[playerid], -1);
- TextDrawSetOutline(Textdraw14[playerid], 0);
- TextDrawSetProportional(Textdraw14[playerid], 1);
- TextDrawSetShadow(Textdraw14[playerid], 1);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement