Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CMD:stats(playerid, cmd[])
- {
- if (gPlayerLogged[playerid] != 0)
- {
- ShowStats(playerid,playerid);
- }
- else
- {
- SendClientMessage(playerid, COLOR_GRAD1, " Vous n'êtes pas logué!");
- }
- return 1;
- }
- forward ShowStats(playerid,targetid);
- public ShowStats(playerid,targetid)
- {
- if(IsPlayerConnected(playerid)&&IsPlayerConnected(targetid))
- {
- new cash = GetPlayerMoney(targetid);
- new atext[20];
- if(PlayerInfo[targetid][pSex] == 1) { atext = "M"; }
- else if(PlayerInfo[targetid][pSex] == 2) { atext = "F"; }
- new otext[20];
- if(PlayerInfo[targetid][pOrigin] == 1) { otext = "USA"; }
- else if(PlayerInfo[targetid][pOrigin] == 2) { otext = "Europe"; }
- else if(PlayerInfo[targetid][pOrigin] == 3) { otext = "Asie"; }
- else if(PlayerInfo[targetid][pOrigin] == 4) { otext = "Afrique"; }
- new ttext[20];
- if(PlayerInfo[targetid][pMember] == 4 || PlayerInfo[targetid][pLeader] == 4) { ttext = "Médecin"; }
- else if(gTeam[targetid] == 3 || gTeam[targetid] == 4) { ttext = "Civil"; }
- else if(PlayerInfo[targetid][pMember] == 1 || PlayerInfo[targetid][pLeader] == 1) { ttext = "LSPD"; }
- else if(PlayerInfo[targetid][pMember] == 2 || PlayerInfo[targetid][pLeader] == 2) { ttext = "FBI"; }
- else if(PlayerInfo[targetid][pMember] == 3 || PlayerInfo[targetid][pLeader] == 3) { ttext = "FAAC"; }
- else if(PlayerInfo[targetid][pMember] == 4 || PlayerInfo[targetid][pLeader] == 4) { ttext = "Aucun"; }
- else if(PlayerInfo[targetid][pMember] == 5 || PlayerInfo[targetid][pLeader] == 5) { ttext = "Latin Kings"; }
- else if(PlayerInfo[targetid][pMember] == 6 || PlayerInfo[targetid][pLeader] == 6) { ttext = "Cosa Nostra"; }
- else if(PlayerInfo[targetid][pMember] == 7 || PlayerInfo[targetid][pLeader] == 7) { ttext = "Gouvernement"; }
- else if(PlayerInfo[targetid][pMember] == 8 || PlayerInfo[targetid][pLeader] == 8) { ttext = "French Dimension"; }
- else if(PlayerInfo[targetid][pMember] == 9 || PlayerInfo[targetid][pLeader] == 9) { ttext = "San News"; }
- else if(PlayerInfo[targetid][pMember] == 10 || PlayerInfo[targetid][pLeader] == 10) { ttext = "MS 13"; }
- else if(PlayerInfo[targetid][pMember] == 11 || PlayerInfo[targetid][pLeader] == 11) { ttext = "Bloods"; }
- else if(PlayerInfo[targetid][pMember] == 12 || PlayerInfo[targetid][pLeader] == 12) { ttext = "Mafia Yakuza"; }
- else if(PlayerInfo[targetid][pMember] == 13 || PlayerInfo[targetid][pLeader] == 13) { ttext = "Mafia Russe"; }
- else if(PlayerInfo[targetid][pMember] == 14 || PlayerInfo[targetid][pLeader] == 14) { ttext = "Hells Angels"; }
- else if(PlayerInfo[targetid][pMember] == 15 || PlayerInfo[targetid][pLeader] == 15) { ttext = "Purp'z Negga'z"; }
- else if(PlayerInfo[targetid][pMember] == 16 || PlayerInfo[targetid][pLeader] == 16) { ttext = "Crip'z"; }
- new rtext[64];
- 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 = "Officier"; }
- else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Sergent"; }
- else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Lieutenant"; }
- else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Capitaine"; }
- else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Inspecteur"; }
- else if(PlayerInfo[targetid][pRank] == 7) { rtext = "Chef Adjoint"; }
- else if(PlayerInfo[targetid][pRank] == 8) { rtext = "Chef"; }
- else { rtext = "Cadet"; }
- }
- else if(PlayerInfo[targetid][pMember] == 2 || PlayerInfo[targetid][pLeader] == 2)//FBI Ranks
- {
- if(PlayerInfo[targetid][pRank] == 1) { rtext = "Stagiaire au FBI"; }
- else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Agent du FBI"; }
- else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Agent expérimenté"; }
- else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Agent Spécial"; }
- else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Co-Directeur"; }
- else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Directeur du FBI"; }
- else { rtext = "Stagiaire au FBI"; }
- }
- else if(PlayerInfo[targetid][pMember] == 3 || PlayerInfo[targetid][pLeader] == 3)//NG Ranks
- {
- if(PlayerInfo[targetid][pRank] == 1) { rtext = "Soldat Stagiaire"; }
- else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Soldat"; }
- else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Caporal"; }
- else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Major"; }
- else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Lieutenant-Colonel"; }
- else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Colonel"; }
- else { rtext = "Soldat Stagiaire"; }
- }
- else if(PlayerInfo[targetid][pMember] == 5 || PlayerInfo[targetid][pLeader] == 5)//Vagos Ranks
- {
- if(PlayerInfo[targetid][pRank] == 1) { rtext = "Delincuente"; }
- else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Bandido"; }
- else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Criminal"; }
- else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Brazo Izquierdo"; }
- else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Brazo Derecho"; }
- else if(PlayerInfo[targetid][pRank] == 6) { rtext = "El Senor"; }
- else { rtext = "Delincuente"; }
- }
- else if(PlayerInfo[targetid][pMember] == 6 || PlayerInfo[targetid][pLeader] == 6)//Familglia Italia
- {
- if(PlayerInfo[targetid][pRank] == 1) { rtext = "Soldato"; }
- else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Luogotenenti"; }
- else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Capos"; }
- else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Sotto Capos"; }
- else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Caporegime"; }
- else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Le Parrain"; }
- else if(PlayerInfo[targetid][pRank] == 7) { rtext = "Le Parrain"; }
- else { rtext = "Soldato"; }
- }
- else if(PlayerInfo[targetid][pMember] == 7 || PlayerInfo[targetid][pLeader] == 7)//gouvernement
- {
- if(PlayerInfo[targetid][pRank] == 1) { rtext = "GDC/chauffeur"; }
- else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Chef des GDC"; }
- else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Secrétaire"; }
- else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Conseiller Municipal"; }
- else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Maire Adjoint"; }
- else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Maire"; }
- else { rtext = "GDC/chauffeur"; }
- }
- else if(PlayerInfo[targetid][pMember] == 8 || PlayerInfo[targetid][pLeader] == 8)//French Dimension
- {
- if(PlayerInfo[targetid][pRank] == 1) { rtext = "Voyou"; }
- else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Delinquant"; }
- else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Frere"; }
- else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Banlieuzard"; }
- else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Boss adjoint"; }
- else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Boss"; }
- else { rtext = "Voyou"; }
- }
- else if(PlayerInfo[targetid][pMember] == 13 || PlayerInfo[targetid][pLeader] == 13)//Mafia Russe
- {
- if(PlayerInfo[targetid][pRank] == 1) { rtext = "Homme de main"; }
- else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Bras Gauche"; }
- else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Bras Droit"; }
- else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Porte Parole"; }
- else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Sous Chef"; }
- else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Chef"; }
- else { rtext = "Homme de main"; }
- }
- else if(PlayerInfo[targetid][pMember] == 10 || PlayerInfo[targetid][pLeader] == 10)// MS 13
- {
- if(PlayerInfo[targetid][pRank] == 1) { rtext = "Nuevo"; }
- else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Dealer"; }
- else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Delincuente"; }
- else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Traficante"; }
- else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Consejero"; }
- else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Dirigente MS 13"; }
- else { rtext = "Nuevo"; }
- }
- else if(PlayerInfo[targetid][pMember] == 12 || PlayerInfo[targetid][pLeader] == 12)//Familglia Italia
- {
- if(PlayerInfo[targetid][pRank] == 1) { rtext = "Shatei"; }
- else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Kaikei"; }
- else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Kyodai"; }
- else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Shateigashira"; }
- else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Wakagashira"; }
- else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Oyabun"; }
- else { rtext = "Shatei"; }
- }
- else if(PlayerInfo[targetid][pMember] == 14 || PlayerInfo[targetid][pLeader] == 14)//Hells Angels
- {
- if(PlayerInfo[targetid][pRank] == 1) { rtext = "New Angel"; }
- else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Angel"; }
- else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Regular Angel"; }
- else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Expert Angel"; }
- else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Major Angel"; }
- else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Leader Angel"; }
- else { rtext = "New Angel"; }
- }
- else if(PlayerInfo[targetid][pMember] == 15 || PlayerInfo[targetid][pLeader] == 15)//Purpz
- {
- if(PlayerInfo[targetid][pRank] == 1) { rtext = "Newbro"; }
- else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Debutant"; }
- else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Soldat"; }
- else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Gangsta"; }
- else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Brotha"; }
- else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Sous Chef"; }
- else if(PlayerInfo[targetid][pRank] == 7) { rtext = "Chef"; }
- else if(PlayerInfo[targetid][pRank] == 8) { rtext = "Sistah"; }
- else { rtext = "Newbro"; }
- }
- else if(PlayerInfo[targetid][pMember] == 11 || PlayerInfo[targetid][pLeader] == 11)//Bloods
- {
- if(PlayerInfo[targetid][pRank] == 1) { rtext = "Mogow"; }
- else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Thug"; }
- else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Big Thug"; }
- else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Real Thug"; }
- else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Gangsta"; }
- else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Real Gangsta"; }
- else { rtext = "Mogow"; }
- }
- else if(PlayerInfo[targetid][pMember] == 16 || PlayerInfo[targetid][pLeader] == 16)//East Beach Ballas Ranks
- {
- if(PlayerInfo[targetid][pRank] == 1) { rtext = "Petit gangsta"; }
- else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Gangsta"; }
- else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Voyou"; }
- else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Malfrat"; }
- else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Delinquant"; }
- else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Leader Crip'z"; }
- else { rtext = "Petit Gangsta"; }
- }
- else
- {
- rtext = "None";
- }
- new jtext[20];
- if(PlayerInfo[targetid][pJob] == 1) { jtext = "Detective"; }
- else if(PlayerInfo[targetid][pJob] == 2) { jtext = "Avocat"; }
- else if(PlayerInfo[targetid][pJob] == 3) { jtext = "Prostituer"; }
- else if(PlayerInfo[targetid][pJob] == 4) { jtext = "Dealer de drogue"; }
- else if(PlayerInfo[targetid][pJob] == 5) { jtext = "Voleur de caisse"; }
- else if(PlayerInfo[targetid][pJob] == 6) { jtext = "Journaliste"; }
- else if(PlayerInfo[targetid][pJob] == 7) { jtext = "Mecanicien"; }
- else if(PlayerInfo[targetid][pJob] == 8) { jtext = "Garde du corps"; }
- else if(PlayerInfo[targetid][pJob] == 9) { jtext = "Dealer d'armes"; }
- else if(PlayerInfo[targetid][pJob] == 10) { jtext = "Ambulancier"; }
- else if(PlayerInfo[targetid][pJob] == 11) { jtext = "boxeur"; }
- else if(PlayerInfo[targetid][pJob] == 12) { jtext = "Taximan"; }
- else if(PlayerInfo[targetid][pJob] == 13) { jtext = "Conducteur de bus"; }
- else if(PlayerInfo[targetid][pJob] == 14) { jtext = "Camionneur"; }
- else if(PlayerInfo[targetid][pJob] == 15) { jtext = "Livreur de pizza"; }
- else if(PlayerInfo[targetid][pJob] == 16) { jtext = "Fermier"; }
- else if(PlayerInfo[targetid][pJob] == 17) { jtext = "Nettoyeur de rue"; }
- else if(PlayerInfo[targetid][pJob] == 18) { jtext = "Pompier"; }
- else if(PlayerInfo[targetid][pJob] == 19) { jtext = "Fermier illegal"; }
- else if(PlayerInfo[targetid][pJob] == 23) { jtext = "Fabriquant d'armes"; }
- else if(PlayerInfo[targetid][pJob] == 25) { jtext = "Conducteur de Train"; }
- else if(PlayerInfo[targetid][pJob] == 24) { jtext = "Pilote de Ligne"; }
- else if(PlayerInfo[targetid][pJob] == 26) { jtext = "Eboueur"; }
- else if(PlayerInfo[targetid][pJob] == 27) { jtext = "Chef de chantier"; }
- else if(PlayerInfo[targetid][pJob] == 28) { jtext = "Faussaire"; }
- else { jtext = "None"; }
- new TalkieWalkie[20];
- if(PlayerInfo[playerid][pWT] != 0) { TalkieWalkie = "Oui"; }
- else { TalkieWalkie = "Non"; }
- new Radios[20];
- if(PlayerInfo[playerid][Radio] != 0) { Radios = "Oui"; }
- else { Radios = "Non"; }
- new drank[20];
- if(PlayerInfo[targetid][pDonateRank] == 1) { drank = "MDC"; }
- else if(PlayerInfo[targetid][pDonateRank] >= 2) { drank = "VIP"; }
- else { drank = "Aucun"; }
- new lang1text[20],lang2text[20];
- if(PlayerInfo[targetid][pLang1] == 1) { lang1text = "Japonais"; }
- else if(PlayerInfo[targetid][pLang1] == 2) { lang1text = "Espagnol"; }
- else if(PlayerInfo[targetid][pLang1] == 3) { lang1text = "Russe"; }
- else if(PlayerInfo[targetid][pLang1] == 4) { lang1text = "Arabe"; }
- else if(PlayerInfo[targetid][pLang1] == 5) { lang1text = "Italien"; }
- else if(PlayerInfo[targetid][pLang1] == 6) { lang1text = "Allemand"; }
- else if(PlayerInfo[targetid][pLang1] == 7) { lang1text = "Anglais"; }
- else if(PlayerInfo[targetid][pLang1] == 8) { lang1text = "Chinois"; }
- else if(PlayerInfo[targetid][pLang1] == 9) { lang1text = "Jamaïcain"; }
- else if(PlayerInfo[targetid][pLang1] == 10) { lang1text = "Creole"; }
- else {lang1text = "Aucune";}
- if(PlayerInfo[targetid][pLang2] == 1) { lang2text = "Japonais"; }
- else if(PlayerInfo[targetid][pLang2] == 2) { lang2text = "Spanish"; }
- else if(PlayerInfo[targetid][pLang2] == 3) { lang2text = "Russe"; }
- else if(PlayerInfo[targetid][pLang2] == 4) { lang2text = "Arabe"; }
- else if(PlayerInfo[targetid][pLang2] == 5) { lang2text = "Italien"; }
- else if(PlayerInfo[targetid][pLang2] == 6) { lang2text = "Allemand"; }
- else if(PlayerInfo[targetid][pLang2] == 7) { lang2text = "Anglais"; }
- else if(PlayerInfo[targetid][pLang2] == 8) { lang2text = "Chinois"; }
- else if(PlayerInfo[targetid][pLang2] == 9) { lang2text = "Jamaicain"; }
- else if(PlayerInfo[targetid][pLang2] == 10) { lang2text = "Creole"; }
- else {lang2text = "Aucune";}
- new Avertissement = PlayerInfo[targetid][pWarns];
- new age = PlayerInfo[targetid][pAge];
- new ptime = PlayerInfo[targetid][pConnectTime];
- new bigfish = PlayerInfo[targetid][pBiggestFish];
- // new arrests = PlayerInfo[targetid][pArrested];
- new beuh = PlayerInfo[targetid][pBeuh];
- new cocaine = PlayerInfo[targetid][pCocaine];
- new mats = PlayerInfo[targetid][pMats];
- new Cordes = PlayerInfo[targetid][pRope]
- new faussmats = PlayerInfo[targetid][pMatsf];
- new housekey = PlayerInfo[targetid][pPhousekey];
- new bizkey = PlayerInfo[targetid][pPbiskey];
- new BraquageMaga = PlayerInfo[targetid][probmagasin];
- new BraquageTime = PlayerInfo[targetid][probbank];
- new Bieres = PlayerInfo[targetid][pBiere];
- new Cigarettes = PlayerInfo[targetid][pCigarettes];
- new level = PlayerInfo[targetid][pLevel];
- new exp = PlayerInfo[targetid][pExp];
- // new intir = PlayerInfo[targetid][pInt];
- // new virworld = PlayerInfo[targetid][pVirWorld];
- // new pointpermis = PlayerInfo[targetid][pPointPermis];
- new pnumber = PlayerInfo[targetid][pPnumber];
- new account = PlayerInfo[targetid][pAccount];
- new nxtlevel = PlayerInfo[targetid][pLevel]+1;
- new expamount = nxtlevel*levelexp;
- new local = PlayerInfo[targetid][pLocal];
- new Float:health;
- new CT1 = PlayerInfo[targetid][pPCT];
- new CT2 = PlayerInfo[targetid][pPCT2];
- new CT3 = PlayerInfo[targetid][pPCT3];
- new CT4 = PlayerInfo[targetid][pPCT4];
- new Assurance1 = PlayerInfo[targetid][pPAssurance];
- new Assurance2 = PlayerInfo[targetid][pPAssurance2];
- new Assurance3 = PlayerInfo[targetid][pPAssurance3];
- new Assurance4 = PlayerInfo[targetid][pPAssurance4];
- //new CTc = CarInfo[GetPlayerVehicleID(playerid)][CT];
- new carkey = PlayerInfo[targetid][pPcarkey];
- new carkey2 = PlayerInfo[targetid][pPcarkey2];
- new carkey3 = PlayerInfo[targetid][pPcarkey3];
- new carkey4 = PlayerInfo[targetid][pPcarkey4];
- new Snikers = PlayerInfo[playerid][pSnikers];
- new name[MAX_PLAYER_NAME];
- new faim = PlayerInfo[targetid][pFaim];
- new Skin = PlayerInfo[targetid][pChar];
- GetPlayerName(targetid, name, sizeof(name));
- GetPlayerHealth(targetid,health);
- new Float:px,Float:py,Float:pz;
- GetPlayerPos(targetid, px, py, pz);
- new coordsstring[4000], catstr[4000], title[56];
- format(coordsstring, sizeof(coordsstring), " {0071E1}- IDENTITE -{FFFFFF}\n");
- strcat(catstr, coordsstring, sizeof(coordsstring));
- format(coordsstring, sizeof(coordsstring), " \n");
- strcat(catstr, coordsstring, sizeof(coordsstring));
- format(coordsstring, sizeof(coordsstring), "Origine : [%s] - Niveau : [%d] - Sex : [%s] - Age : [%d] - Temp de jeu : [%d] - Rang : [%s] - Skin : [%d] - Faim : [%d/200]\n",otext,level,atext,age,ptime,drank,Skin,faim);
- strcat(catstr, coordsstring, sizeof(coordsstring));
- format(coordsstring, sizeof(coordsstring), " \n");
- strcat(catstr, coordsstring, sizeof(coordsstring));
- format(coordsstring, sizeof(coordsstring), " {0071E1}- COMPTE -{FFFFFF}\n");
- strcat(catstr, coordsstring, sizeof(coordsstring));
- format(coordsstring, sizeof(coordsstring), " \n");
- strcat(catstr, coordsstring, sizeof(coordsstring));
- format(coordsstring, sizeof(coordsstring), "Argent : [$%d] - Banque : [$%d] - Tel : [%d]\n",cash,account,pnumber);
- strcat(catstr, coordsstring, sizeof(coordsstring));
- format(coordsstring, sizeof(coordsstring), " \n");
- strcat(catstr, coordsstring, sizeof(coordsstring));
- format(coordsstring, sizeof(coordsstring), " {0071E1}- APPARTENANCE -{FFFFFF}\n");
- strcat(catstr, coordsstring, sizeof(coordsstring));
- format(coordsstring, sizeof(coordsstring), " \n");
- strcat(catstr, coordsstring, sizeof(coordsstring));
- format(coordsstring, sizeof(coordsstring), "Job : [%s] - Faction : [%s] - Rang : [%s] - Clef Maison : [%d] - Bizness : [%d]\n",jtext,ttext,rtext,housekey ,bizkey);
- strcat(catstr, coordsstring, sizeof(coordsstring));
- format(coordsstring, sizeof(coordsstring), " \n");
- strcat(catstr, coordsstring, sizeof(coordsstring));
- format(coordsstring, sizeof(coordsstring), " {0071E1}- INFORMATIONS -{FFFFFF}\n");
- strcat(catstr, coordsstring, sizeof(coordsstring));
- format(coordsstring, sizeof(coordsstring), " \n");
- strcat(catstr, coordsstring, sizeof(coordsstring));
- format(coordsstring, sizeof(coordsstring), "Langue 1 : [Francais] - Langue 2 : [%s] - Langue 3 : [%s] - Respect : [%d/%d] - Avertissement : [%d]\n",lang1text ,lang2text,exp,expamount,Avertissement);
- strcat(catstr, coordsstring, sizeof(coordsstring));
- format(coordsstring, sizeof(coordsstring), " \n");
- strcat(catstr, coordsstring, sizeof(coordsstring));
- format(coordsstring, sizeof(coordsstring), " {0071E1}- SAC A DOS -{FFFFFF}\n");
- strcat(catstr, coordsstring, sizeof(coordsstring));
- format(coordsstring, sizeof(coordsstring), " \n");
- strcat(catstr, coordsstring, sizeof(coordsstring));
- format(coordsstring, sizeof(coordsstring), "Cordes : [%d] - Bieres : [%d] - Radio : [%s] - Talkie Walkie : [%s] - Frequence : [%d] - Snikers : [%d]\n",Cordes ,Bieres ,Radios , TalkieWalkie, PlayerInfo[targetid][pWTc], Snikers);
- strcat(catstr, coordsstring, sizeof(coordsstring));
- format(coordsstring, sizeof(coordsstring), "FaussMats : [%d] - Beuh : [%d] - Cocaine : [%d] - Cigarettes : [%d] - Materiaux : [%d] - Poissons : [%d]\n",faussmats ,beuh,cocaine,Cigarettes,mats,bigfish);
- strcat(catstr, coordsstring, sizeof(coordsstring));
- format(coordsstring, sizeof(coordsstring), " \n");
- strcat(catstr, coordsstring, sizeof(coordsstring));
- if (PlayerInfo[playerid][pAdmin] >= 1000)
- {
- format(coordsstring, sizeof(coordsstring), " {0071E1}- ADMIN STATS -{FFFFFF}\n");
- strcat(catstr, coordsstring, sizeof(coordsstring));
- format(coordsstring, sizeof(coordsstring), " \n");
- strcat(catstr, coordsstring, sizeof(coordsstring));
- format(coordsstring, sizeof(coordsstring), "BanqueTimer : [%d] - 24/7Timer : [%d] - local : [%d]\n",BraquageTime ,BraquageMaga,local);
- strcat(catstr, coordsstring, sizeof(coordsstring));
- format(coordsstring, sizeof(coordsstring), " \n");
- strcat(catstr, coordsstring, sizeof(coordsstring));
- }
- if (PlayerInfo[targetid][pPcarkey] != -1)
- {
- format(coordsstring, sizeof(coordsstring), " {0071E1}- VEHICULES -{FFFFFF}\n");
- strcat(catstr, coordsstring, sizeof(coordsstring));
- format(coordsstring, sizeof(coordsstring), " \n");
- strcat(catstr, coordsstring, sizeof(coordsstring));
- format(coordsstring, sizeof(coordsstring), "VehModel 1 : [%s] - VehValeur : [%d] - VehColor1 : [%d] - VehColor2 : [%d] - VehLocked : [%d] - VehID : [%d] - CT : [%d] - Ass. : [%d]\n", CarInfo[carkey][cDescription], CarInfo[carkey][cValue], CarInfo[carkey][cColorOne], CarInfo[carkey][cColorTwo], CarInfo[carkey][cLock], carkey, CT1, Assurance1);
- strcat(catstr, coordsstring, sizeof(coordsstring));
- }
- if (PlayerInfo[targetid][pPcarkey2] != -1)
- {
- format(coordsstring, sizeof(coordsstring), "VehModel 2 : [%s] - VehValeur : [%d] - VehColor1 : [%d] - VehColor2 : [%d] - VehLocked : [%d] - VehID : [%d] - CT : [%d] - Ass. : [%d]\n", CarInfo[carkey2][cDescription], CarInfo[carkey2][cValue], CarInfo[carkey2][cColorOne], CarInfo[carkey2][cColorTwo], CarInfo[carkey2][cLock], carkey2, CT2, Assurance2);
- strcat(catstr, coordsstring, sizeof(coordsstring));
- }
- if (PlayerInfo[targetid][pPcarkey3] != -1)
- {
- format(coordsstring, sizeof(coordsstring), "VehModel 3 : [%s] - VehValeur : [%d] - VehColor1 : [%d] - VehColor2 : [%d] - VehLocked : [%d] - VehID : [%d] - CT : [%d] - Ass. : [%d]\n", CarInfo[carkey3][cDescription], CarInfo[carkey3][cValue], CarInfo[carkey3][cColorOne], CarInfo[carkey3][cColorTwo], CarInfo[carkey3][cLock], carkey3, CT3, Assurance3);
- strcat(catstr, coordsstring, sizeof(coordsstring));
- }
- if (PlayerInfo[targetid][pPcarkey4] != -1)
- {
- format(coordsstring, sizeof(coordsstring), "VehModel 4 : [%s] - VehValeur : [%d] - VehColor1 : [%d] - VehColor2 : [%d] - VehLocked : [%d] - VehID : [%d] - CT : [%d] - Ass. : [%d]\n", CarInfo[carkey4][cDescription], CarInfo[carkey4][cValue], CarInfo[carkey4][cColorOne], CarInfo[carkey4][cColorTwo], CarInfo[carkey4][cLock], carkey4, CT4, Assurance4);
- strcat(catstr, coordsstring, sizeof(coordsstring));
- }
- format(title, sizeof(title), "[Stats]{0071E1}----- %s -----{FFFFFF}[Stats]", name);
- ShowPlayerDialog(playerid, 5133, DIALOG_STYLE_MSGBOX, title, catstr, "OK", "Close");
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment