[Pomoc]stats

Započeo (BSL)MasteR, Decembar 31, 2011, 21:50:51 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim:FactionGame Edit
Detaljan opis problema:Ubacio sam nov stats i sad kad kucam stats prvi put ne izbaci stats tek kad kucam drugi put i ne ucitava mi novac pise novac:0 i ne ucitava drzavu kako treba.
Dio skripte:
ove errore mi izbacilo kad sam ubacio nov stats:
D:\samp gamemodes\bsl\pawno\include\Streamer.inc(393) : warning 201: redefinition of constant/macro (symbol "OnPlayerEnterRaceCheckpoint")
D:\samp gamemodes\bsl\gamemodes\balkan1.pwn(2351) : warning 204: symbol is assigned a value that is never used: "ptime"
D:\samp gamemodes\bsl\gamemodes\balkan1.pwn(2346) : warning 204: symbol is assigned a value that is never used: "string"
D:\samp gamemodes\bsl\gamemodes\balkan1.pwn(2668) : warning 235: public function lacks forward declaration (symbol "IsAnInstructor")
D:\samp gamemodes\bsl\gamemodes\balkan1.pwn(10456) : error 017: undefined symbol "cash"
D:\samp gamemodes\bsl\gamemodes\balkan1.pwn(10458) : error 017: undefined symbol "poeni"
D:\samp gamemodes\bsl\gamemodes\balkan1.pwn(10441) : warning 204: symbol is assigned a value that is never used: "virworld"
D:\samp gamemodes\bsl\gamemodes\balkan1.pwn(10440) : warning 204: symbol is assigned a value that is never used: "intir"
D:\samp gamemodes\bsl\gamemodes\balkan1.pwn(10439) : warning 204: symbol is assigned a value that is never used: "carkey3"
D:\samp gamemodes\bsl\gamemodes\balkan1.pwn(10438) : warning 204: symbol is assigned a value that is never used: "carkey2"
D:\samp gamemodes\bsl\gamemodes\balkan1.pwn(10437) : warning 204: symbol is assigned a value that is never used: "carkey"
D:\samp gamemodes\bsl\gamemodes\balkan1.pwn(10430) : warning 204: symbol is assigned a value that is never used: "kreditbr"
D:\samp gamemodes\bsl\gamemodes\balkan1.pwn(12507) : warning 216: nested comment
D:\samp gamemodes\bsl\gamemodes\balkan1.pwn(42662) : warning 202: number of arguments does not match definition
D:\samp gamemodes\bsl\gamemodes\balkan1.pwn(44867) : warning 202: number of arguments does not match definition
D:\samp gamemodes\bsl\gamemodes\balkan1.pwn(44867) : warning 202: number of arguments does not match definition
D:\samp gamemodes\bsl\gamemodes\balkan1.pwn(44867) : warning 202: number of arguments does not match definition
D:\samp gamemodes\bsl\gamemodes\balkan1.pwn(44867) : warning 202: number of arguments does not match definition
D:\samp gamemodes\bsl\gamemodes\balkan1.pwn(44867) : warning 202: number of arguments does not match definition
D:\samp gamemodes\bsl\gamemodes\balkan1.pwn(44867) : warning 202: number of arguments does not match definition
D:\samp gamemodes\bsl\gamemodes\balkan1.pwn(44988) : warning 202: number of arguments does not match definition
D:\samp gamemodes\bsl\gamemodes\balkan1.pwn(44988) : warning 202: number of arguments does not match definition
D:\samp gamemodes\bsl\gamemodes\balkan1.pwn(61555) : warning 235: public function lacks forward declaration (symbol "Advertisements")
D:\samp gamemodes\bsl\gamemodes\balkan1.pwn(61559) : warning 213: tag mismatch
D:\samp gamemodes\bsl\gamemodes\balkan1.pwn(61565) : warning 235: public function lacks forward declaration (symbol "Advertisements2")
D:\samp gamemodes\bsl\gamemodes\balkan1.pwn(61570) : warning 213: tag mismatch
D:\samp gamemodes\bsl\gamemodes\balkan1.pwn(61571) : warning 213: tag mismatch
D:\samp gamemodes\bsl\gamemodes\balkan1.pwn(61572) : warning 213: tag mismatch
D:\samp gamemodes\bsl\gamemodes\balkan1.pwn(61573) : warning 213: tag mismatch
D:\samp gamemodes\bsl\gamemodes\balkan1.pwn(61574) : warning 213: tag mismatch
D:\samp gamemodes\bsl\gamemodes\balkan1.pwn(61575) : warning 213: tag mismatch
D:\samp gamemodes\bsl\gamemodes\balkan1.pwn(61576) : warning 213: tag mismatch
D:\samp gamemodes\bsl\gamemodes\balkan1.pwn(61577) : warning 213: tag mismatch
D:\samp gamemodes\bsl\gamemodes\balkan1.pwn(61578) : warning 213: tag mismatch
D:\samp gamemodes\bsl\gamemodes\balkan1.pwn(61579) : warning 213: tag mismatch
D:\samp gamemodes\bsl\gamemodes\balkan1.pwn(61580) : warning 213: tag mismatch
D:\samp gamemodes\bsl\gamemodes\balkan1.pwn(61581) : warning 213: tag mismatch
D:\samp gamemodes\bsl\gamemodes\balkan1.pwn(61582) : warning 213: tag mismatch
D:\samp gamemodes\bsl\gamemodes\balkan1.pwn(61583) : warning 213: tag mismatch
D:\samp gamemodes\bsl\gamemodes\balkan1.pwn(61584) : warning 213: tag mismatch
D:\samp gamemodes\bsl\gamemodes\balkan1.pwn(61585) : warning 213: tag mismatch
D:\samp gamemodes\bsl\gamemodes\balkan1.pwn(61586) : warning 213: tag mismatch
D:\samp gamemodes\bsl\gamemodes\balkan1.pwn(61587) : warning 213: tag mismatch
D:\samp gamemodes\bsl\gamemodes\balkan1.pwn(61588) : warning 213: tag mismatch
D:\samp gamemodes\bsl\gamemodes\balkan1.pwn(61589) : warning 213: tag mismatch
D:\samp gamemodes\bsl\gamemodes\balkan1.pwn(61590) : warning 213: tag mismatch
D:\samp gamemodes\bsl\gamemodes\balkan1.pwn(61591) : warning 213: tag mismatch
D:\samp gamemodes\bsl\gamemodes\balkan1.pwn(61592) : warning 213: tag mismatch
D:\samp gamemodes\bsl\gamemodes\balkan1.pwn(61593) : warning 213: tag mismatch
D:\samp gamemodes\bsl\gamemodes\balkan1.pwn(61594) : warning 213: tag mismatch
D:\samp gamemodes\bsl\gamemodes\balkan1.pwn(61595) : warning 213: tag mismatch
D:\samp gamemodes\bsl\gamemodes\balkan1.pwn(61596) : warning 213: tag mismatch
D:\samp gamemodes\bsl\gamemodes\balkan1.pwn(61597) : warning 213: tag mismatch
D:\samp gamemodes\bsl\gamemodes\balkan1.pwn(61598) : warning 213: tag mismatch
D:\samp gamemodes\bsl\gamemodes\balkan1.pwn(61599) : warning 213: tag mismatch
D:\samp gamemodes\bsl\gamemodes\balkan1.pwn(61600) : warning 213: tag mismatch
D:\samp gamemodes\bsl\gamemodes\balkan1.pwn(61601) : warning 213: tag mismatch
D:\samp gamemodes\bsl\gamemodes\balkan1.pwn(61602) : warning 213: tag mismatch
D:\samp gamemodes\bsl\gamemodes\balkan1.pwn(61603) : warning 213: tag mismatch
D:\samp gamemodes\bsl\gamemodes\balkan1.pwn(61604) : warning 213: tag mismatch
D:\samp gamemodes\bsl\gamemodes\balkan1.pwn(61605) : warning 213: tag mismatch
D:\samp gamemodes\bsl\gamemodes\balkan1.pwn(61606) : warning 213: tag mismatch
D:\samp gamemodes\bsl\gamemodes\balkan1.pwn(61609) : warning 213: tag mismatch
D:\samp gamemodes\bsl\gamemodes\balkan1.pwn(61611) : warning 213: tag mismatch
D:\samp gamemodes\bsl\gamemodes\balkan1.pwn(61612) : warning 213: tag mismatch
D:\samp gamemodes\bsl\gamemodes\balkan1.pwn(61613) : warning 213: tag mismatch
D:\samp gamemodes\bsl\gamemodes\balkan1.pwn(61615) : warning 213: tag mismatch
D:\samp gamemodes\bsl\gamemodes\balkan1.pwn(62071) : warning 203: symbol is never used: "PlayerPos"
D:\samp gamemodes\bsl\gamemodes\balkan1.pwn(62071) : warning 203: symbol is never used: "afk"
D:\samp gamemodes\bsl\gamemodes\balkan1.pwn(62071) : warning 203: symbol is never used: "gmduty"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


2 Errors.

evo vam i public showstats:
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 = "Milicija"; }
else if(PlayerInfo[targetid][pMember] == 2 || PlayerInfo[targetid][pLeader] == 2) { ttext = "BIA 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 = "Surenos"; }
else if(PlayerInfo[targetid][pMember] == 16 || PlayerInfo[targetid][pLeader] == 16) { ttext = "Ballas"; }
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 = "Milicija"; }
  else if(PlayerInfo[targetid][pMember] == 2 || PlayerInfo[targetid][pLeader] == 2)
{ ftext = "BIA"; }
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 string[500];
new coordsstring1[160];
new coordsstring2[160];
new coordsstring3[160];
new coordsstring4[160];
format(coordsstring1, sizeof(coordsstring1),"\n{00C0FF}- Igrac:{FFFFFF}[%s]\n{00C0FF}- Level:[%d]\n- Spol:[%s]\n- God:[%d]\n- Drzava:[%s]\n- Novac:[%d$]\n- Bank:[%d$]\n- Broj:[%d]", name,level,atext,age,otext,cash,account,pnumber);
format(coordsstring2, sizeof(coordsstring2),"\n{00C0FF}- Posao:[%s]\n- Organizacija:[%s]\n- Rank:[%s]\n- Tim:[%s]",jtext,ftext,rtext,ttext);
format(coordsstring3, sizeof(coordsstring3),"\n{00C0FF}- IgraSati:[%d]\n- Respekti:[%d/%d]\n- PayDay poeni[%d/6]\n- Ubistva:[%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{00C0FF}- Kuca:[%d]\n- Firma:[%d]\n- Local:[%d]\n- Donator:[%s]",housekey,bizkey,local,drank);
format(string, 500," %s%s%s%s",coordsstring1,coordsstring2,coordsstring3,coordsstring4);
ShowPlayerDialog(playerid, 13, DIALOG_STYLE_MSGBOX,"{00C0FF}Osobna Iskaznica",string,"< Uredu >","");
}
}

Neke slike/video za lakse dobivanje pomoci(neobavezno):
Balkan Online Public CS 1.6
IP:188.40.52.207:27027
Forum: www.cs-balkanonline.site40.net
Posjetite nas......

Nemoj kršiti pravila , imaš pravo postati 1 istu temu.

Pa nemožeš samo ubaciti tako , moraš prilagoditi svojem modu.
"I'm a loser and a user so I don't need no accuser" - Billie Joe Armstrong

jel zna neko kako da resim to sa drzavom i novcem sto mi ne ucitava kako treba
Balkan Online Public CS 1.6
IP:188.40.52.207:27027
Forum: www.cs-balkanonline.site40.net
Posjetite nas......