pawn Код:
public ShowStats(playerid,targetid)
{
if(IsPlayerConnected(playerid)&&IsPlayerConnected(targetid))
{
new drank[20];
if(PlayerInfo[targetid][pDonateRank] == 1) { drank = "1"; }
else if(PlayerInfo[targetid][pDonateRank] == 2) { drank = "2"; }
else if(PlayerInfo[targetid][pDonateRank] >= 3) { drank = "3"; }
else { drank = "Niste donator"; }
new married[20];
strmid(married, PlayerInfo[targetid][pMarriedTo], 0, strlen(PlayerInfo[targetid][pMarriedTo]), 255);
new ptime = PlayerInfo[targetid][pConnectTime];
new deaths = PlayerInfo[targetid][pDeaths];
new wanted = WantedLevel[targetid];
new level = PlayerInfo[targetid][pLevel];
new exp = PlayerInfo[targetid][pExp];
new kills = PlayerInfo[targetid][pKills];
new nxtlevel = PlayerInfo[targetid][pLevel]+1;
new expamount = nxtlevel*levelexp;
new housekey = PlayerInfo[targetid][pPhousekey];
new bizkey = PlayerInfo[targetid][pPbiskey];
new local = PlayerInfo[targetid][pLocal];
new warns = PlayerInfo[targetid][pWarns];
new poeni = PlayerInfo[playerid][pMinute];
new drugs = PlayerInfo[targetid][pDrugs];
new mats = PlayerInfo[targetid][pMats];
new name[MAX_PLAYER_NAME];
GetPlayerName(targetid, name, sizeof(name));
new Float:px,Float:py,Float:pz;
GetPlayerPos(targetid, px, py, pz);
new string[500];
new string1[MAX_PLAYER_NAME];
new string2[64];
new string3[64];
new string4[64];
new string5[64];
new string6[64];
new coordsstring3[160];
new coordsstring4[160];
PlayerTextDrawShow(playerid,Textdraw1[playerid]);
PlayerTextDrawShow(playerid,Textdraw2[playerid]);
PlayerTextDrawShow(playerid,Textdraw3[playerid]);
PlayerTextDrawShow(playerid,Textdraw4[playerid]);
PlayerTextDrawShow(playerid,Textdraw5[playerid]);
PlayerTextDrawShow(playerid,Textdraw6[playerid]);
PlayerTextDrawShow(playerid,Textdraw7[playerid]);
PlayerTextDrawShow(playerid,Textdraw8[playerid]);
PlayerTextDrawShow(playerid,Textdraw9[playerid]);
PlayerTextDrawShow(playerid,Textdraw10[playerid]);
PlayerTextDrawShow(playerid,Textdraw11[playerid]);
PlayerTextDrawShow(playerid,Textdraw12[playerid]);
PlayerTextDrawShow(playerid,Textdraw13[playerid]);
PlayerTextDrawShow(playerid,Textdraw14[playerid]);
format(string1, sizeof(string1),"%s",name);
format(string2, sizeof(string2),"%d/%d",exp,expamount);
format(string3, sizeof(string3),"%d",level);
format(string4, sizeof(string4),"%d",ptime);
format(string5, sizeof(string5),"%d/30",poeni);
format(string6, sizeof(string6),"%d/5",warns);
format(coordsstring3, sizeof(coordsstring3),"\n{48E31C}- Sati igre:[%d]\n- Respekti:[%d/%d]\n- PayDay poeni[%d/30]\n- Ubojstava:[%d]\n- Smrti:[%d]\n- Wanted:[%d]\n- Droga:[%d]\n- Materijali:[%d]\n- Upozorenja[%d/5]",ptime,exp,expamount,poeni,kills,deaths,wanted,drugs,mats,warns);
format(coordsstring4, sizeof(coordsstring4),"\n{FFFFFF}- Imovina:\n{48E31C}- Kuca:[%d]\n- Firma:[%d]\n- Local:[%d]\n- Donator:[%s]",housekey,bizkey,local,drank);
format(string, 500," %s%s%s",coordsstring3,coordsstring4);
PlayerInfo[playerid][pPrikazaniStatsi] = 1;
PlayerInfo[playerid][pStats2] = 1;
PlayerTextDrawSetString(Textdraw7,string1);
PlayerTextDrawSetString(Textdraw8,string3);
PlayerTextDrawSetString(Textdraw9,string2);
PlayerTextDrawSetString(Textdraw10,string4);
PlayerTextDrawSetString(Textdraw11,string5);
PlayerTextDrawSetString(Textdraw12,string6);
}
}
public ShowStats2(playerid,targetid)
{
if(IsPlayerConnected(playerid)&&IsPlayerConnected(targetid))
{
PlayerTextDrawHide(playerid,Textdraw1[playerid]);
PlayerTextDrawHide(playerid,Textdraw2[playerid]);
PlayerTextDrawHide(playerid,Textdraw3[playerid]);
PlayerTextDrawHide(playerid,Textdraw4[playerid]);
PlayerTextDrawHide(playerid,Textdraw5[playerid]);
PlayerTextDrawHide(playerid,Textdraw6[playerid]);
PlayerTextDrawHide(playerid,Textdraw7[playerid]);
PlayerTextDrawHide(playerid,Textdraw8[playerid]);
PlayerTextDrawHide(playerid,Textdraw9[playerid]);
PlayerTextDrawHide(playerid,Textdraw10[playerid]);
PlayerTextDrawHide(playerid,Textdraw11[playerid]);
PlayerTextDrawHide(playerid,Textdraw12[playerid]);
PlayerTextDrawHide(playerid,Textdraw13[playerid]);
PlayerTextDrawHide(playerid,Textdraw14[playerid]);
//========================================
PlayerTextDrawShow(playerid,Textdraw15[playerid]);
PlayerTextDrawShow(playerid,Textdraw16[playerid]);
PlayerTextDrawShow(playerid,Textdraw17[playerid]);
PlayerTextDrawShow(playerid,Textdraw18[playerid]);
PlayerTextDrawShow(playerid,Textdraw19[playerid]);
PlayerTextDrawShow(playerid,Textdraw20[playerid]);
PlayerTextDrawShow(playerid,Textdraw21[playerid]);
PlayerTextDrawShow(playerid,Textdraw22[playerid]);
PlayerTextDrawShow(playerid,Textdraw23[playerid]);
PlayerTextDrawShow(playerid,Textdraw24[playerid]);
PlayerTextDrawShow(playerid,Textdraw25[playerid]);
PlayerTextDrawShow(playerid,Textdraw26[playerid]);
PlayerTextDrawShow(playerid,Textdraw131[playerid]);
PlayerTextDrawShow(playerid,Textdraw141[playerid]);
PlayerInfo[playerid][pStats3] = 1;
PlayerInfo[playerid][pStats2] = 0;
new string7[64];
new string8[64];
new string9[64];
new string10[64];
new string11[64];
new string12[64];
new age = PlayerInfo[targetid][pGodine];
new cash = GetPlayerMoney(targetid);
new atext[20];
new pnumber = PlayerInfo[targetid][pPnumber];
new account = PlayerInfo[targetid][pAccount];
if(PlayerInfo[targetid][pSpol] == 1) { atext = "Musko"; }
else if(PlayerInfo[targetid][pSpol] == 2) { atext = "Zensko"; }
new otext[20];
if(PlayerInfo[targetid][pDrzava] == 1) { otext = "Hrvatska"; }
else if(PlayerInfo[targetid][pDrzava] == 2) { otext = "BiH"; }
else if(PlayerInfo[targetid][pDrzava] == 3) { otext = "Srbija"; }
else if(PlayerInfo[targetid][pDrzava] == 4) { otext = "Crna Gora"; }
else if(PlayerInfo[targetid][pDrzava] == 5) { otext = "Slovenija"; }
else if(PlayerInfo[targetid][pDrzava] == 6) { otext = "Makedonija"; }
else if(PlayerInfo[targetid][pDrzava] == 7) { otext = "Ostalo"; }
PlayerInfo[playerid][pStats3] = 1;
format(string7, sizeof(string7),"%d",age);
format(string8, sizeof(string8),"%s",atext);
format(string9, sizeof(string9),"%s",otext);
format(string10, sizeof(string10),"%d",pnumber);
format(string11, sizeof(string11),"%d$",cash);
format(string12, sizeof(string12),"%d$",account);
PlayerTextDrawSetString(Textdraw21,string7);
PlayerTextDrawSetString(Textdraw23,string8);
PlayerTextDrawSetString(Textdraw22,string9);
PlayerTextDrawSetString(Textdraw24,string10);
PlayerTextDrawSetString(Textdraw25,string11);
PlayerTextDrawSetString(Textdraw26,string12);
}
}
public ShowStats3(playerid,targetid)
{
if(IsPlayerConnected(playerid)&&IsPlayerConnected(targetid))
{
//========================================
PlayerTextDrawHide(playerid,Textdraw15[playerid]);
PlayerTextDrawHide(playerid,Textdraw16[playerid]);
PlayerTextDrawHide(playerid,Textdraw17[playerid]);
PlayerTextDrawHide(playerid,Textdraw18[playerid]);
PlayerTextDrawHide(playerid,Textdraw19[playerid]);
PlayerTextDrawHide(playerid,Textdraw20[playerid]);
PlayerTextDrawHide(playerid,Textdraw21[playerid]);
PlayerTextDrawHide(playerid,Textdraw22[playerid]);
PlayerTextDrawHide(playerid,Textdraw23[playerid]);
PlayerTextDrawHide(playerid,Textdraw24[playerid]);
PlayerTextDrawHide(playerid,Textdraw25[playerid]);
PlayerTextDrawHide(playerid,Textdraw26[playerid]);
PlayerTextDrawHide(playerid,Textdraw131[playerid]);
PlayerTextDrawHide(playerid,Textdraw141[playerid]);
//==============STR 3=================
PlayerTextDrawShow(playerid,Textdraw151[playerid]);
PlayerTextDrawShow(playerid,Textdraw161[playerid]);
PlayerTextDrawShow(playerid,Textdraw171[playerid]);
PlayerTextDrawShow(playerid,Textdraw181[playerid]);
PlayerTextDrawShow(playerid,Textdraw191[playerid]);
PlayerTextDrawShow(playerid,Textdraw221[playerid]);
PlayerTextDrawShow(playerid,Textdraw231[playerid]);
PlayerTextDrawShow(playerid,Textdraw241[playerid]);
PlayerTextDrawShow(playerid,Textdraw251[playerid]);
PlayerTextDrawShow(playerid,Textdraw261[playerid]);
PlayerTextDrawShow(playerid,Textdraw271[playerid]);
PlayerTextDrawShow(playerid,Textdraw281[playerid]);
PlayerTextDrawShow(playerid,BandaMafija[playerid]);
PlayerTextDrawShow(playerid,BandaMafija1[playerid]);
PlayerInfo[playerid][pStats2] = 0;
PlayerInfo[playerid][pStats4] = 1;
new string12[64];
new string13[64];
new string14[64];
new string15[64];
new string16[64];
new string17[64];
new jtext[20];
if(PlayerInfo[targetid][pJob] == 1) { jtext = "Detektiv"; }
else if(PlayerInfo[targetid][pJob] == 2) { jtext = "Odvjetnik"; }
else if(PlayerInfo[targetid][pJob] == 3) { jtext = "Prostitutka"; }
else if(PlayerInfo[targetid][pJob] == 4) { jtext = "Diler droge"; }
else if(PlayerInfo[targetid][pJob] == 5) { jtext = "Kradljivac auta"; }
else if(PlayerInfo[targetid][pJob] == 6) { jtext = "Novinar"; }
else if(PlayerInfo[targetid][pJob] == 7) { jtext = "Automehanicar"; }
else if(PlayerInfo[targetid][pJob] == 8) { jtext = "Zastitar"; }
else if(PlayerInfo[targetid][pJob] == 9) { jtext = "Diler oruzja"; }
else if(PlayerInfo[targetid][pJob] == 10) { jtext = "Farmer"; }
else if(PlayerInfo[targetid][pJob] == 11) { jtext = "Dzepkaros"; }
else if(PlayerInfo[targetid][pJob] == 12) { jtext = "WWE Superstar"; }
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 = "Dostavljac"; }
else if(PlayerInfo[targetid][pJob] == 17) { jtext = "Raznosac pizze"; }
else if(PlayerInfo[targetid][pJob] == 18) { jtext = "Kosac trave"; }
else if(PlayerInfo[targetid][pJob] == 19) { jtext = "Farmer droge"; }
else if(PlayerInfo[targetid][pJob] == 21) { jtext = "Smetlar"; }
else if(PlayerInfo[targetid][pJob] == 22) { jtext = "Diler materijala"; }
else if(PlayerInfo[targetid][pJob] == 25) { jtext = "Postar"; }
else if(PlayerInfo[targetid][pJob] == 26) { jtext = "Vlakovodja"; }
else { jtext = "Nezaposlen"; }
new bmtext[30];
if(PlayerInfo[targetid][pMember] == 5 || PlayerInfo[targetid][pLeader] == 5)
{ bmtext = "Yakuza"; }
else if(PlayerInfo[targetid][pMember] == 6 || PlayerInfo[targetid][pLeader] == 6)
{ bmtext = "L.C.N"; }
else if(PlayerInfo[targetid][pMember] == 12 || PlayerInfo[targetid][pLeader] == 12)
{ bmtext = "B.F"; }
else if(PlayerInfo[targetid][pMember] == 13 || PlayerInfo[targetid][pLeader] == 13)
{ bmtext = "L.S"; }
else if(PlayerInfo[targetid][pMember] == 14 || PlayerInfo[targetid][pLeader] == 14)
{ bmtext = "C.R"; }
else if(PlayerInfo[targetid][pMember] == 15 || PlayerInfo[targetid][pLeader] == 15)
{ bmtext = "G.S.F"; }
else if(PlayerInfo[targetid][pMember] == 16 || PlayerInfo[targetid][pLeader] == 16)
{ bmtext = "NGR"; }
else
{ bmtext = "Civil"; }
new ftext[30];
if(PlayerInfo[targetid][pMember] == 1 || PlayerInfo[targetid][pLeader] == 1)
{ ftext = "L.S.P.D"; }
else if(PlayerInfo[targetid][pMember] == 2 || PlayerInfo[targetid][pLeader] == 2)
{ ftext = "F.B.I."; }
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] == 7 || PlayerInfo[targetid][pLeader] == 7)
{ ftext = "Gradonacelnik"; }
else if(PlayerInfo[targetid][pMember] == 8 || PlayerInfo[targetid][pLeader] == 8)
{ ftext = "Hitman"; }
else if(PlayerInfo[targetid][pMember] == 9 || PlayerInfo[targetid][pLeader] == 9)
{ ftext = "CNN"; }
else if(PlayerInfo[targetid][pMember] == 10 || PlayerInfo[targetid][pLeader] == 10)
{ ftext = "Taxi.A."; }
else if(PlayerInfo[targetid][pMember] == 17 || PlayerInfo[targetid][pLeader] == 17)
{ ftext = "Special Forces"; }
else
{ ftext = "Civil"; }
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 = "PD.Kadet"; }
else if(PlayerInfo[targetid][pRank] == 2) { rtext = "PD.Policajac"; }
else if(PlayerInfo[targetid][pRank] == 3) { rtext = "PD.Narednik"; }
else if(PlayerInfo[targetid][pRank] == 4) { rtext = "PD.Inspektor"; }
else if(PlayerInfo[targetid][pRank] == 5) { rtext = "PD.Porucnik"; }
else if(PlayerInfo[targetid][pRank] == 6) { rtext = "PD.Nacelnik"; }
else { rtext = "PD.Kadet"; }
}
else if(PlayerInfo[targetid][pMember] == 2 || PlayerInfo[targetid][pLeader] == 2)//FBI Ranks
{
if(PlayerInfo[targetid][pRank] == 1) { rtext = "FBI.Agent"; }
else if(PlayerInfo[targetid][pRank] == 2) { rtext = "FBI.Presretac"; }
else if(PlayerInfo[targetid][pRank] == 3) { rtext = "FBI.Tajni Agent"; }
else if(PlayerInfo[targetid][pRank] == 4) { rtext = "FBI.Cobra"; }
else if(PlayerInfo[targetid][pRank] == 5) { rtext = "FBI.Zamjenik"; }
else if(PlayerInfo[targetid][pRank] == 6) { rtext = "FBI.Direktor"; }
else { rtext = "FBI.Agent"; }
}
else if(PlayerInfo[targetid][pMember] == 3 || PlayerInfo[targetid][pLeader] == 3)//NG Ranks
{
if(PlayerInfo[targetid][pRank] == 1) { rtext = " SWAT.Vojnik"; }
else if(PlayerInfo[targetid][pRank] == 2) { rtext = "SWAT.Casnik"; }
else if(PlayerInfo[targetid][pRank] == 3) { rtext = "SWAT Deserter"; }
else if(PlayerInfo[targetid][pRank] == 4) { rtext = "SWAT.General"; }
else if(PlayerInfo[targetid][pRank] == 5) { rtext = "SWAT.Agent"; }
else if(PlayerInfo[targetid][pRank] == 6) { rtext = "SWAT.Pukovnik"; }
else { rtext = "SWAT.Vojnik"; }
}
else if(PlayerInfo[targetid][pMember] == 4 || PlayerInfo[targetid][pLeader] == 4)//MEdic Ranks
{
if(PlayerInfo[targetid][pRank] == 1) { rtext = "MD.Brat"; }
else if(PlayerInfo[targetid][pRank] == 2) { rtext = "MD.Doktor"; }
else if(PlayerInfo[targetid][pRank] == 3) { rtext = "MD.Kirurg"; }
else if(PlayerInfo[targetid][pRank] == 4) { rtext = "MD.Spec.Kirurg"; }
else if(PlayerInfo[targetid][pRank] == 5) { rtext = "MD.Zamjenik"; }
else if(PlayerInfo[targetid][pRank] == 6) { rtext = "MD.Upravitelj"; }
else { rtext = "MD.Brat"; }
}
else if(PlayerInfo[targetid][pMember] == 5 || PlayerInfo[targetid][pLeader] == 5)//Yakuza Ranks
{
if(PlayerInfo[targetid][pRank] == 1) { rtext = "Kyodai"; }
else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Shingiin"; }
else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Shateigashira"; }
else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Wakagashira"; }
else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Saiko Komon"; }
else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Oyabun"; }
else { rtext = "Shatei"; }
}
else if(PlayerInfo[targetid][pMember] == 6 || PlayerInfo[targetid][pLeader] == 6)//LCN 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)//Mayor ranks
{
if(PlayerInfo[targetid][pRank] == 1) { rtext = "Vozac"; }
else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Bodyguard"; }
else if(PlayerInfo[targetid][pLeader] == 7) { rtext = "Gradonacelnik"; }
else { rtext = "Nema"; }
}
else if(PlayerInfo[targetid][pMember] == 8 || PlayerInfo[targetid][pLeader] == 8)//Hitman Ranks
{
if(PlayerInfo[targetid][pRank] == 1) { rtext = "Ucenik"; }
else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Pomagac"; }
else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Ucjenjivac"; }
else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Lovac"; }
else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Ubojica"; }
else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Agent47"; }
else { rtext = "Ucenik"; }
}
else if(PlayerInfo[targetid][pMember] == 9 || PlayerInfo[targetid][pLeader] == 9)//NR Ranks
{
if(PlayerInfo[targetid][pRank] == 1) { rtext = "Novinar"; }
else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Stariji Novinar"; }
else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Reporter"; }
else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Web Urednik"; }
else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Producent"; }
else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Glavni Urednik"; }
else { rtext = "Novinar"; }
}
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 vlasnik"; }
else { rtext = "Trainee"; }
}
else if(PlayerInfo[targetid][pMember] == 12 || PlayerInfo[targetid][pLeader] == 12)//Ruska Mafija Rankovi
{
if(PlayerInfo[targetid][pRank] == 1) { rtext = "L.Y.Gangster"; }
else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Young Gangster"; }
else if(PlayerInfo[targetid][pRank] == 3) { rtext = "O.Y.Gangster"; }
else if(PlayerInfo[targetid][pRank] == 4) { rtext = "O.Gangster"; }
else if(PlayerInfo[targetid][pRank] == 5) { rtext = "D.O.G"; }
else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Top O.G"; }
else { rtext = "L.Y.Gangster"; }
}
else if(PlayerInfo[targetid][pMember] == 13 || PlayerInfo[targetid][pLeader] == 13)//Crips Rankovi
{
if(PlayerInfo[targetid][pRank] == 1) { rtext = "Pocetnk"; }
else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Pomagac"; }
else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Gangster"; }
else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Ubojica"; }
else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Zamjenik"; }
else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Sef"; }
else { rtext = "Pocetnik"; }
}
else if(PlayerInfo[targetid][pMember] == 14 || PlayerInfo[targetid][pLeader] == 14)//C.R Rankovi
{
if(PlayerInfo[targetid][pRank] == 1) { rtext = "Rockie"; }
else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Driver"; }
else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Street Driver"; }
else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Pro Driver"; }
else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Under Boss"; }
else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Big Boss"; }
else { rtext = "Rockie"; }
}
else if(PlayerInfo[targetid][pMember] == 15 || PlayerInfo[targetid][pLeader] == 15)//GSFly gang Ranks
{
if(PlayerInfo[targetid][pRank] == 1) { rtext = "Busta"; }
else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Homeboy"; }
else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Real Memba"; }
else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Gangsta"; }
else if(PlayerInfo[targetid][pRank] == 5) { rtext = "O.G"; }
else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Top O.G"; }
else { rtext = "Busta"; }
}
else if(PlayerInfo[targetid][pMember] == 16 || PlayerInfo[targetid][pLeader] == 16)//SRaceri Bikeri 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 Runner"; }
else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Thug"; }
else if(PlayerInfo[targetid][pRank] == 6) { rtext = "O.G"; }
else { rtext = "Dumb Hoe"; }
}
else if(PlayerInfo[targetid][pMember] == 17 || PlayerInfo[targetid][pLeader] == 17)//Special Forces Rankovi
{
if(PlayerInfo[targetid][pRank] == 1) { rtext = "Trainee"; }
else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Private"; }
else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Corporal"; }
else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Sergeant"; }
else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Major"; }
else if(PlayerInfo[targetid][pRank] == 6) { rtext = "General"; }
else { rtext = "Trainee"; }
}
else
{
rtext = "Nema";
}
new drugs = PlayerInfo[targetid][pDrugs];
new mats = PlayerInfo[targetid][pMats];
format(string12, sizeof(string12),"%s",jtext);
format(string13, sizeof(string13),"%s",rtext);
format(string14, sizeof(string14),"%s",ftext);
format(string15, sizeof(string15),"%d",drugs);
format(string16, sizeof(string16),"%d",mats);
format(string17, sizeof(string16),"%s",bmtext);
PlayerTextDrawSetString(Textdraw221,string12);
PlayerTextDrawSetString(Textdraw231,string13);
PlayerTextDrawSetString(Textdraw241,string14);
PlayerTextDrawSetString(Textdraw251,string15);
PlayerTextDrawSetString(Textdraw261,string16);
PlayerTextDrawSetString(BandaMafija,string17);
}
}
public ShowStats4(playerid,targetid)
{
if(IsPlayerConnected(playerid)&&IsPlayerConnected(targetid))
{
new housekey = PlayerInfo[targetid][pPhousekey];
new kills = PlayerInfo[targetid][pKills];
new deaths = PlayerInfo[targetid][pDeaths];
new wanted = WantedLevel[targetid];
new bizkey = PlayerInfo[targetid][pPbiskey];
new drank[20];
if(PlayerInfo[targetid][pDonateRank] == 1) { drank = "1"; }
else if(PlayerInfo[targetid][pDonateRank] == 2) { drank = "2"; }
else if(PlayerInfo[targetid][pDonateRank] >= 3) { drank = "3"; }
else { drank = "Nema"; }
new string18[64];
new string19[64];
new string20[64];
new string21[64];
new string22[64];
new string23[64];
PlayerTextDrawHide(playerid,Textdraw151[playerid]);
PlayerTextDrawHide(playerid,Textdraw161[playerid]);
PlayerTextDrawHide(playerid,Textdraw171[playerid]);
PlayerTextDrawHide(playerid,Textdraw181[playerid]);
PlayerTextDrawHide(playerid,Textdraw191[playerid]);
PlayerTextDrawHide(playerid,Textdraw221[playerid]);
PlayerTextDrawHide(playerid,Textdraw231[playerid]);
PlayerTextDrawHide(playerid,Textdraw241[playerid]);
PlayerTextDrawHide(playerid,Textdraw251[playerid]);
PlayerTextDrawHide(playerid,Textdraw261[playerid]);
PlayerTextDrawHide(playerid,Textdraw271[playerid]);
PlayerTextDrawHide(playerid,Textdraw281[playerid]);
PlayerTextDrawHide(playerid,BandaMafija[playerid]);
PlayerTextDrawHide(playerid,BandaMafija1[playerid]);
//======STRANA 4 ==OSTALO=====
PlayerTextDrawShow(playerid,Kuca[playerid]);
PlayerTextDrawShow(playerid,Firma[playerid]);
PlayerTextDrawShow(playerid,Donator[playerid]);
PlayerTextDrawShow(playerid,Ubistva[playerid]);
PlayerTextDrawShow(playerid,Smrti[playerid]);
PlayerTextDrawShow(playerid,WantedLevel2[playerid]);
PlayerTextDrawShow(playerid,Kuca1[playerid]);
PlayerTextDrawShow(playerid,Firma1[playerid]);
PlayerTextDrawShow(playerid,Donator1[playerid]);
PlayerTextDrawShow(playerid,Ubistva1[playerid]);
PlayerTextDrawShow(playerid,Smrti1[playerid]);
PlayerTextDrawShow(playerid,WantedLevel1[playerid]);
PlayerTextDrawShow(playerid,BOXOSTALO[playerid]);
PlayerTextDrawShow(playerid,OSTALO[playerid]);
PlayerInfo[playerid][pStats3] = 0;
format(string18, sizeof(string18),"%d",housekey);
format(string19, sizeof(string19),"%d",bizkey);
format(string20, sizeof(string20),"%s",drank);
format(string21, sizeof(string21),"%d",kills);
format(string22, sizeof(string22),"%d",deaths);
format(string23, sizeof(string23),"%d",wanted);
PlayerTextDrawSetString(Kuca1,string18);
PlayerTextDrawSetString(Firma1,string19);
PlayerTextDrawSetString(Donator1,string20);
PlayerTextDrawSetString(Ubistva1,string21);
PlayerTextDrawSetString(Smrti1,string22);
PlayerTextDrawSetString(WantedLevel1,string23);
}
}
pawn Код:
Textdraw1 = CreatePlayerTextDraw(10.000000, 159.000000, "Ime:");
PlayerTextDrawBackgroundColor(Textdraw1, 255);
PlayerTextDrawFont(Textdraw1, 1);
PlayerTextDrawLetterSize(Textdraw1, 0.609999, 1.700000);
PlayerTextDrawColor(Textdraw1, 869072810);
PlayerTextDrawSetOutline(Textdraw1, 0);
PlayerTextDrawSetProportional(Textdraw1, 1);
PlayerTextDrawSetShadow(Textdraw1, 1);
Textdraw2 = CreatePlayerTextDraw(11.000000, 203.000000, "Respekti:");
PlayerTextDrawBackgroundColor(Textdraw2, 255);
PlayerTextDrawFont(Textdraw2, 1);
PlayerTextDrawLetterSize(Textdraw2, 0.539999, 1.700000);
PlayerTextDrawColor(Textdraw2, 869072810);
PlayerTextDrawSetOutline(Textdraw2, 0);
PlayerTextDrawSetProportional(Textdraw2, 1);
PlayerTextDrawSetShadow(Textdraw2, 1);
Textdraw3 = CreatePlayerTextDraw(11.000000, 181.000000, "Level:");
PlayerTextDrawBackgroundColor(Textdraw3, 255);
PlayerTextDrawFont(Textdraw3, 1);
PlayerTextDrawLetterSize(Textdraw3, 0.569999, 1.600000);
PlayerTextDrawColor(Textdraw3, 869072810);
PlayerTextDrawSetOutline(Textdraw3, 0);
PlayerTextDrawSetProportional(Textdraw3, 1);
PlayerTextDrawSetShadow(Textdraw3, 1);
Textdraw4 = CreatePlayerTextDraw(10.000000, 228.000000, "Sati Igranja:"); // I stopped here changing to PlayerTextDraw 'cuz I first wanted to make sure everything else is alright
TextDrawBackgroundColor(Textdraw4, 255);
TextDrawFont(Textdraw4, 1);
TextDrawLetterSize(Textdraw4, 0.539999, 1.700000);
TextDrawColor(Textdraw4, 869072810);
TextDrawSetOutline(Textdraw4, 0);
TextDrawSetProportional(Textdraw4, 1);
TextDrawSetShadow(Textdraw4, 1);
Textdraw5 = CreatePlayerTextDraw(11.000000, 254.000000, "PayDay Poeni:");
TextDrawBackgroundColor(Textdraw5, 255);
TextDrawFont(Textdraw5, 1);
TextDrawLetterSize(Textdraw5, 0.509999, 1.700000);
TextDrawColor(Textdraw5, 869072810);
TextDrawSetOutline(Textdraw5, 0);
TextDrawSetProportional(Textdraw5, 1);
TextDrawSetShadow(Textdraw5, 1);
Textdraw6 = CreatePlayerTextDraw(11.000000, 281.000000, "Upozorenja:");
TextDrawBackgroundColor(Textdraw6, 255);
TextDrawFont(Textdraw6, 1);
TextDrawLetterSize(Textdraw6, 0.559999, 1.600000);
TextDrawColor(Textdraw6, 869072810);
TextDrawSetOutline(Textdraw6, 0);
TextDrawSetProportional(Textdraw6, 1);
TextDrawSetShadow(Textdraw6, 1);
Textdraw7 = CreatePlayerTextDraw(71.000000, 159.000000, "_");
TextDrawAlignment(Textdraw7,0);
TextDrawBackgroundColor(Textdraw7, 255);
TextDrawFont(Textdraw7, 1);
TextDrawLetterSize(Textdraw7, 0.609999, 1.700000);
TextDrawColor(Textdraw7, -1);
TextDrawSetOutline(Textdraw7, 0);
TextDrawSetProportional(Textdraw7, 1);
TextDrawSetShadow(Textdraw7, 1);
Textdraw8 = CreatePlayerTextDraw(74.000000, 182.000000, "_");
TextDrawBackgroundColor(Textdraw8, 255);
TextDrawFont(Textdraw8, 1);
TextDrawLetterSize(Textdraw8, 0.559999, 1.400000);
TextDrawColor(Textdraw8, -1);
TextDrawSetOutline(Textdraw8, 0);
TextDrawSetProportional(Textdraw8, 1);
TextDrawSetShadow(Textdraw8, 1);
Textdraw9 = CreatePlayerTextDraw(97.000000, 205.000000, "_");
TextDrawBackgroundColor(Textdraw9, 255);
TextDrawFont(Textdraw9, 1);
TextDrawLetterSize(Textdraw9, 0.529999, 1.400000);
TextDrawColor(Textdraw9, -1);
TextDrawSetOutline(Textdraw9, 0);
TextDrawSetProportional(Textdraw9, 1);
TextDrawSetShadow(Textdraw9, 1);
Textdraw10 = CreatePlayerTextDraw(130.000000, 229.000000, "_");
TextDrawBackgroundColor(Textdraw10, 255);
TextDrawFont(Textdraw10, 1);
TextDrawLetterSize(Textdraw10, 0.549999, 1.500000);
TextDrawColor(Textdraw10, -1);
TextDrawSetOutline(Textdraw10, 0);
TextDrawSetProportional(Textdraw10, 1);
TextDrawSetShadow(Textdraw10, 1);
Textdraw11 = CreatePlayerTextDraw(141.000000, 256.000000, "_");
TextDrawBackgroundColor(Textdraw11, 255);
TextDrawFont(Textdraw11, 1);
TextDrawLetterSize(Textdraw11, 0.579999, 1.400000);
TextDrawColor(Textdraw11, -1);
TextDrawSetOutline(Textdraw11, 0);
TextDrawSetProportional(Textdraw11, 1);
TextDrawSetShadow(Textdraw11, 1);
Textdraw12 = CreatePlayerTextDraw(129.000000, 282.000000, "_");
TextDrawBackgroundColor(Textdraw12, 255);
TextDrawFont(Textdraw12, 1);
TextDrawLetterSize(Textdraw12, 0.539999, 1.400000);
TextDrawColor(Textdraw12, -1);
TextDrawSetOutline(Textdraw12, 0);
TextDrawSetProportional(Textdraw12, 1);
TextDrawSetShadow(Textdraw12, 1);
Textdraw13 = CreatePlayerTextDraw(264.000000, 133.000000, "___________________");
TextDrawBackgroundColor(Textdraw13, 255);
TextDrawFont(Textdraw13, 1);
TextDrawLetterSize(Textdraw13, 0.529999, 2.200000);
TextDrawColor(Textdraw13, -1);
TextDrawSetOutline(Textdraw13, 0);
TextDrawSetProportional(Textdraw13, 1);
TextDrawSetShadow(Textdraw13, 1);
TextDrawUseBox(Textdraw13, 1);
TextDrawBoxColor(Textdraw13, -1347440726);
TextDrawTextSize(Textdraw13, 7.000000, 2.000000);
Textdraw131 = CreatePlayerTextDraw(264.000000, 133.000000, "___________________");
TextDrawBackgroundColor(Textdraw131, 255);
TextDrawFont(Textdraw131, 1);
TextDrawLetterSize(Textdraw131, 0.529999, 2.200000);
TextDrawColor(Textdraw131, -1);
TextDrawSetOutline(Textdraw131, 0);
TextDrawSetProportional(Textdraw131, 1);
TextDrawSetShadow(Textdraw131, 1);
TextDrawUseBox(Textdraw131, 1);
TextDrawBoxColor(Textdraw131, -1347440726);
TextDrawTextSize(Textdraw131, 7.000000, 2.000000);
Textdraw14 = CreatePlayerTextDraw(17.000000, 136.000000, "OPCENITO");
TextDrawBackgroundColor(Textdraw14, 255);
TextDrawFont(Textdraw14, 1);
TextDrawLetterSize(Textdraw14, 0.549999, 1.500000);
TextDrawColor(Textdraw14, -1);
TextDrawSetOutline(Textdraw14, 0);
TextDrawSetProportional(Textdraw14, 1);
TextDrawSetShadow(Textdraw14, 1);
Textdraw141 = CreatePlayerTextDraw(18.000000, 135.000000, "INFO");
TextDrawBackgroundColor(Textdraw141, 255);
TextDrawFont(Textdraw141, 1);
TextDrawLetterSize(Textdraw141, 0.599999, 1.700000);
TextDrawColor(Textdraw141, -1);
TextDrawSetOutline(Textdraw141, 0);
TextDrawSetProportional(Textdraw141, 1);
TextDrawSetShadow(Textdraw141, 1);
Textdraw15 = CreatePlayerTextDraw(10.000000, 159.000000, "Godine:");
TextDrawBackgroundColor(Textdraw15, 255);
TextDrawFont(Textdraw15, 1);
TextDrawLetterSize(Textdraw15, 0.609999, 1.700000);
TextDrawColor(Textdraw15, 0x48E31CFF);
TextDrawSetOutline(Textdraw15, 0);
TextDrawSetProportional(Textdraw15, 1);
TextDrawSetShadow(Textdraw15, 1);
Textdraw16 = CreatePlayerTextDraw(11.000000, 203.000000, "Spol:");
TextDrawBackgroundColor(Textdraw16, 255);
TextDrawFont(Textdraw16, 1);
TextDrawLetterSize(Textdraw16, 0.539999, 1.700000);
TextDrawColor(Textdraw16, 0x48E31CFF);
TextDrawSetOutline(Textdraw16, 0);
TextDrawSetProportional(Textdraw16, 1);
TextDrawSetShadow(Textdraw16, 1);
Textdraw17 = CreatePlayerTextDraw(11.000000, 181.000000, "Drzava:");
TextDrawBackgroundColor(Textdraw17, 255);
TextDrawFont(Textdraw17, 1);
TextDrawLetterSize(Textdraw17, 0.569999, 1.600000);
TextDrawColor(Textdraw17, 0x48E31CFF);
TextDrawSetOutline(Textdraw17, 0);
TextDrawSetProportional(Textdraw17, 1);
TextDrawSetShadow(Textdraw17, 1);
Textdraw18 = CreatePlayerTextDraw(10.000000, 228.000000, "Mobitel:");
TextDrawBackgroundColor(Textdraw18, 255);
TextDrawFont(Textdraw18, 1);
TextDrawLetterSize(Textdraw18, 0.539999, 1.700000);
TextDrawColor(Textdraw18, 0x48E31CFF);
TextDrawSetOutline(Textdraw18, 0);
TextDrawSetProportional(Textdraw18, 1);
TextDrawSetShadow(Textdraw18, 1);
Textdraw19 = CreatePlayerTextDraw(11.000000, 254.000000, "Novcanik:");
TextDrawBackgroundColor(Textdraw19, 255);
TextDrawFont(Textdraw19, 1);
TextDrawLetterSize(Textdraw19, 0.509999, 1.700000);
TextDrawColor(Textdraw19, 0x48E31CFF);
TextDrawSetOutline(Textdraw19, 0);
TextDrawSetProportional(Textdraw19, 1);
TextDrawSetShadow(Textdraw19, 1);
Textdraw20 = CreatePlayerTextDraw(11.000000, 281.000000, "Banka:");
TextDrawBackgroundColor(Textdraw20, 255);
TextDrawFont(Textdraw20, 1);
TextDrawLetterSize(Textdraw20, 0.559999, 1.600000);
TextDrawColor(Textdraw20, 0x48E31CFF);
TextDrawSetOutline(Textdraw20, 0);
TextDrawSetProportional(Textdraw20, 1);
TextDrawSetShadow(Textdraw20, 1);
Textdraw21 = CreatePlayerTextDraw(103.000000, 158.000000, "_");
TextDrawBackgroundColor(Textdraw21, 255);
TextDrawFont(Textdraw21, 1);
TextDrawLetterSize(Textdraw21, 0.599999, 1.800000);
TextDrawColor(Textdraw21, -1);
TextDrawSetOutline(Textdraw21, 0);
TextDrawSetProportional(Textdraw21, 1);
TextDrawSetShadow(Textdraw21, 1);
Textdraw22 = CreatePlayerTextDraw(107.000000, 181.000000, "_");
TextDrawBackgroundColor(Textdraw22, 255);
TextDrawFont(Textdraw22, 1);
TextDrawLetterSize(Textdraw22, 0.559999, 1.500000);
TextDrawColor(Textdraw22, -1);
TextDrawSetOutline(Textdraw22, 0);
TextDrawSetProportional(Textdraw22, 1);
TextDrawSetShadow(Textdraw22, 1);
Textdraw23 = CreatePlayerTextDraw(64.000000, 205.000000, "_");
TextDrawBackgroundColor(Textdraw23, 255);
TextDrawFont(Textdraw23, 1);
TextDrawLetterSize(Textdraw23, 0.539999, 1.400000);
TextDrawColor(Textdraw23, -1);
TextDrawSetOutline(Textdraw23, 0);
TextDrawSetProportional(Textdraw23, 1);
TextDrawSetShadow(Textdraw23, 1);
Textdraw24 = CreatePlayerTextDraw(115.000000, 229.000000, "_");
TextDrawBackgroundColor(Textdraw24, 255);
TextDrawFont(Textdraw24, 1);
TextDrawLetterSize(Textdraw24, 0.500000, 1.600000);
TextDrawColor(Textdraw24, -1);
TextDrawSetOutline(Textdraw24, 0);
TextDrawSetProportional(Textdraw24, 1);
TextDrawSetShadow(Textdraw24, 1);
Textdraw25 = CreatePlayerTextDraw(99.000000, 256.000000, "_$");
TextDrawBackgroundColor(Textdraw25, 255);
TextDrawFont(Textdraw25, 1);
TextDrawLetterSize(Textdraw25, 0.519999, 1.500000);
TextDrawColor(Textdraw25, -1);
TextDrawSetOutline(Textdraw25, 0);
TextDrawSetProportional(Textdraw25, 1);
TextDrawSetShadow(Textdraw25, 1);
Textdraw26 = CreatePlayerTextDraw(78.000000, 282.000000, "_$");
TextDrawBackgroundColor(Textdraw26, 255);
TextDrawFont(Textdraw26, 1);
TextDrawLetterSize(Textdraw26, 0.519999, 1.500000);
TextDrawColor(Textdraw26, -1);
TextDrawSetOutline(Textdraw26, 0);
TextDrawSetProportional(Textdraw26, 1);
TextDrawSetShadow(Textdraw26, 1);
Textdraw151 = CreatePlayerTextDraw(10.000000, 159.000000, "Posao:");
TextDrawBackgroundColor(Textdraw151, 255);
TextDrawFont(Textdraw151, 1);
TextDrawLetterSize(Textdraw151, 0.609999, 1.700000);
TextDrawColor(Textdraw151, 0xFFFF00AA);
TextDrawSetOutline(Textdraw151, 0);
TextDrawSetProportional(Textdraw151, 1);
TextDrawSetShadow(Textdraw151, 1);
Textdraw161 = CreatePlayerTextDraw(11.000000, 203.000000, "Organizacija:");
TextDrawBackgroundColor(Textdraw161, 255);
TextDrawFont(Textdraw161, 1);
TextDrawLetterSize(Textdraw161, 0.539999, 1.700000);
TextDrawColor(Textdraw161, 0xFFFF00AA);
TextDrawSetOutline(Textdraw161, 0);
TextDrawSetProportional(Textdraw161, 1);
TextDrawSetShadow(Textdraw161, 1);
Textdraw171 = CreatePlayerTextDraw(11.000000, 181.000000, "Rank:");
TextDrawBackgroundColor(Textdraw171, 255);
TextDrawFont(Textdraw171, 1);
TextDrawLetterSize(Textdraw171, 0.569999, 1.600000);
TextDrawColor(Textdraw171, 0xFFFF00AA);
TextDrawSetOutline(Textdraw171, 0);
TextDrawSetProportional(Textdraw171, 1);
TextDrawSetShadow(Textdraw171, 1);
Textdraw181 = CreatePlayerTextDraw(10.000000, 228.000000, "Droga:");
TextDrawBackgroundColor(Textdraw181, 255);
TextDrawFont(Textdraw181, 1);
TextDrawLetterSize(Textdraw181, 0.539999, 1.700000);
TextDrawColor(Textdraw181, 0xFFFF00AA);
TextDrawSetOutline(Textdraw181, 0);
TextDrawSetProportional(Textdraw181, 1);
TextDrawSetShadow(Textdraw181, 1);
Textdraw191 = CreatePlayerTextDraw(11.000000, 254.000000, "Materijali:");
TextDrawBackgroundColor(Textdraw191, 255);
TextDrawFont(Textdraw191, 1);
TextDrawLetterSize(Textdraw191, 0.509999, 1.700000);
TextDrawColor(Textdraw191, 0xFFFF00AA);
TextDrawSetOutline(Textdraw191, 0);
TextDrawSetProportional(Textdraw191, 1);
TextDrawSetShadow(Textdraw191, 1);
BandaMafija1 = CreatePlayerTextDraw(11.000000, 281.000000, "Banda/Mafija:");
TextDrawBackgroundColor(BandaMafija1, 255);
TextDrawFont(BandaMafija1, 1);
TextDrawLetterSize(BandaMafija1, 0.559999, 1.600000);
TextDrawColor(BandaMafija1, 0xFFFF00AA);
TextDrawSetOutline(BandaMafija1, 0);
TextDrawSetProportional(BandaMafija1, 1);
TextDrawSetShadow(BandaMafija1, 1);
Textdraw221 = CreatePlayerTextDraw(90.000000, 160.000000, "_");
TextDrawBackgroundColor(Textdraw221, 255);
TextDrawFont(Textdraw221, 1);
TextDrawLetterSize(Textdraw221, 0.549999, 1.600000);
TextDrawColor(Textdraw221, -1);
TextDrawSetOutline(Textdraw221, 0);
TextDrawSetProportional(Textdraw221, 1);
TextDrawSetShadow(Textdraw221, 1);
Textdraw231 = CreatePlayerTextDraw(73.000000, 181.000000, "_");
TextDrawBackgroundColor(Textdraw231, 255);
TextDrawFont(Textdraw231, 1);
TextDrawLetterSize(Textdraw231, 0.519999, 1.600000);
TextDrawColor(Textdraw231, -1);
TextDrawSetOutline(Textdraw231, 0);
TextDrawSetProportional(Textdraw231, 1);
TextDrawSetShadow(Textdraw231, 1);
Textdraw241 = CreatePlayerTextDraw(134.000000, 203.000000, "_");
TextDrawBackgroundColor(Textdraw241, 255);
TextDrawFont(Textdraw241, 1);
TextDrawLetterSize(Textdraw241, 0.559999, 1.600000);
TextDrawColor(Textdraw241, -1);
TextDrawSetOutline(Textdraw241, 0);
TextDrawSetProportional(Textdraw241, 1);
TextDrawSetShadow(Textdraw241, 1);
Textdraw251 = CreatePlayerTextDraw(77.000000, 230.000000, "_");
TextDrawBackgroundColor(Textdraw251, 255);
TextDrawFont(Textdraw251, 1);
TextDrawLetterSize(Textdraw251, 0.569999, 1.500000);
TextDrawColor(Textdraw251, -1);
TextDrawSetOutline(Textdraw251, 0);
TextDrawSetProportional(Textdraw251, 1);
TextDrawSetShadow(Textdraw251, 1);
Textdraw261 = CreatePlayerTextDraw(109.000000, 255.000000, "_");
TextDrawBackgroundColor(Textdraw261, 255);
TextDrawFont(Textdraw261, 1);
TextDrawLetterSize(Textdraw261, 0.549999, 1.600000);
TextDrawColor(Textdraw261, -1);
TextDrawSetOutline(Textdraw261, 0);
TextDrawSetProportional(Textdraw261, 1);
TextDrawSetShadow(Textdraw261, 1);
BandaMafija = CreatePlayerTextDraw(147.000000, 280.000000, "_");
TextDrawBackgroundColor(BandaMafija, 255);
TextDrawFont(BandaMafija, 1);
TextDrawLetterSize(BandaMafija, 0.539999, 1.700000);
TextDrawColor(BandaMafija, -1);
TextDrawSetOutline(BandaMafija, 0);
TextDrawSetProportional(BandaMafija, 1);
TextDrawSetShadow(BandaMafija, 1);
//=================================STRANA 4 SHOWSTATSA========================
Kuca = CreatePlayerTextDraw(10.000000, 159.000000, "Kuca:");
TextDrawBackgroundColor(Kuca, 255);
TextDrawFont(Kuca, 1);
TextDrawLetterSize(Kuca, 0.609999, 1.700000);
TextDrawColor(Kuca, 0xFF6347AA);
TextDrawSetOutline(Kuca, 0);
TextDrawSetProportional(Kuca, 1);
TextDrawSetShadow(Kuca, 1);
Firma = CreatePlayerTextDraw(11.000000, 203.000000, "Firma:");
TextDrawBackgroundColor(Firma, 255);
TextDrawFont(Firma, 1);
TextDrawLetterSize(Firma, 0.539999, 1.700000);
TextDrawColor(Firma, 0xFF6347AA);
TextDrawSetOutline(Firma, 0);
TextDrawSetProportional(Firma, 1);
TextDrawSetShadow(Firma, 1);
Donator = CreatePlayerTextDraw(11.000000, 181.000000, "Donator:");
TextDrawBackgroundColor(Donator, 255);
TextDrawFont(Donator, 1);
TextDrawLetterSize(Donator, 0.569999, 1.600000);
TextDrawColor(Donator, 0xFF6347AA);
TextDrawSetOutline(Donator, 0);
TextDrawSetProportional(Donator, 1);
TextDrawSetShadow(Donator, 1);
Ubistva = CreatePlayerTextDraw(10.000000, 228.000000, "Ubojstava:");
TextDrawBackgroundColor(Ubistva, 255);
TextDrawFont(Ubistva, 1);
TextDrawLetterSize(Ubistva, 0.539999, 1.700000);
TextDrawColor(Ubistva, 0xFF6347AA);
TextDrawSetOutline(Ubistva, 0);
TextDrawSetProportional(Ubistva, 1);
TextDrawSetShadow(Ubistva, 1);
Smrti = CreatePlayerTextDraw(11.000000, 254.000000, "Smrti:");
TextDrawBackgroundColor(Smrti, 255);
TextDrawFont(Smrti, 1);
TextDrawLetterSize(Smrti, 0.509999, 1.700000);
TextDrawColor(Smrti, 0xFF6347AA);
TextDrawSetOutline(Smrti, 0);
TextDrawSetProportional(Smrti, 1);
TextDrawSetShadow(Smrti, 1);
WantedLevel2 = CreatePlayerTextDraw(11.000000, 281.000000, "Wanted Level:");
TextDrawBackgroundColor(WantedLevel2, 255);
TextDrawFont(WantedLevel2, 1);
TextDrawLetterSize(WantedLevel2, 0.559999, 1.600000);
TextDrawColor(WantedLevel2, 0xFF6347AA);
TextDrawSetOutline(WantedLevel2, 0);
TextDrawSetProportional(WantedLevel2, 1);
TextDrawSetShadow(WantedLevel2, 1);
WantedLevel1 = CreatePlayerTextDraw(147.000000, 280.000000, "_");
TextDrawBackgroundColor(WantedLevel1, 255);
TextDrawFont(WantedLevel1, 1);
TextDrawLetterSize(WantedLevel1, 0.539999, 1.700000);
TextDrawColor(WantedLevel1, -1);
TextDrawSetOutline(WantedLevel1, 0);
TextDrawSetProportional(WantedLevel1, 1);
TextDrawSetShadow(WantedLevel1, 1);
Kuca1 = CreatePlayerTextDraw(70.000000, 160.000000, "_");
TextDrawBackgroundColor(Kuca1, 255);
TextDrawFont(Kuca1, 1);
TextDrawLetterSize(Kuca1, 0.509999, 1.600000);
TextDrawColor(Kuca1, -1);
TextDrawSetOutline(Kuca1, 0);
TextDrawSetProportional(Kuca1, 1);
TextDrawSetShadow(Kuca1, 1);
Firma1 = CreatePlayerTextDraw(107.000000, 180.000000, "_");
TextDrawBackgroundColor(Firma1, 255);
TextDrawFont(Firma1, 1);
TextDrawLetterSize(Firma1, 0.519999, 1.700000);
TextDrawColor(Firma1, -1);
TextDrawSetOutline(Firma1, 0);
TextDrawSetProportional(Firma1, 1);
TextDrawSetShadow(Firma1, 1);
Donator1 = CreatePlayerTextDraw(77.000000, 203.000000, "_");
TextDrawBackgroundColor(Donator1, 255);
TextDrawFont(Donator1, 1);
TextDrawLetterSize(Donator1, 0.519999, 1.700000);
TextDrawColor(Donator1, -1);
TextDrawSetOutline(Donator1, 0);
TextDrawSetProportional(Donator1, 1);
TextDrawSetShadow(Donator1, 1);
Ubistva1 = CreatePlayerTextDraw(95.000000, 229.000000, "_");
TextDrawBackgroundColor(Ubistva1, 255);
TextDrawFont(Ubistva1, 1);
TextDrawLetterSize(Ubistva1, 0.579999, 1.700000);
TextDrawColor(Ubistva1, -1);
TextDrawSetOutline(Ubistva1, 0);
TextDrawSetProportional(Ubistva1, 1);
TextDrawSetShadow(Ubistva1, 1);
Smrti1 = CreatePlayerTextDraw(69.000000, 254.000000, "_");
TextDrawBackgroundColor(Smrti1, 255);
TextDrawFont(Smrti1, 1);
TextDrawLetterSize(Smrti1, 0.529999, 1.800000);
TextDrawColor(Smrti1, -1);
TextDrawSetOutline(Smrti1, 0);
TextDrawSetProportional(Smrti1, 1);
TextDrawSetShadow(Smrti1, 1);
Textdraw271 = CreatePlayerTextDraw(264.000000, 133.000000, "___________________");
TextDrawBackgroundColor(Textdraw271, 255);
TextDrawFont(Textdraw271, 1);
TextDrawLetterSize(Textdraw271, 0.529999, 2.200000);
TextDrawColor(Textdraw271, -1);
TextDrawSetOutline(Textdraw271, 0);
TextDrawSetProportional(Textdraw271, 1);
TextDrawSetShadow(Textdraw271, 1);
TextDrawUseBox(Textdraw271, 1);
TextDrawBoxColor(Textdraw271, -1347440726);
TextDrawTextSize(Textdraw271, 7.000000, 2.000000);
Textdraw281 = CreatePlayerTextDraw(18.000000, 135.000000, "TIM I POSAO");
TextDrawBackgroundColor(Textdraw281, 255);
TextDrawFont(Textdraw281, 1);
TextDrawLetterSize(Textdraw281, 0.599999, 1.700000);
TextDrawColor(Textdraw281, -1);
TextDrawSetOutline(Textdraw281, 0);
TextDrawSetProportional(Textdraw281, 1);
TextDrawSetShadow(Textdraw281, 1);
BOXOSTALO = CreatePlayerTextDraw(264.000000, 133.000000, "___________________");
TextDrawBackgroundColor(BOXOSTALO, 255);
TextDrawFont(BOXOSTALO, 1);
TextDrawLetterSize(BOXOSTALO, 0.529999, 2.200000);
TextDrawColor(BOXOSTALO, -1);
TextDrawSetOutline(BOXOSTALO, 0);
TextDrawSetProportional(BOXOSTALO, 1);
TextDrawSetShadow(BOXOSTALO, 1);
TextDrawUseBox(BOXOSTALO, 1);
TextDrawBoxColor(BOXOSTALO, -1347440726);
TextDrawTextSize(BOXOSTALO, 7.000000, 2.000000);
OSTALO = CreatePlayerTextDraw(18.000000, 135.000000, "OSTALO");
TextDrawBackgroundColor(OSTALO, 255);
TextDrawFont(OSTALO, 1);
TextDrawLetterSize(OSTALO, 0.599999, 1.700000);
TextDrawColor(OSTALO, -1);
TextDrawSetOutline(OSTALO, 0);
TextDrawSetProportional(OSTALO, 1);
TextDrawSetShadow(OSTALO, 1);