Guest User

Untitled

a guest
Mar 10th, 2014
155
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 24.04 KB | None | 0 0
  1. CMD:stats(playerid, cmd[])
  2. {
  3. if (gPlayerLogged[playerid] != 0)
  4. {
  5. ShowStats(playerid,playerid);
  6. }
  7. else
  8. {
  9. SendClientMessage(playerid, COLOR_GRAD1, " Vous n'êtes pas logué!");
  10. }
  11. return 1;
  12. }
  13.  
  14. forward ShowStats(playerid,targetid);
  15.  
  16. public ShowStats(playerid,targetid)
  17. {
  18. if(IsPlayerConnected(playerid)&&IsPlayerConnected(targetid))
  19. {
  20. new cash = GetPlayerMoney(targetid);
  21. new atext[20];
  22. if(PlayerInfo[targetid][pSex] == 1) { atext = "M"; }
  23. else if(PlayerInfo[targetid][pSex] == 2) { atext = "F"; }
  24. new otext[20];
  25. if(PlayerInfo[targetid][pOrigin] == 1) { otext = "USA"; }
  26. else if(PlayerInfo[targetid][pOrigin] == 2) { otext = "Europe"; }
  27. else if(PlayerInfo[targetid][pOrigin] == 3) { otext = "Asie"; }
  28. else if(PlayerInfo[targetid][pOrigin] == 4) { otext = "Afrique"; }
  29. new ttext[20];
  30. if(PlayerInfo[targetid][pMember] == 4 || PlayerInfo[targetid][pLeader] == 4) { ttext = "Médecin"; }
  31. else if(gTeam[targetid] == 3 || gTeam[targetid] == 4) { ttext = "Civil"; }
  32. else if(PlayerInfo[targetid][pMember] == 1 || PlayerInfo[targetid][pLeader] == 1) { ttext = "LSPD"; }
  33. else if(PlayerInfo[targetid][pMember] == 2 || PlayerInfo[targetid][pLeader] == 2) { ttext = "FBI"; }
  34. else if(PlayerInfo[targetid][pMember] == 3 || PlayerInfo[targetid][pLeader] == 3) { ttext = "FAAC"; }
  35. else if(PlayerInfo[targetid][pMember] == 4 || PlayerInfo[targetid][pLeader] == 4) { ttext = "Aucun"; }
  36. else if(PlayerInfo[targetid][pMember] == 5 || PlayerInfo[targetid][pLeader] == 5) { ttext = "Latin Kings"; }
  37. else if(PlayerInfo[targetid][pMember] == 6 || PlayerInfo[targetid][pLeader] == 6) { ttext = "Cosa Nostra"; }
  38. else if(PlayerInfo[targetid][pMember] == 7 || PlayerInfo[targetid][pLeader] == 7) { ttext = "Gouvernement"; }
  39. else if(PlayerInfo[targetid][pMember] == 8 || PlayerInfo[targetid][pLeader] == 8) { ttext = "French Dimension"; }
  40. else if(PlayerInfo[targetid][pMember] == 9 || PlayerInfo[targetid][pLeader] == 9) { ttext = "San News"; }
  41. else if(PlayerInfo[targetid][pMember] == 10 || PlayerInfo[targetid][pLeader] == 10) { ttext = "MS 13"; }
  42. else if(PlayerInfo[targetid][pMember] == 11 || PlayerInfo[targetid][pLeader] == 11) { ttext = "Bloods"; }
  43. else if(PlayerInfo[targetid][pMember] == 12 || PlayerInfo[targetid][pLeader] == 12) { ttext = "Mafia Yakuza"; }
  44. else if(PlayerInfo[targetid][pMember] == 13 || PlayerInfo[targetid][pLeader] == 13) { ttext = "Mafia Russe"; }
  45. else if(PlayerInfo[targetid][pMember] == 14 || PlayerInfo[targetid][pLeader] == 14) { ttext = "Hells Angels"; }
  46. else if(PlayerInfo[targetid][pMember] == 15 || PlayerInfo[targetid][pLeader] == 15) { ttext = "Purp'z Negga'z"; }
  47. else if(PlayerInfo[targetid][pMember] == 16 || PlayerInfo[targetid][pLeader] == 16) { ttext = "Crip'z"; }
  48. new rtext[64];
  49. if(PlayerInfo[targetid][pMember] == 1 || PlayerInfo[targetid][pLeader] == 1)//PD Ranks
  50. {
  51. if(PlayerInfo[targetid][pRank] == 1) { rtext = "Cadet"; }
  52. else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Officier"; }
  53. else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Sergent"; }
  54. else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Lieutenant"; }
  55. else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Capitaine"; }
  56. else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Inspecteur"; }
  57. else if(PlayerInfo[targetid][pRank] == 7) { rtext = "Chef Adjoint"; }
  58. else if(PlayerInfo[targetid][pRank] == 8) { rtext = "Chef"; }
  59. else { rtext = "Cadet"; }
  60. }
  61. else if(PlayerInfo[targetid][pMember] == 2 || PlayerInfo[targetid][pLeader] == 2)//FBI Ranks
  62. {
  63. if(PlayerInfo[targetid][pRank] == 1) { rtext = "Stagiaire au FBI"; }
  64. else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Agent du FBI"; }
  65. else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Agent expérimenté"; }
  66. else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Agent Spécial"; }
  67. else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Co-Directeur"; }
  68. else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Directeur du FBI"; }
  69. else { rtext = "Stagiaire au FBI"; }
  70. }
  71. else if(PlayerInfo[targetid][pMember] == 3 || PlayerInfo[targetid][pLeader] == 3)//NG Ranks
  72. {
  73. if(PlayerInfo[targetid][pRank] == 1) { rtext = "Soldat Stagiaire"; }
  74. else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Soldat"; }
  75. else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Caporal"; }
  76. else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Major"; }
  77. else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Lieutenant-Colonel"; }
  78. else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Colonel"; }
  79. else { rtext = "Soldat Stagiaire"; }
  80. }
  81. else if(PlayerInfo[targetid][pMember] == 5 || PlayerInfo[targetid][pLeader] == 5)//Vagos Ranks
  82. {
  83. if(PlayerInfo[targetid][pRank] == 1) { rtext = "Delincuente"; }
  84. else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Bandido"; }
  85. else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Criminal"; }
  86. else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Brazo Izquierdo"; }
  87. else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Brazo Derecho"; }
  88. else if(PlayerInfo[targetid][pRank] == 6) { rtext = "El Senor"; }
  89. else { rtext = "Delincuente"; }
  90. }
  91. else if(PlayerInfo[targetid][pMember] == 6 || PlayerInfo[targetid][pLeader] == 6)//Familglia Italia
  92. {
  93. if(PlayerInfo[targetid][pRank] == 1) { rtext = "Soldato"; }
  94. else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Luogotenenti"; }
  95. else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Capos"; }
  96. else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Sotto Capos"; }
  97. else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Caporegime"; }
  98. else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Le Parrain"; }
  99. else if(PlayerInfo[targetid][pRank] == 7) { rtext = "Le Parrain"; }
  100. else { rtext = "Soldato"; }
  101. }
  102. else if(PlayerInfo[targetid][pMember] == 7 || PlayerInfo[targetid][pLeader] == 7)//gouvernement
  103. {
  104. if(PlayerInfo[targetid][pRank] == 1) { rtext = "GDC/chauffeur"; }
  105. else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Chef des GDC"; }
  106. else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Secrétaire"; }
  107. else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Conseiller Municipal"; }
  108. else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Maire Adjoint"; }
  109. else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Maire"; }
  110. else { rtext = "GDC/chauffeur"; }
  111. }
  112. else if(PlayerInfo[targetid][pMember] == 8 || PlayerInfo[targetid][pLeader] == 8)//French Dimension
  113. {
  114. if(PlayerInfo[targetid][pRank] == 1) { rtext = "Voyou"; }
  115. else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Delinquant"; }
  116. else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Frere"; }
  117. else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Banlieuzard"; }
  118. else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Boss adjoint"; }
  119. else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Boss"; }
  120. else { rtext = "Voyou"; }
  121. }
  122. else if(PlayerInfo[targetid][pMember] == 13 || PlayerInfo[targetid][pLeader] == 13)//Mafia Russe
  123. {
  124. if(PlayerInfo[targetid][pRank] == 1) { rtext = "Homme de main"; }
  125. else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Bras Gauche"; }
  126. else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Bras Droit"; }
  127. else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Porte Parole"; }
  128. else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Sous Chef"; }
  129. else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Chef"; }
  130. else { rtext = "Homme de main"; }
  131. }
  132. else if(PlayerInfo[targetid][pMember] == 10 || PlayerInfo[targetid][pLeader] == 10)// MS 13
  133. {
  134. if(PlayerInfo[targetid][pRank] == 1) { rtext = "Nuevo"; }
  135. else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Dealer"; }
  136. else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Delincuente"; }
  137. else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Traficante"; }
  138. else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Consejero"; }
  139. else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Dirigente MS 13"; }
  140. else { rtext = "Nuevo"; }
  141. }
  142. else if(PlayerInfo[targetid][pMember] == 12 || PlayerInfo[targetid][pLeader] == 12)//Familglia Italia
  143. {
  144. if(PlayerInfo[targetid][pRank] == 1) { rtext = "Shatei"; }
  145. else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Kaikei"; }
  146. else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Kyodai"; }
  147. else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Shateigashira"; }
  148. else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Wakagashira"; }
  149. else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Oyabun"; }
  150. else { rtext = "Shatei"; }
  151. }
  152. else if(PlayerInfo[targetid][pMember] == 14 || PlayerInfo[targetid][pLeader] == 14)//Hells Angels
  153. {
  154. if(PlayerInfo[targetid][pRank] == 1) { rtext = "New Angel"; }
  155. else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Angel"; }
  156. else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Regular Angel"; }
  157. else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Expert Angel"; }
  158. else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Major Angel"; }
  159. else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Leader Angel"; }
  160. else { rtext = "New Angel"; }
  161. }
  162.  
  163. else if(PlayerInfo[targetid][pMember] == 15 || PlayerInfo[targetid][pLeader] == 15)//Purpz
  164. {
  165. if(PlayerInfo[targetid][pRank] == 1) { rtext = "Newbro"; }
  166. else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Debutant"; }
  167. else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Soldat"; }
  168. else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Gangsta"; }
  169. else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Brotha"; }
  170. else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Sous Chef"; }
  171. else if(PlayerInfo[targetid][pRank] == 7) { rtext = "Chef"; }
  172. else if(PlayerInfo[targetid][pRank] == 8) { rtext = "Sistah"; }
  173. else { rtext = "Newbro"; }
  174. }
  175. else if(PlayerInfo[targetid][pMember] == 11 || PlayerInfo[targetid][pLeader] == 11)//Bloods
  176. {
  177. if(PlayerInfo[targetid][pRank] == 1) { rtext = "Mogow"; }
  178. else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Thug"; }
  179. else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Big Thug"; }
  180. else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Real Thug"; }
  181. else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Gangsta"; }
  182. else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Real Gangsta"; }
  183. else { rtext = "Mogow"; }
  184. }
  185. else if(PlayerInfo[targetid][pMember] == 16 || PlayerInfo[targetid][pLeader] == 16)//East Beach Ballas Ranks
  186. {
  187. if(PlayerInfo[targetid][pRank] == 1) { rtext = "Petit gangsta"; }
  188. else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Gangsta"; }
  189. else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Voyou"; }
  190. else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Malfrat"; }
  191. else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Delinquant"; }
  192. else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Leader Crip'z"; }
  193. else { rtext = "Petit Gangsta"; }
  194. }
  195. else
  196. {
  197. rtext = "None";
  198. }
  199. new jtext[20];
  200. if(PlayerInfo[targetid][pJob] == 1) { jtext = "Detective"; }
  201. else if(PlayerInfo[targetid][pJob] == 2) { jtext = "Avocat"; }
  202. else if(PlayerInfo[targetid][pJob] == 3) { jtext = "Prostituer"; }
  203. else if(PlayerInfo[targetid][pJob] == 4) { jtext = "Dealer de drogue"; }
  204. else if(PlayerInfo[targetid][pJob] == 5) { jtext = "Voleur de caisse"; }
  205. else if(PlayerInfo[targetid][pJob] == 6) { jtext = "Journaliste"; }
  206. else if(PlayerInfo[targetid][pJob] == 7) { jtext = "Mecanicien"; }
  207. else if(PlayerInfo[targetid][pJob] == 8) { jtext = "Garde du corps"; }
  208. else if(PlayerInfo[targetid][pJob] == 9) { jtext = "Dealer d'armes"; }
  209. else if(PlayerInfo[targetid][pJob] == 10) { jtext = "Ambulancier"; }
  210. else if(PlayerInfo[targetid][pJob] == 11) { jtext = "boxeur"; }
  211. else if(PlayerInfo[targetid][pJob] == 12) { jtext = "Taximan"; }
  212. else if(PlayerInfo[targetid][pJob] == 13) { jtext = "Conducteur de bus"; }
  213. else if(PlayerInfo[targetid][pJob] == 14) { jtext = "Camionneur"; }
  214. else if(PlayerInfo[targetid][pJob] == 15) { jtext = "Livreur de pizza"; }
  215. else if(PlayerInfo[targetid][pJob] == 16) { jtext = "Fermier"; }
  216. else if(PlayerInfo[targetid][pJob] == 17) { jtext = "Nettoyeur de rue"; }
  217. else if(PlayerInfo[targetid][pJob] == 18) { jtext = "Pompier"; }
  218. else if(PlayerInfo[targetid][pJob] == 19) { jtext = "Fermier illegal"; }
  219. else if(PlayerInfo[targetid][pJob] == 23) { jtext = "Fabriquant d'armes"; }
  220. else if(PlayerInfo[targetid][pJob] == 25) { jtext = "Conducteur de Train"; }
  221. else if(PlayerInfo[targetid][pJob] == 24) { jtext = "Pilote de Ligne"; }
  222. else if(PlayerInfo[targetid][pJob] == 26) { jtext = "Eboueur"; }
  223. else if(PlayerInfo[targetid][pJob] == 27) { jtext = "Chef de chantier"; }
  224. else if(PlayerInfo[targetid][pJob] == 28) { jtext = "Faussaire"; }
  225. else { jtext = "None"; }
  226. new TalkieWalkie[20];
  227. if(PlayerInfo[playerid][pWT] != 0) { TalkieWalkie = "Oui"; }
  228. else { TalkieWalkie = "Non"; }
  229. new Radios[20];
  230. if(PlayerInfo[playerid][Radio] != 0) { Radios = "Oui"; }
  231. else { Radios = "Non"; }
  232. new drank[20];
  233. if(PlayerInfo[targetid][pDonateRank] == 1) { drank = "MDC"; }
  234. else if(PlayerInfo[targetid][pDonateRank] >= 2) { drank = "VIP"; }
  235. else { drank = "Aucun"; }
  236.  
  237. new lang1text[20],lang2text[20];
  238. if(PlayerInfo[targetid][pLang1] == 1) { lang1text = "Japonais"; }
  239. else if(PlayerInfo[targetid][pLang1] == 2) { lang1text = "Espagnol"; }
  240. else if(PlayerInfo[targetid][pLang1] == 3) { lang1text = "Russe"; }
  241. else if(PlayerInfo[targetid][pLang1] == 4) { lang1text = "Arabe"; }
  242. else if(PlayerInfo[targetid][pLang1] == 5) { lang1text = "Italien"; }
  243. else if(PlayerInfo[targetid][pLang1] == 6) { lang1text = "Allemand"; }
  244. else if(PlayerInfo[targetid][pLang1] == 7) { lang1text = "Anglais"; }
  245. else if(PlayerInfo[targetid][pLang1] == 8) { lang1text = "Chinois"; }
  246. else if(PlayerInfo[targetid][pLang1] == 9) { lang1text = "Jamaïcain"; }
  247. else if(PlayerInfo[targetid][pLang1] == 10) { lang1text = "Creole"; }
  248. else {lang1text = "Aucune";}
  249.  
  250. if(PlayerInfo[targetid][pLang2] == 1) { lang2text = "Japonais"; }
  251. else if(PlayerInfo[targetid][pLang2] == 2) { lang2text = "Spanish"; }
  252. else if(PlayerInfo[targetid][pLang2] == 3) { lang2text = "Russe"; }
  253. else if(PlayerInfo[targetid][pLang2] == 4) { lang2text = "Arabe"; }
  254. else if(PlayerInfo[targetid][pLang2] == 5) { lang2text = "Italien"; }
  255. else if(PlayerInfo[targetid][pLang2] == 6) { lang2text = "Allemand"; }
  256. else if(PlayerInfo[targetid][pLang2] == 7) { lang2text = "Anglais"; }
  257. else if(PlayerInfo[targetid][pLang2] == 8) { lang2text = "Chinois"; }
  258. else if(PlayerInfo[targetid][pLang2] == 9) { lang2text = "Jamaicain"; }
  259. else if(PlayerInfo[targetid][pLang2] == 10) { lang2text = "Creole"; }
  260. else {lang2text = "Aucune";}
  261.  
  262. new Avertissement = PlayerInfo[targetid][pWarns];
  263. new age = PlayerInfo[targetid][pAge];
  264. new ptime = PlayerInfo[targetid][pConnectTime];
  265. new bigfish = PlayerInfo[targetid][pBiggestFish];
  266. // new arrests = PlayerInfo[targetid][pArrested];
  267. new beuh = PlayerInfo[targetid][pBeuh];
  268. new cocaine = PlayerInfo[targetid][pCocaine];
  269. new mats = PlayerInfo[targetid][pMats];
  270. new Cordes = PlayerInfo[targetid][pRope]
  271. new faussmats = PlayerInfo[targetid][pMatsf];
  272. new housekey = PlayerInfo[targetid][pPhousekey];
  273. new bizkey = PlayerInfo[targetid][pPbiskey];
  274. new BraquageMaga = PlayerInfo[targetid][probmagasin];
  275. new BraquageTime = PlayerInfo[targetid][probbank];
  276. new Bieres = PlayerInfo[targetid][pBiere];
  277. new Cigarettes = PlayerInfo[targetid][pCigarettes];
  278. new level = PlayerInfo[targetid][pLevel];
  279. new exp = PlayerInfo[targetid][pExp];
  280. // new intir = PlayerInfo[targetid][pInt];
  281. // new virworld = PlayerInfo[targetid][pVirWorld];
  282. // new pointpermis = PlayerInfo[targetid][pPointPermis];
  283. new pnumber = PlayerInfo[targetid][pPnumber];
  284. new account = PlayerInfo[targetid][pAccount];
  285. new nxtlevel = PlayerInfo[targetid][pLevel]+1;
  286. new expamount = nxtlevel*levelexp;
  287. new local = PlayerInfo[targetid][pLocal];
  288. new Float:health;
  289. new CT1 = PlayerInfo[targetid][pPCT];
  290. new CT2 = PlayerInfo[targetid][pPCT2];
  291. new CT3 = PlayerInfo[targetid][pPCT3];
  292. new CT4 = PlayerInfo[targetid][pPCT4];
  293. new Assurance1 = PlayerInfo[targetid][pPAssurance];
  294. new Assurance2 = PlayerInfo[targetid][pPAssurance2];
  295. new Assurance3 = PlayerInfo[targetid][pPAssurance3];
  296. new Assurance4 = PlayerInfo[targetid][pPAssurance4];
  297. //new CTc = CarInfo[GetPlayerVehicleID(playerid)][CT];
  298. new carkey = PlayerInfo[targetid][pPcarkey];
  299. new carkey2 = PlayerInfo[targetid][pPcarkey2];
  300. new carkey3 = PlayerInfo[targetid][pPcarkey3];
  301. new carkey4 = PlayerInfo[targetid][pPcarkey4];
  302. new Snikers = PlayerInfo[playerid][pSnikers];
  303. new name[MAX_PLAYER_NAME];
  304. new faim = PlayerInfo[targetid][pFaim];
  305. new Skin = PlayerInfo[targetid][pChar];
  306. GetPlayerName(targetid, name, sizeof(name));
  307. GetPlayerHealth(targetid,health);
  308. new Float:px,Float:py,Float:pz;
  309. GetPlayerPos(targetid, px, py, pz);
  310. new coordsstring[4000], catstr[4000], title[56];
  311. format(coordsstring, sizeof(coordsstring), " {0071E1}- IDENTITE -{FFFFFF}\n");
  312. strcat(catstr, coordsstring, sizeof(coordsstring));
  313. format(coordsstring, sizeof(coordsstring), " \n");
  314. strcat(catstr, coordsstring, sizeof(coordsstring));
  315. 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);
  316. strcat(catstr, coordsstring, sizeof(coordsstring));
  317. format(coordsstring, sizeof(coordsstring), " \n");
  318. strcat(catstr, coordsstring, sizeof(coordsstring));
  319. format(coordsstring, sizeof(coordsstring), " {0071E1}- COMPTE -{FFFFFF}\n");
  320. strcat(catstr, coordsstring, sizeof(coordsstring));
  321. format(coordsstring, sizeof(coordsstring), " \n");
  322. strcat(catstr, coordsstring, sizeof(coordsstring));
  323. format(coordsstring, sizeof(coordsstring), "Argent : [$%d] - Banque : [$%d] - Tel : [%d]\n",cash,account,pnumber);
  324. strcat(catstr, coordsstring, sizeof(coordsstring));
  325. format(coordsstring, sizeof(coordsstring), " \n");
  326. strcat(catstr, coordsstring, sizeof(coordsstring));
  327. format(coordsstring, sizeof(coordsstring), " {0071E1}- APPARTENANCE -{FFFFFF}\n");
  328. strcat(catstr, coordsstring, sizeof(coordsstring));
  329. format(coordsstring, sizeof(coordsstring), " \n");
  330. strcat(catstr, coordsstring, sizeof(coordsstring));
  331. format(coordsstring, sizeof(coordsstring), "Job : [%s] - Faction : [%s] - Rang : [%s] - Clef Maison : [%d] - Bizness : [%d]\n",jtext,ttext,rtext,housekey ,bizkey);
  332. strcat(catstr, coordsstring, sizeof(coordsstring));
  333. format(coordsstring, sizeof(coordsstring), " \n");
  334. strcat(catstr, coordsstring, sizeof(coordsstring));
  335. format(coordsstring, sizeof(coordsstring), " {0071E1}- INFORMATIONS -{FFFFFF}\n");
  336. strcat(catstr, coordsstring, sizeof(coordsstring));
  337. format(coordsstring, sizeof(coordsstring), " \n");
  338. strcat(catstr, coordsstring, sizeof(coordsstring));
  339. format(coordsstring, sizeof(coordsstring), "Langue 1 : [Francais] - Langue 2 : [%s] - Langue 3 : [%s] - Respect : [%d/%d] - Avertissement : [%d]\n",lang1text ,lang2text,exp,expamount,Avertissement);
  340. strcat(catstr, coordsstring, sizeof(coordsstring));
  341. format(coordsstring, sizeof(coordsstring), " \n");
  342. strcat(catstr, coordsstring, sizeof(coordsstring));
  343. format(coordsstring, sizeof(coordsstring), " {0071E1}- SAC A DOS -{FFFFFF}\n");
  344. strcat(catstr, coordsstring, sizeof(coordsstring));
  345. format(coordsstring, sizeof(coordsstring), " \n");
  346. strcat(catstr, coordsstring, sizeof(coordsstring));
  347. 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);
  348. strcat(catstr, coordsstring, sizeof(coordsstring));
  349. format(coordsstring, sizeof(coordsstring), "FaussMats : [%d] - Beuh : [%d] - Cocaine : [%d] - Cigarettes : [%d] - Materiaux : [%d] - Poissons : [%d]\n",faussmats ,beuh,cocaine,Cigarettes,mats,bigfish);
  350. strcat(catstr, coordsstring, sizeof(coordsstring));
  351. format(coordsstring, sizeof(coordsstring), " \n");
  352. strcat(catstr, coordsstring, sizeof(coordsstring));
  353. if (PlayerInfo[playerid][pAdmin] >= 1000)
  354. {
  355. format(coordsstring, sizeof(coordsstring), " {0071E1}- ADMIN STATS -{FFFFFF}\n");
  356. strcat(catstr, coordsstring, sizeof(coordsstring));
  357. format(coordsstring, sizeof(coordsstring), " \n");
  358. strcat(catstr, coordsstring, sizeof(coordsstring));
  359. format(coordsstring, sizeof(coordsstring), "BanqueTimer : [%d] - 24/7Timer : [%d] - local : [%d]\n",BraquageTime ,BraquageMaga,local);
  360. strcat(catstr, coordsstring, sizeof(coordsstring));
  361. format(coordsstring, sizeof(coordsstring), " \n");
  362. strcat(catstr, coordsstring, sizeof(coordsstring));
  363. }
  364. if (PlayerInfo[targetid][pPcarkey] != -1)
  365. {
  366. format(coordsstring, sizeof(coordsstring), " {0071E1}- VEHICULES -{FFFFFF}\n");
  367. strcat(catstr, coordsstring, sizeof(coordsstring));
  368. format(coordsstring, sizeof(coordsstring), " \n");
  369. strcat(catstr, coordsstring, sizeof(coordsstring));
  370. 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);
  371. strcat(catstr, coordsstring, sizeof(coordsstring));
  372. }
  373. if (PlayerInfo[targetid][pPcarkey2] != -1)
  374. {
  375. 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);
  376. strcat(catstr, coordsstring, sizeof(coordsstring));
  377. }
  378. if (PlayerInfo[targetid][pPcarkey3] != -1)
  379. {
  380. 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);
  381. strcat(catstr, coordsstring, sizeof(coordsstring));
  382. }
  383. if (PlayerInfo[targetid][pPcarkey4] != -1)
  384. {
  385. 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);
  386. strcat(catstr, coordsstring, sizeof(coordsstring));
  387. }
  388. format(title, sizeof(title), "[Stats]{0071E1}----- %s -----{FFFFFF}[Stats]", name);
  389. ShowPlayerDialog(playerid, 5133, DIALOG_STYLE_MSGBOX, title, catstr, "OK", "Close");
  390. }
  391. return 1;
  392. }
Advertisement
Add Comment
Please, Sign In to add comment