Advertisement
Guest User

Untitled

a guest
Mar 22nd, 2015
19
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 20.05 KB | None | 0 0
  1. public ShowStats(playerid,targetid)
  2. {
  3. if(IsPlayerConnected(playerid)&&IsPlayerConnected(targetid))
  4. {
  5. new cash = GetPlayerCash(targetid);
  6. new atext[20];
  7. if(PlayerInfo[targetid][pSex] == 1) { atext = "Male"; }
  8. else if(PlayerInfo[targetid][pSex] == 2) { atext = "Female"; }
  9. new otext[20];
  10. if(PlayerInfo[targetid][pOrigin] == 1) { otext = "Los Santos"; }
  11. else if(PlayerInfo[targetid][pOrigin] == 2) { otext = "Las Venturas"; }
  12. new ttext[20];
  13. if(PlayerInfo[targetid][pMember] == 4 || PlayerInfo[targetid][pLeader] == 4) { ttext = "Medic"; }
  14. else if(gTeam[targetid] == 3 || gTeam[targetid] == 4) { ttext = "Civilian"; }
  15. else if(PlayerInfo[targetid][pMember] == 1 || PlayerInfo[targetid][pLeader] == 1) { ttext = "Police Department"; }
  16. else if(PlayerInfo[targetid][pMember] == 2 || PlayerInfo[targetid][pLeader] == 2) { ttext = "FBI Agent"; }
  17. else if(PlayerInfo[targetid][pMember] == 3 || PlayerInfo[targetid][pLeader] == 3) { ttext = "National Guard"; }
  18. else if(PlayerInfo[targetid][pMember] == 4 || PlayerInfo[targetid][pLeader] == 4) { ttext = "Medics"; }
  19. else if(PlayerInfo[targetid][pMember] == 14 || PlayerInfo[targetid][pLeader] == 14) { ttext = "The Ballas Gang"; }
  20. else if(PlayerInfo[targetid][pMember] == 6 || PlayerInfo[targetid][pLeader] == 6) { ttext = "The Corleone Family"; }
  21. else if(PlayerInfo[targetid][pMember] == 7 || PlayerInfo[targetid][pLeader] == 7) { ttext = "Primarul"; }
  22. else if(PlayerInfo[targetid][pMember] == 8 || PlayerInfo[targetid][pLeader] == 8) { ttext = "Hitman"; }
  23. else if(PlayerInfo[targetid][pMember] == 9 || PlayerInfo[targetid][pLeader] == 9) { ttext = "News Reporters"; }
  24. else if(PlayerInfo[targetid][pMember] == 10 || PlayerInfo[targetid][pLeader] == 10) { ttext = "Taxi Company"; }
  25. else if(PlayerInfo[targetid][pMember] == 11 || PlayerInfo[targetid][pLeader] == 11) { ttext = "Scoala de licente"; }
  26. else if(PlayerInfo[targetid][pMember] == 12 || PlayerInfo[targetid][pLeader] == 12) { ttext = "The Grove Street"; }
  27. else if(PlayerInfo[targetid][pMember] == 13 || PlayerInfo[targetid][pLeader] == 13) { ttext = "LaCosaNostra Family"; }
  28. else if(PlayerInfo[targetid][pMember] == 5 || PlayerInfo[targetid][pLeader] == 5) { ttext = "The Cuneo Family"; }
  29. else if(PlayerInfo[targetid][pMember] == 15 || PlayerInfo[targetid][pLeader] == 15) { ttext = "Varios Los Aztecas "; }
  30. else if(PlayerInfo[targetid][pMember] == 16 || PlayerInfo[targetid][pLeader] == 16) { ttext = "Ridicari Auto"; }
  31. new dtext[20];
  32. if(STDPlayer[targetid] == 1) { dtext = "Chlamydia"; }
  33. else if(STDPlayer[targetid] == 2) { dtext = "Gonorrhea"; }
  34. else if(STDPlayer[targetid] == 3) { dtext = "Syphilis"; }
  35. else { dtext = "None"; }
  36. new ftext[30];
  37. if(PlayerInfo[targetid][pMember] == 1 || PlayerInfo[targetid][pLeader] == 1)
  38. { ftext = "Los Santos Police Department"; }
  39. else if(PlayerInfo[targetid][pMember] == 4 || PlayerInfo[targetid][pLeader] == 4)
  40. { ftext = "Firemen/Paramedics"; }
  41. else if(PlayerInfo[targetid][pMember] == 14 || PlayerInfo[targetid][pLeader] == 14)
  42. { ftext = "Ballas Gang"; }
  43. else if(PlayerInfo[targetid][pMember] == 6 || PlayerInfo[targetid][pLeader] == 6)
  44. { ftext = "Corleone"; }
  45. else if(PlayerInfo[targetid][pMember] == 11 || PlayerInfo[targetid][pLeader] == 11)
  46. { ftext = "License Faction"; }
  47. else if(PlayerInfo[targetid][pMember] == 12 || PlayerInfo[targetid][pLeader] == 12)
  48. { ftext = "Grove Street"; }
  49. else if(PlayerInfo[targetid][pMember] == 13 || PlayerInfo[targetid][pLeader] == 13)
  50. { ftext = "LaCosaNostra Family"; }
  51. else if(PlayerInfo[targetid][pMember] == 5 || PlayerInfo[targetid][pLeader] == 5)
  52. { ftext = "Ballas Gang"; }
  53. else if(PlayerInfo[targetid][pMember] == 15 || PlayerInfo[targetid][pLeader] == 15)
  54. { ftext = "Varios Los Aztecas"; }
  55. else
  56. { ftext = "None"; }
  57. new f2text[20];
  58. if(PlayerInfo[targetid][pFMember] < 255) { f2text = FamilyInfo[PlayerInfo[targetid][pFMember]][FamilyName]; }
  59. else { f2text = "None"; }
  60. new rtext[64];
  61. if(gTeam[targetid] == 5 || PlayerInfo[targetid][pFMember] < 255)//The 2 Organisations
  62. {
  63. if(PlayerInfo[targetid][pRank] == 1) { rtext = "Outsider"; }
  64. else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Associate"; }
  65. else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Soldier"; }
  66. else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Capo"; }
  67. else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Underboss"; }
  68. else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Godfather"; }
  69. else { rtext = "Outsider"; }
  70. }
  71. else if(PlayerInfo[targetid][pMember] == 1 || PlayerInfo[targetid][pLeader] == 1)//PD Ranks
  72. {
  73. if(PlayerInfo[targetid][pRank] == 1) { rtext = "Cadet"; }
  74. else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Police Officer"; }
  75. else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Corporal"; }
  76. else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Sergeant"; }
  77. else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Lieutenant"; }
  78. else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Captain"; }
  79. else if(PlayerInfo[targetid][pRank] == 7) { rtext = "Deputy Chief"; }
  80. else if(PlayerInfo[targetid][pRank] == 8) { rtext = "Chief"; }
  81. else { rtext = "Cadet"; }
  82. }
  83. else if(PlayerInfo[targetid][pMember] == 2 || PlayerInfo[targetid][pLeader] == 2)//FBI Ranks
  84. {
  85. if(PlayerInfo[targetid][pRank] == 1) { rtext = "Professional Staff"; }
  86. else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Special Agent Trainee"; }
  87. else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Special Agent"; }
  88. else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Special Agent in Charge"; }
  89. else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Assistant Director in Charge"; }
  90. else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Director"; }
  91. else { rtext = "Intern"; }
  92. }
  93. else if(PlayerInfo[targetid][pMember] == 3 || PlayerInfo[targetid][pLeader] == 3)//NG Ranks
  94. {
  95. if(PlayerInfo[targetid][pRank] == 1) { rtext = "Private"; }
  96. else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Sergeant"; }
  97. else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Major"; }
  98. else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Captain"; }
  99. else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Lieutenant"; }
  100. else if(PlayerInfo[targetid][pRank] == 6) { rtext = "General"; }
  101. else { rtext = "Private"; }
  102. }
  103. else if(PlayerInfo[targetid][pMember] == 14 || PlayerInfo[targetid][pLeader] == 14)// Cuneo Ranks
  104. {
  105. if(PlayerInfo[targetid][pRank] == 1) { rtext = "Forastero"; }
  106. else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Asociado"; }
  107. else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Miembro"; }
  108. else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Proscrito"; }
  109. else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Mano Derecha"; }
  110. else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Corona"; }
  111. else { rtext = "Guero"; }
  112. }
  113. else if(PlayerInfo[targetid][pMember] == 6 || PlayerInfo[targetid][pLeader] == 6)//Yardies Ranks
  114. {
  115. if(PlayerInfo[targetid][pRank] == 1) { rtext = "Outsider"; }
  116. else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Giovane D'honore"; }
  117. else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Piciotto"; }
  118. else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Sgarrista"; }
  119. else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Capo Regime"; }
  120. else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Consiglieri"; }
  121. else if(PlayerInfo[targetid][pRank] == 7) { rtext = "Capo Bastone"; }
  122. else if(PlayerInfo[targetid][pRank] == 8) { rtext = "Capo Crimini"; }
  123. else { rtext = "Outsider"; }
  124. }
  125. else if(PlayerInfo[targetid][pMember] == 7)//Mayor ranks
  126. {
  127. if(PlayerInfo[targetid][pRank] == 1) { rtext = "Mayor's Driver"; }
  128. else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Mayor's Bodyguard"; }
  129. else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Mayor's Secretary"; }
  130. else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Consilier"; }
  131. else if(PlayerInfo[targetid][pRank] == 5) { rtext = "vice-Mayor"; }
  132. else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Mayor"; }
  133. else { rtext = "None"; }
  134. }
  135. else if(PlayerInfo[targetid][pMember] == 8 || PlayerInfo[targetid][pLeader] == 8)//Hitman Ranks
  136. {
  137. if(PlayerInfo[targetid][pRank] == 1) { rtext = "Freelancer"; }
  138. else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Marksman"; }
  139. else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Agent"; }
  140. else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Special Agent"; }
  141. else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Vice-Director"; }
  142. else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Director"; }
  143. else { rtext = "Freelancer"; }
  144. }
  145. else if(PlayerInfo[targetid][pMember] == 9 || PlayerInfo[targetid][pLeader] == 9)//NR Ranks
  146. {
  147. if(PlayerInfo[targetid][pRank] == 1) { rtext = "Ucenic Jurnalist"; }
  148. else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Journalist"; }
  149. else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Head Journalist"; }
  150. else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Secretarul manegerului Realitatea TV"; }
  151. else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Mananger Realitatea TV"; }
  152. else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Detinator Realitatea TV"; }
  153. else { rtext = "Intern Worker"; }
  154. }
  155. else if(PlayerInfo[targetid][pMember] == 10 || PlayerInfo[targetid][pLeader] == 10)//Taxi Company Ranks
  156. {
  157. if(PlayerInfo[targetid][pRank] == 1) { rtext = "Trainee"; }
  158. else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Taxi Rookie"; }
  159. else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Cabbie"; }
  160. else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Dispatcher"; }
  161. else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Shift Supervisor"; }
  162. else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Yellow Cabs Owner"; }
  163. else { rtext = "Trainee"; }
  164. }
  165. else if(IsAnInstructor(targetid))//Driving/Flying School Ranks
  166. {
  167. if(PlayerInfo[targetid][pRank] == 1) { rtext = "Trainee"; }
  168. else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Instructor"; }
  169. else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Senior Instructor"; }
  170. else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Manager"; }
  171. else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Under Boss"; }
  172. else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Boss"; }
  173. else { rtext = "Trainee"; }
  174. }
  175. else if(PlayerInfo[targetid][pMember] == 12 || PlayerInfo[targetid][pLeader] == 12)//Grove Ranks
  176. {
  177. if(PlayerInfo[targetid][pRank] == 1) { rtext = "Outsider"; }
  178. else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Gangsta"; }
  179. else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Thug"; }
  180. else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Soulja"; }
  181. else if(PlayerInfo[targetid][pRank] == 5) { rtext = "O.G"; }
  182. else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Senior O.G"; }
  183. else if(PlayerInfo[targetid][pRank] == 7) { rtext = "Top O.G"; }
  184. else { rtext = "Outsider"; }
  185. }
  186. else if(PlayerInfo[targetid][pMember] == 13 || PlayerInfo[targetid][pLeader] == 13)//LaCosaNostra Family Ranks
  187. {
  188. if(PlayerInfo[targetid][pRank] == 1) { rtext = "Soldiers"; }
  189. else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Associates"; }
  190. else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Caporegime"; }
  191. else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Blood Pusher"; }
  192. else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Blood Runner"; }
  193. else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Underboss"; }
  194. else if(PlayerInfo[targetid][pRank] == 7) { rtext = "Boss"; }
  195. else if(PlayerInfo[targetid][pRank] == 8) { rtext = "Boss"; }
  196. else if(PlayerInfo[targetid][pRank] == 9) { rtext = "Consigliere"; }
  197. else { rtext = "Dumb Hoe"; }
  198. }
  199. else if(PlayerInfo[targetid][pMember] == 5 || PlayerInfo[targetid][pLeader] == 5)//Ballas Gang ranks
  200. {
  201. if(PlayerInfo[targetid][pRank] == 1) { rtext = "Solntsevskaya bratva"; }
  202. else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Izmaylovskaya"; }
  203. else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Tambov"; }
  204. else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Capo"; }
  205. else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Potato"; }
  206. else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Don Pov"; }
  207. else { rtext = "Gaij in"; }
  208. }
  209. else if(PlayerInfo[targetid][pMember] == 15 || PlayerInfo[targetid][pLeader] == 15)//Varios Los Aztecas ranks
  210. {
  211. if(PlayerInfo[targetid][pRank] == 1) { rtext = "Gaij in"; }
  212. else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Wakashu"; }
  213. else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Shatei"; }
  214. else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Capo"; }
  215. else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Don's right hand"; }
  216. else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Don"; }
  217. else { rtext = "Gaij in"; }
  218. }
  219. else if(PlayerInfo[targetid][pMember] == 16 || PlayerInfo[targetid][pLeader] == 16)//Tow Car Company Ranks
  220. {
  221. if(PlayerInfo[targetid][pRank] == 1) { rtext = "Trainee"; }
  222. else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Mechanic"; }
  223. else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Senior Mechanic"; }
  224. else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Manager"; }
  225. else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Under Boss"; }
  226. else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Tow Company Owner"; }
  227. else { rtext = "Trainee"; }
  228. }
  229. else
  230. {
  231. rtext = "None";
  232. }
  233. new jtext[20];
  234. if(PlayerInfo[targetid][pJob] == 1) { jtext = "Detective"; }
  235. else if(PlayerInfo[targetid][pJob] == 2) { jtext = "Lawyer"; }
  236. else if(PlayerInfo[targetid][pJob] == 3) { jtext = "Whore"; }
  237. else if(PlayerInfo[targetid][pJob] == 4) { jtext = "Drugs Dealer"; }
  238. else if(PlayerInfo[targetid][pJob] == 5) { jtext = "Car Jacker"; }
  239. else if(PlayerInfo[targetid][pJob] == 6) { jtext = "News Reporter"; }
  240. else if(PlayerInfo[targetid][pJob] == 7) { jtext = "Car Mechanic"; }
  241. else if(PlayerInfo[targetid][pJob] == 8) { jtext = "Bodyguard"; }
  242. else if(PlayerInfo[targetid][pJob] == 9) { jtext = "Arms Dealer"; }
  243. else if(PlayerInfo[targetid][pJob] == 10) { jtext = "Car Dealer"; }
  244. else if(PlayerInfo[targetid][pJob] == 12) { jtext = "Boxer"; }
  245. else if(PlayerInfo[targetid][pJob] == 14) { jtext = "Bus Driver"; }
  246. else if(PlayerInfo[targetid][pJob] == 12) { jtext = "Paper Boy"; }
  247. else if(PlayerInfo[targetid][pJob] == 16) { jtext = "Trucker"; }
  248. else if(PlayerInfo[targetid][pJob] == 17) { jtext = "Pizza Boy"; }
  249. else if(PlayerInfo[targetid][pJob] == 18) { jtext = "Farmer"; }
  250. else if(PlayerInfo[targetid][pJob] == 19) { jtext = "Illegal Farmer"; }
  251. else if(PlayerInfo[targetid][pJob] == 20) { jtext = "Drugs Smuggler"; }
  252. else if(PlayerInfo[targetid][pJob] == 21) { jtext = "Street sweeper"; }
  253. else if(PlayerInfo[targetid][pJob] == 22) { jtext = "Materials smuggler"; }
  254. else if(PlayerInfo[targetid][pJob] == 23) { jtext = "Gun maker"; }
  255. else if(PlayerInfo[targetid][pJob] == 24) { jtext = "Livrator"; }
  256. else { jtext = "None"; }
  257. new drank[20];
  258. if(PlayerInfo[targetid][pDonateRank] == 1) { drank = "Bronze donater"; }
  259. else if(PlayerInfo[targetid][pDonateRank] >= 2) { drank = "Golden donater"; }
  260. else { drank = "None"; }
  261. new ctext[20];
  262. if(PlayerInfo[targetid][pCMember] == 1 || PlayerInfo[targetid][pCLeader] == 1) { ctext = "[F4L]"; }
  263. else { ctext = "None"; }
  264. /*new married[20];
  265. strmid(married, PlayerInfo[targetid][pMarriedTo], 0, strlen(PlayerInfo[targetid][pMarriedTo]), 255);*/
  266. new age = PlayerInfo[targetid][pAge];
  267. new ptime = PlayerInfo[targetid][pConnectTime];
  268. //new lotto = PlayerInfo[targetid][pLottoNr];
  269. //new deaths = PlayerInfo[targetid][pDeaths];
  270. //new fishes = PlayerInfo[targetid][pFishes];
  271. new bigfish = PlayerInfo[targetid][pBiggestFish];
  272. //new crimes = PlayerInfo[targetid][pCrimes];
  273. new arrests = PlayerInfo[targetid][pArrested];
  274. //new warrests = PlayerInfo[targetid][pWantedDeaths];
  275. new drugs = PlayerInfo[targetid][pDrugs];
  276. new mats = PlayerInfo[targetid][pMats];
  277. //new wanted = WantedLevel[targetid];
  278. new level = PlayerInfo[targetid][pLevel];
  279. new exp = PlayerInfo[targetid][pExp];
  280. //new kills = PlayerInfo[targetid][pKills];
  281. new pnumber = PlayerInfo[targetid][pPnumber];
  282. new account = PlayerInfo[targetid][pAccount];
  283. new nxtlevel = PlayerInfo[targetid][pLevel];
  284. new expamount = nxtlevel*levelexp;
  285. new costlevel = nxtlevel*levelcost;//10k for testing purposes
  286. new housekey = PlayerInfo[targetid][pPhousekey];
  287. new bizkey = PlayerInfo[targetid][pPbiskey];
  288. new carkey = PlayerInfo[targetid][pPcarkey];
  289. new carkey2 = PlayerInfo[targetid][pPcarkey2];
  290. new intir = PlayerInfo[targetid][pInt];
  291. new virworld = PlayerInfo[targetid][pVirWorld];
  292. new local = PlayerInfo[targetid][pLocal];
  293. new admin = PlayerInfo[targetid][pAdmin];
  294. new robstat = PlayerInfo[targetid][pRob];
  295. new married[20];
  296. strmid(married, PlayerInfo[targetid][pMarriedTo], 0, strlen(PlayerInfo[targetid][pMarriedTo]), 255);
  297. new helperl = PlayerInfo[targetid][pHelper];
  298. new warns = PlayerInfo[targetid][pWarns];
  299. new fwarns = PlayerInfo[targetid][pFwarn];
  300. new punish = PlayerInfo[targetid][pPunish];
  301. new wanted = PlayerInfo[targetid][pWantedLevel];
  302. //new Float:shealth = PlayerInfo[targetid][pSHealth];
  303. new Float:health;
  304. new name[MAX_PLAYER_NAME];
  305. GetPlayerName(targetid, name, sizeof(name));
  306. GetPlayerHealth(targetid,health);
  307. new Float:px,Float:py,Float:pz;
  308. GetPlayerPos(targetid, px, py, pz);
  309. new coordsstring[256];
  310. format(coordsstring, sizeof(coordsstring),"____________________| %s |____________________",name);
  311. SendClientMessage(playerid, COLOR_GREEN,coordsstring);
  312. format(coordsstring, sizeof(coordsstring), "Level:[%d] Sex:[%s] Age:[%d] Cash:[$%d] Bank:[$%d] Ph:[%d] DonateRank:[%s] MarriedTo:[%s]", level,atext,age,cash,account,pnumber,drank,married);
  313. SendClientMessage(playerid, COLOR_GRAD1,coordsstring);
  314. format(coordsstring, sizeof(coordsstring), "PlayingHours:[%d] BiggestFish:[%d] TimesArrested:[%d] Job:[%s] Respect:[%d/%d] NextLevel:[$%d] Rob:[%d/15]", ptime,bigfish,arrests,jtext,exp,expamount,costlevel,robstat);
  315. SendClientMessage(playerid, COLOR_GRAD3,coordsstring);
  316. format(coordsstring, sizeof(coordsstring), "Drugs:[%d] Materials:[%d] Team:[%s] Organisation:[%s] Rank:[%s] Wanted: [%d/10]",drugs,mats,ttext,ftext,rtext,wanted);
  317. SendClientMessage(playerid, COLOR_GRAD5,coordsstring);
  318. format(coordsstring,sizeof(coordsstring), "Admin-Level:[%d] Helper-Level: [%d] Warns:[%d/3] FactionWarns:[%d/5] FactionPunish[%d/20] ",admin,helperl,warns,fwarns,punish);
  319. SendClientMessage(playerid,COLOR_GRAD5,coordsstring);
  320. if (PlayerInfo[targetid][pPcarkey] != 999)
  321. {
  322. format(coordsstring, sizeof(coordsstring), "VehModel:[%s] VehValue:[%d] VehColor1:[%d] VehColor2:[%d] VehLocked:[%d]", CarInfo[carkey][cDescription], CarInfo[carkey][cValue], CarInfo[carkey][cColorOne], CarInfo[carkey][cColorTwo], CarInfo[carkey][cLock]);
  323. SendClientMessage(playerid, COLOR_GRAD5,coordsstring);
  324. }
  325. if (PlayerInfo[targetid][pPcarkey2] != 999)
  326. {
  327. format(coordsstring, sizeof(coordsstring), "VehModel:[%s] VehValue:[%d] VehColor1:[%d] VehColor2:[%d] VehLocked:[%d]", CarInfo[carkey2][cDescription], CarInfo[carkey][cValue], CarInfo[carkey2][cColorOne], CarInfo[carkey2][cColorTwo], CarInfo[carkey2][cLock]);
  328. SendClientMessage(playerid, COLOR_GRAD5,coordsstring);
  329. }
  330. if (PlayerInfo[playerid][pAdmin] >= 1)
  331. {
  332. format(coordsstring, sizeof(coordsstring), "House key [%d] Business key [%d] Vehicle [%d] Vehicle2 [%d] HireKey [%d] int:[%d] virworld:[%d] local[%d]", housekey,bizkey,carkey,carkey2,HireCar[targetid],intir,virworld,local);
  333. SendClientMessage(playerid, COLOR_GRAD6,coordsstring);
  334. }
  335. SendClientMessage(playerid, COLOR_GREEN,"___________________________________________________________");
  336. }
  337. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement