Advertisement
Guest User

statsglupi

a guest
Feb 21st, 2012
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 28.51 KB | None | 0 0
  1. public ShowStats(playerid,targetid)
  2. {
  3. if(IsPlayerConnected(playerid)&&IsPlayerConnected(targetid))
  4. {
  5. //new cash = GetPlayerMoney(targetid);
  6. new atext[20];
  7. if(PlayerInfo[targetid][pSex] == 1) { atext = "Musko"; }
  8. else if(PlayerInfo[targetid][pSex] == 2) { atext = "Zensko"; }
  9. new otext[20];
  10. if(PlayerInfo[targetid][pOrigin] == 1) { otext = "Srbija"; }
  11. else if(PlayerInfo[targetid][pOrigin] == 2) { otext = "Crna_Gora"; }
  12. else if(PlayerInfo[targetid][pOrigin] == 3) { otext = "BiH"; }
  13. else if(PlayerInfo[targetid][pOrigin] == 4) { otext = "Hrvatska"; }
  14. else if(PlayerInfo[targetid][pOrigin] == 4) { otext = "Ostalo"; }
  15. new ttext[20];
  16. if(PlayerInfo[targetid][pMember] == 4 || PlayerInfo[targetid][pLeader] == 4) { ttext = "Medic"; }
  17. else if(gTeam[targetid] == 3 || gTeam[targetid] == 4) { ttext = "Civilian"; }
  18. else if(PlayerInfo[targetid][pMember] == 1 || PlayerInfo[targetid][pLeader] == 1) { ttext = "LS PD"; }
  19. else if(PlayerInfo[targetid][pMember] == 2 || PlayerInfo[targetid][pLeader] == 2) { ttext = "FBI Agent"; }
  20. else if(PlayerInfo[targetid][pMember] == 3 || PlayerInfo[targetid][pLeader] == 3) { ttext = "SWAT"; }
  21. else if(PlayerInfo[targetid][pMember] == 4 || PlayerInfo[targetid][pLeader] == 4) { ttext = "Vatrogasac/Bolnicar"; }
  22. else if(PlayerInfo[targetid][pMember] == 5 || PlayerInfo[targetid][pLeader] == 5) { ttext = "Yakuza"; }
  23. else if(PlayerInfo[targetid][pMember] == 6 || PlayerInfo[targetid][pLeader] == 6) { ttext = "LCN"; }
  24. else if(PlayerInfo[targetid][pMember] == 7 || PlayerInfo[targetid][pLeader] == 7) { ttext = "Government"; }
  25. else if(PlayerInfo[targetid][pMember] == 8 || PlayerInfo[targetid][pLeader] == 8) { ttext = "Hitman"; }
  26. else if(PlayerInfo[targetid][pMember] == 9 || PlayerInfo[targetid][pLeader] == 9) { ttext = "Novinar"; }
  27. else if(PlayerInfo[targetid][pMember] == 10 || PlayerInfo[targetid][pLeader] == 10) { ttext = "Taxi"; }
  28. else if(PlayerInfo[targetid][pMember] == 11 || PlayerInfo[targetid][pLeader] == 11) { ttext = "SF PD"; }
  29. else if(PlayerInfo[targetid][pMember] == 12 || PlayerInfo[targetid][pLeader] == 12) { ttext = "Ruska Mafija"; }
  30. else if(PlayerInfo[targetid][pMember] == 13 || PlayerInfo[targetid][pLeader] == 13) { ttext = "Triads"; }
  31. //else if(PlayerInfo[targetid][pMember] == 14 || PlayerInfo[targetid][pLeader] == 14) { ttext = "Yamaguchi"; }
  32. else if(PlayerInfo[targetid][pMember] == 15 || PlayerInfo[targetid][pLeader] == 15) { ttext = "Crips"; }
  33. else if(PlayerInfo[targetid][pMember] == 16 || PlayerInfo[targetid][pLeader] == 16) { ttext = "Bloods"; }
  34. else if(PlayerInfo[targetid][pMember] == 17 || PlayerInfo[targetid][pLeader] == 17) { ttext = "CIA"; }
  35. else if(PlayerInfo[targetid][pMember] == 18 || PlayerInfo[targetid][pLeader] == 18) { ttext = "Groove Street"; }
  36. else if(PlayerInfo[targetid][pMember] == 19 || PlayerInfo[targetid][pLeader] == 19) { ttext = "Ms 13"; }
  37. else if(PlayerInfo[targetid][pMember] == 20 || PlayerInfo[targetid][pLeader] == 20) { ttext = "Parking Servis"; }
  38. new dtext[20];
  39. if(STDPlayer[targetid] == 1) { dtext = "Chlamydia"; }
  40. else if(STDPlayer[targetid] == 2) { dtext = "Gonorrhea"; }
  41. else if(STDPlayer[targetid] == 3) { dtext = "Syphilis"; }
  42. else { dtext = "None"; }
  43. new ftext[30];
  44. if(PlayerInfo[targetid][pMember] == 1 || PlayerInfo[targetid][pLeader] == 1)
  45. { ftext = "LS PD"; }
  46. else if(PlayerInfo[targetid][pMember] == 2 || PlayerInfo[targetid][pLeader] == 2)
  47. { ftext = "FBI"; }
  48. else if(PlayerInfo[targetid][pMember] == 3 || PlayerInfo[targetid][pLeader] == 3)
  49. { ftext = "SWAT"; }
  50. else if(PlayerInfo[targetid][pMember] == 4 || PlayerInfo[targetid][pLeader] == 4)
  51. { ftext = "Hitna Pomoc"; }
  52. else if(PlayerInfo[targetid][pMember] == 5 || PlayerInfo[targetid][pLeader] == 5)
  53. { ftext = "Yakuza"; }
  54. else if(PlayerInfo[targetid][pMember] == 6 || PlayerInfo[targetid][pLeader] == 6)
  55. { ftext = "LCN"; }
  56. else if(PlayerInfo[targetid][pMember] == 7 || PlayerInfo[targetid][pLeader] == 7)
  57. { ftext = "Vlada"; }
  58. else if(PlayerInfo[targetid][pMember] == 8 || PlayerInfo[targetid][pLeader] == 8)
  59. { ftext = "Hitman Org"; }
  60. else if(PlayerInfo[targetid][pMember] == 9 || PlayerInfo[targetid][pLeader] == 9)
  61. { ftext = "Novinari"; }
  62. else if(PlayerInfo[targetid][pMember] == 10 || PlayerInfo[targetid][pLeader] == 10)
  63. { ftext = "TAXI"; }
  64. else if(PlayerInfo[targetid][pMember] == 11 || PlayerInfo[targetid][pLeader] == 11)
  65. { ftext = "SF PD"; }
  66. else if(PlayerInfo[targetid][pMember] == 12 || PlayerInfo[targetid][pLeader] == 12)
  67. { ftext = "Ruska Mafija"; }
  68. else if(PlayerInfo[targetid][pMember] == 13 || PlayerInfo[targetid][pLeader] == 13)
  69. { ftext = "Triads"; }
  70. //else if(PlayerInfo[targetid][pMember] == 14 || PlayerInfo[targetid][pLeader] == 14)
  71. //{ ftext = "Yamaguchi"; }
  72. else if(PlayerInfo[targetid][pMember] == 15 || PlayerInfo[targetid][pLeader] == 15)
  73. { ftext = "Crips"; }
  74. else if(PlayerInfo[targetid][pMember] == 16 || PlayerInfo[targetid][pLeader] == 16)
  75. { ftext = "Bloods"; }
  76. else if(PlayerInfo[targetid][pMember] == 18 || PlayerInfo[targetid][pLeader] == 18)
  77. { ftext = "Groove Street"; }
  78. else if(PlayerInfo[targetid][pMember] == 19 || PlayerInfo[targetid][pLeader] == 19)
  79. { ftext = "Ms 13"; }
  80. else if(PlayerInfo[targetid][pMember] == 20 || PlayerInfo[targetid][pLeader] == 20)
  81. { ftext = "Parking Servis"; }
  82. /* else if(PlayerInfo[targetid][pMember] == 17 || PlayerInfo[targetid][pLeader] == 17)
  83. { ftext = "CIA"; }*/
  84. else
  85. { ftext = "Nijedna"; }
  86. new f2text[20];
  87. if(PlayerInfo[targetid][pFMember] < 255) { f2text = FamilyInfo[PlayerInfo[targetid][pFMember]][FamilyName]; }
  88. else { f2text = "Nijedna"; }
  89. new rtext[64];
  90. if(gTeam[targetid] == 5 || PlayerInfo[targetid][pFMember] < 255)//The 2 Organisations
  91. {
  92. if(PlayerInfo[targetid][pRank] == 1) { rtext = "Outsider"; }
  93. else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Associate"; }
  94. else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Soldier"; }
  95. else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Capo"; }
  96. else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Underboss"; }
  97. else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Godfather"; }
  98. else { rtext = "Outsider"; }
  99. }
  100. else if(PlayerInfo[targetid][pMember] == 1 || PlayerInfo[targetid][pLeader] == 1)//PD Ranks
  101. {
  102. if(PlayerInfo[targetid][pRank] == 1) { rtext = "Cadet"; }
  103. else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Police Officer"; }
  104. else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Corporal"; }
  105. else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Sergeant"; }
  106. else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Lieutenant"; }
  107. else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Captain"; }
  108. else { rtext = "Cadet"; }
  109. }
  110. else if(PlayerInfo[targetid][pMember] == 2 || PlayerInfo[targetid][pLeader] == 2)//FBI Ranks
  111. {
  112. if(PlayerInfo[targetid][pRank] == 1) { rtext = "FBI saradnik"; }
  113. else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Specijalni agent"; }
  114. else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Agent za specijalne operacije"; }
  115. else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Agent obavestajne sluzbee"; }
  116. else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Sef obavestajne sluzbe"; }
  117. else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Lider"; }
  118. else { rtext = "Intern"; }
  119. }
  120. else if(PlayerInfo[targetid][pMember] == 3 || PlayerInfo[targetid][pLeader] == 3)//NG Ranks
  121. {
  122. if(PlayerInfo[targetid][pRank] == 1) { rtext = "Vojnik"; }
  123. else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Vodnik"; }
  124. else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Kapetan"; }
  125. else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Major"; }
  126. else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Gen.Major"; }
  127. else if(PlayerInfo[targetid][pRank] == 6) { rtext = "General"; }
  128. else { rtext = "Vojnik"; }
  129. }
  130. else if(PlayerInfo[targetid][pMember] == 4 || PlayerInfo[targetid][pLeader] == 4)//MEdic Ranks
  131. {
  132. if(PlayerInfo[targetid][pRank] == 1) { rtext = "Pocetnik"; }
  133. else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Doktor"; }
  134. else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Doktor"; }
  135. else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Doktor"; }
  136. else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Doktor"; }
  137. else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Upravnik Bolnice"; }
  138. else { rtext = "Private"; }
  139. }
  140. else if(PlayerInfo[targetid][pMember] == 5 || PlayerInfo[targetid][pLeader] == 5)//Yakuza Ranks
  141. {
  142. if(PlayerInfo[targetid][pRank] == 1) { rtext = "Forastero"; }
  143. else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Asociado"; }
  144. else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Miembro"; }
  145. else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Proscrito"; }
  146. else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Mano Derecha"; }
  147. else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Corona"; }
  148. else { rtext = "Guero"; }
  149. }
  150. else if(PlayerInfo[targetid][pMember] == 6 || PlayerInfo[targetid][pLeader] == 6)//LCN Ranks
  151. {
  152. if(PlayerInfo[targetid][pRank] == 1) { rtext = "Outsider"; }
  153. else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Giovane D'honore"; }
  154. else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Piciotto"; }
  155. else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Sgarrista"; }
  156. else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Capo"; }
  157. else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Under Boss"; }
  158. else if(PlayerInfo[targetid][pRank] == 7) { rtext = "Consigliere"; }
  159. else if(PlayerInfo[targetid][pRank] == 8) { rtext = "Boss"; }
  160. else { rtext = "Outsider"; }
  161. }
  162. else if(PlayerInfo[targetid][pMember] == 7)//Mayor ranks
  163. {
  164. if(PlayerInfo[targetid][pRank] == 1) { rtext = "Mayor's driver"; }
  165. else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Mayor's bodyguard"; }
  166. else if(PlayerInfo[targetid][pLeader] == 7) { rtext = "Mayor"; }
  167. else { rtext = "None"; }
  168. }
  169. else if(PlayerInfo[targetid][pMember] == 8 || PlayerInfo[targetid][pLeader] == 8)//Hitman Ranks
  170. {
  171. if(PlayerInfo[targetid][pRank] == 1) { rtext = "Freelancer"; }
  172. else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Marksman"; }
  173. else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Agent"; }
  174. else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Special Agent"; }
  175. else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Vice-Director"; }
  176. else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Director"; }
  177. else { rtext = "Freelancer"; }
  178. }
  179. else if(PlayerInfo[targetid][pMember] == 9 || PlayerInfo[targetid][pLeader] == 9)//NR Ranks
  180. {
  181. if(PlayerInfo[targetid][pRank] == 1) { rtext = "Intern Worker"; }
  182. else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Journalist"; }
  183. else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Head Journalist"; }
  184. else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Company Secretary"; }
  185. else if(PlayerInfo[targetid][pRank] == 5) { rtext = "ABC Manager"; }
  186. else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Network Producer"; }
  187. else { rtext = "Intern Worker"; }
  188. }
  189. else if(PlayerInfo[targetid][pMember] == 10 || PlayerInfo[targetid][pLeader] == 10)//Taxi Company Ranks
  190. {
  191. if(PlayerInfo[targetid][pRank] == 1) { rtext = "Trainee"; }
  192. else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Taxi Rookie"; }
  193. else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Cabbie"; }
  194. else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Dispatcher"; }
  195. else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Shift Supervisor"; }
  196. else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Taxi Company Owner"; }
  197. else { rtext = "Trainee"; }
  198. }
  199. else if(PlayerInfo[targetid][pMember] == 11 || PlayerInfo[targetid][pLeader] == 11)//SF PD RANKS
  200. {
  201. if(PlayerInfo[targetid][pRank] == 1) { rtext = "Cadet"; }
  202. else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Police Officer"; }
  203. else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Corporal"; }
  204. else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Sergeant"; }
  205. else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Lieutenant"; }
  206. else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Captain"; }
  207. else { rtext = "Cadet"; }
  208. }
  209. else if(PlayerInfo[targetid][pMember] == 12 || PlayerInfo[targetid][pLeader] == 12)//Ruska Mafija Rankovi
  210. {
  211. if(PlayerInfo[targetid][pRank] == 1) { rtext = "Outsider"; }
  212. else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Giovane D'honore"; }
  213. else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Piciotto"; }
  214. else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Sgarrista"; }
  215. else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Capo"; }
  216. else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Under Boss"; }
  217. else { rtext = "Outsider"; }
  218. }
  219. else if(PlayerInfo[targetid][pMember] == 13 || PlayerInfo[targetid][pLeader] == 13)//Triads Rankovi
  220. {
  221. if(PlayerInfo[targetid][pRank] == 1) { rtext = "Outsider"; }
  222. else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Giovane D'honore"; }
  223. else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Piciotto"; }
  224. else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Sgarrista"; }
  225. else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Capo"; }
  226. else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Under Boss"; }
  227. else { rtext = "Outsider"; }
  228. }
  229. /*
  230. else if(PlayerInfo[targetid][pMember] == 14 || PlayerInfo[targetid][pLeader] == 14)//Yamaguchi ranks
  231. {
  232. if(PlayerInfo[targetid][pRank] == 1) { rtext = "Gaij in"; }
  233. else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Wakashu"; }
  234. else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Shatei"; }
  235. else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Capo"; }
  236. else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Don's right hand"; }
  237. else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Don"; }
  238. else { rtext = "Gaij in"; }
  239. }
  240. */
  241. else if(PlayerInfo[targetid][pMember] == 15 || PlayerInfo[targetid][pLeader] == 15)//Crips gang Ranks
  242. {
  243. if(PlayerInfo[targetid][pRank] == 1) { rtext = "Outsider"; }
  244. else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Gangsta"; }
  245. else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Thug"; }
  246. else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Soulja"; }
  247. else if(PlayerInfo[targetid][pRank] == 5) { rtext = "O.G"; }
  248. else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Senior O.G"; }
  249. else if(PlayerInfo[targetid][pRank] == 7) { rtext = "Top O.G"; }
  250. else { rtext = "Outsider"; }
  251. }
  252. else if(PlayerInfo[targetid][pMember] == 16 || PlayerInfo[targetid][pLeader] == 16)//Bloods gang Ranks
  253. {
  254. if(PlayerInfo[targetid][pRank] == 1) { rtext = "Dumb Hoe"; }
  255. else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Outsider"; }
  256. else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Soulja"; }
  257. else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Blood Pusher"; }
  258. else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Blood Runner"; }
  259. else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Thug"; }
  260. else if(PlayerInfo[targetid][pRank] == 7) { rtext = "O.G"; }
  261. else if(PlayerInfo[targetid][pRank] == 8) { rtext = "Double O.G"; }
  262. else if(PlayerInfo[targetid][pRank] == 9) { rtext = "Kingpin"; }
  263. else { rtext = "Dumb Hoe"; }
  264. }
  265. else if(PlayerInfo[targetid][pMember] == 18 || PlayerInfo[targetid][pLeader] == 18)//groove street
  266. {
  267. if(PlayerInfo[targetid][pRank] == 1) { rtext = "1"; }
  268. else if(PlayerInfo[targetid][pRank] == 2) { rtext = "2"; }
  269. else if(PlayerInfo[targetid][pRank] == 3) { rtext = "3"; }
  270. else if(PlayerInfo[targetid][pRank] == 4) { rtext = "4"; }
  271. else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Podlider"; }
  272. else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Lider"; }
  273. else { rtext = "Cigan"; }
  274. }
  275. else if(PlayerInfo[targetid][pMember] == 19 || PlayerInfo[targetid][pLeader] == 19)//MS 13
  276. {
  277. if(PlayerInfo[targetid][pRank] == 1) { rtext = "1"; }
  278. else if(PlayerInfo[targetid][pRank] == 2) { rtext = "2"; }
  279. else if(PlayerInfo[targetid][pRank] == 3) { rtext = "3"; }
  280. else if(PlayerInfo[targetid][pRank] == 4) { rtext = "4"; }
  281. else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Podlider"; }
  282. else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Lider"; }
  283. else { rtext = "Ms 13"; }
  284. }
  285. else if(PlayerInfo[targetid][pMember] == 20 || PlayerInfo[targetid][pLeader] == 20)//Parking Servis
  286. {
  287. if(PlayerInfo[targetid][pRank] == 1) { rtext = "1"; }
  288. else if(PlayerInfo[targetid][pRank] == 2) { rtext = "2"; }
  289. else if(PlayerInfo[targetid][pRank] == 3) { rtext = "3"; }
  290. else if(PlayerInfo[targetid][pRank] == 4) { rtext = "4"; }
  291. else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Podlider"; }
  292. else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Lider"; }
  293. else { rtext = "Parking Servis"; }
  294. }
  295. else
  296. {
  297. rtext = "None";
  298. }
  299. new jtext[20];
  300. if(PlayerInfo[targetid][pJob] == 1) { jtext = "Detektiv"; }
  301. else if(PlayerInfo[targetid][pJob] == 2) { jtext = "Advokat"; }
  302. else if(PlayerInfo[targetid][pJob] == 3) { jtext = "Prostitutka"; }
  303. else if(PlayerInfo[targetid][pJob] == 4) { jtext = "Diler droge"; }
  304. else if(PlayerInfo[targetid][pJob] == 5) { jtext = "Kradljivac auta"; }
  305. else if(PlayerInfo[targetid][pJob] == 6) { jtext = "Novinar"; }
  306. else if(PlayerInfo[targetid][pJob] == 7) { jtext = "Automehanicar"; }
  307. else if(PlayerInfo[targetid][pJob] == 8) { jtext = "Bodyguard"; }
  308. else if(PlayerInfo[targetid][pJob] == 9) { jtext = "Diler oruzija"; }
  309. else if(PlayerInfo[targetid][pJob] == 10) { jtext = "Diler auta"; }
  310. else if(PlayerInfo[targetid][pJob] == 11) { jtext = "Radnik"; }
  311. else if(PlayerInfo[targetid][pJob] == 12) { jtext = "Bokser"; }
  312. else if(PlayerInfo[targetid][pJob] == 14) { jtext = "Vozac busa"; }
  313. else if(PlayerInfo[targetid][pJob] == 15) { jtext = "Raznosac novina"; }
  314. else if(PlayerInfo[targetid][pJob] == 16) { jtext = "Kamiondzija"; }
  315. else if(PlayerInfo[targetid][pJob] == 17) { jtext = "Raznosac pice"; }
  316. else if(PlayerInfo[targetid][pJob] == 18) { jtext = "Farmer"; }
  317. else if(PlayerInfo[targetid][pJob] == 19) { jtext = "Farmer droge"; }
  318. else if(PlayerInfo[targetid][pJob] == 20) { jtext = "Svercer droge"; }
  319. else if(PlayerInfo[targetid][pJob] == 21) { jtext = "Cistac ulica"; }
  320. else if(PlayerInfo[targetid][pJob] == 22) { jtext = "Svercer materijala"; }
  321. else if(PlayerInfo[targetid][pJob] == 23) { jtext = "Proizvodjac oruzija"; }
  322. else if(PlayerInfo[targetid][pJob] == 24) { jtext = "Djubretar"; }
  323. else if(PlayerInfo[targetid][pJob] == 25) { jtext = "Postar"; }
  324. else if(PlayerInfo[targetid][pJob] == 26) { jtext = "Helis Deliver"; }
  325. else { jtext = "None"; }
  326. new drank[20];
  327. if(PlayerInfo[targetid][pDonateRank] == 1) { drank = "lvl 1"; }
  328. else if(PlayerInfo[targetid][pDonateRank] == 2) { drank = "lvl 2"; }
  329. else if(PlayerInfo[targetid][pDonateRank] >= 3) { drank = "lvl 3"; }
  330. else { drank = "None"; }
  331. /*new married[20];
  332. strmid(married, PlayerInfo[targetid][pMarriedTo], 0, strlen(PlayerInfo[targetid][pMarriedTo]), 255);*/
  333. new age = PlayerInfo[targetid][pAge];
  334. new ptime = PlayerInfo[targetid][pConnectTime];
  335. //new lotto = PlayerInfo[targetid][pLottoNr];
  336. //new deaths = PlayerInfo[targetid][pDeaths];
  337. //new fishes = PlayerInfo[targetid][pFishes];
  338. //new crimes = PlayerInfo[targetid][pCrimes];
  339. //new warrests = PlayerInfo[targetid][pWantedDeaths];
  340. new drugs = PlayerInfo[targetid][pDrugs];
  341. new mats = PlayerInfo[targetid][pMats];
  342. //new wanted = WantedLevel[targetid];
  343. new level = PlayerInfo[targetid][pLevel];
  344. new exp = PlayerInfo[targetid][pExp];
  345. //new kills = PlayerInfo[targetid][pKills];
  346. new pnumber = PlayerInfo[targetid][pPnumber];
  347. new kreditbr = PlayerInfo[targetid][pKredit];
  348. //new account = PlayerInfo[targetid][pAccount];
  349. new nxtlevel = PlayerInfo[targetid][pLevel]+1;
  350. new expamount = nxtlevel*levelexp;
  351. //new costlevel = nxtlevel*levelcost;//10k for testing purposes
  352. new housekey = PlayerInfo[targetid][pPhousekey];
  353. new bizkey = PlayerInfo[targetid][pPbiskey];
  354. new carkey = PlayerInfo[targetid][pPcarkey];
  355. new carkey2 = PlayerInfo[targetid][pPcarkey2];
  356. new carkey3 = PlayerInfo[targetid][pPcarkey3];
  357. new intir = PlayerInfo[targetid][pInt];
  358. new virworld = PlayerInfo[targetid][pVirWorld];
  359. new local = PlayerInfo[targetid][pLocal];
  360. new warns = PlayerInfo[targetid][pWarns];
  361. //new Float:shealth = PlayerInfo[targetid][pSHealth];
  362. new Float:health;
  363. new name[MAX_PLAYER_NAME];
  364. GetPlayerName(targetid, name, sizeof(name));
  365. GetPlayerHealth(targetid,health);
  366. new Float:px,Float:py,Float:pz;
  367. GetPlayerPos(targetid, px, py, pz);
  368. new coordsstring[256];
  369. SendClientMessage(playerid, COLOR_GRAD6,"Za Admine:");
  370. format(coordsstring, sizeof(coordsstring), "- House key [%d] Business key [%d] Veh1 [%d] Veh2 [%d] Veh3 [%d] HireKey [%d] int:[%d] virworld:[%d] local[%d]", housekey,bizkey,carkey,carkey2,carkey3,HireCar[targetid],intir,virworld,local);
  371. SendClientMessage(playerid, COLOR_GRAD6,coordsstring);
  372.  
  373. //STATS
  374. //STATS TEXTDRAWS
  375. format(coordsstring, sizeof(coordsstring),"~y~Ime:~h~~h~ %s",name);
  376. Textdraw0[playerid] = TextDrawCreate(150.000000, 341.000000, coordsstring);
  377. TextDrawBackgroundColor(Textdraw0[playerid], 255);
  378. TextDrawFont(Textdraw0[playerid], 1);
  379. TextDrawLetterSize(Textdraw0[playerid], 0.500000, 1.000000);
  380. TextDrawColor(Textdraw0[playerid], -1);
  381. TextDrawSetOutline(Textdraw0[playerid], 0);
  382. TextDrawSetProportional(Textdraw0[playerid], 1);
  383. TextDrawSetShadow(Textdraw0[playerid], 1);
  384.  
  385. format(coordsstring, sizeof(coordsstring),"~y~Pol:~h~~h~ %s",atext);
  386. Textdraw1[playerid] = TextDrawCreate(151.000000, 361.000000, coordsstring);
  387. TextDrawBackgroundColor(Textdraw1[playerid], 255);
  388. TextDrawFont(Textdraw1[playerid], 1);
  389. TextDrawLetterSize(Textdraw1[playerid], 0.500000, 1.000000);
  390. TextDrawColor(Textdraw1[playerid], -1);
  391. TextDrawSetOutline(Textdraw1[playerid], 0);
  392. TextDrawSetProportional(Textdraw1[playerid], 1);
  393. TextDrawSetShadow(Textdraw1[playerid], 1);
  394.  
  395. format(coordsstring, sizeof(coordsstring),"~y~Godine:~h~~h~ %d",age);
  396. Textdraw2[playerid] = TextDrawCreate(151.000000, 381.000000,coordsstring);
  397. TextDrawBackgroundColor(Textdraw2[playerid], 255);
  398. TextDrawFont(Textdraw2[playerid], 1);
  399. TextDrawLetterSize(Textdraw2[playerid], 0.500000, 1.000000);
  400. TextDrawColor(Textdraw2[playerid], -1);
  401. TextDrawSetOutline(Textdraw2[playerid], 0);
  402. TextDrawSetProportional(Textdraw2[playerid], 1);
  403. TextDrawSetShadow(Textdraw2[playerid], 1);
  404.  
  405. format(coordsstring, sizeof(coordsstring),"~y~Level:~h~~h~ %d",level);
  406. Textdraw3[playerid] = TextDrawCreate(151.000000, 401.000000,coordsstring);
  407. TextDrawBackgroundColor(Textdraw3[playerid], 255);
  408. TextDrawFont(Textdraw3[playerid], 1);
  409. TextDrawLetterSize(Textdraw3[playerid], 0.500000, 1.000000);
  410. TextDrawColor(Textdraw3[playerid], -1);
  411. TextDrawSetOutline(Textdraw3[playerid], 0);
  412. TextDrawSetProportional(Textdraw3[playerid], 1);
  413. TextDrawSetShadow(Textdraw3[playerid], 1);
  414.  
  415. format(coordsstring, sizeof(coordsstring),"~y~Respekt:~h~~h~ %d/%d",exp,expamount);
  416. Textdraw4[playerid] = TextDrawCreate(151.000000, 421.000000,coordsstring);
  417. TextDrawBackgroundColor(Textdraw4[playerid], 255);
  418. TextDrawFont(Textdraw4[playerid], 1);
  419. TextDrawLetterSize(Textdraw4[playerid], 0.500000, 1.000000);
  420. TextDrawColor(Textdraw4[playerid], -1);
  421. TextDrawSetOutline(Textdraw4[playerid], 0);
  422. TextDrawSetProportional(Textdraw4[playerid], 1);
  423. TextDrawSetShadow(Textdraw4[playerid], 1);
  424.  
  425. format(coordsstring, sizeof(coordsstring),"~y~Warns:~h~~h~ %d/5",warns);
  426. Textdraw5[playerid] = TextDrawCreate(310.000000, 341.000000,coordsstring);
  427. TextDrawBackgroundColor(Textdraw5[playerid], 255);
  428. TextDrawFont(Textdraw5[playerid], 1);
  429. TextDrawLetterSize(Textdraw5[playerid], 0.500000, 1.000000);
  430. TextDrawColor(Textdraw5[playerid], -1);
  431. TextDrawSetOutline(Textdraw5[playerid], 0);
  432. TextDrawSetProportional(Textdraw5[playerid], 1);
  433. TextDrawSetShadow(Textdraw5[playerid], 1);
  434.  
  435. format(coordsstring, sizeof(coordsstring),"~y~O.Sati:~h~~h~ %d",ptime);
  436. Textdraw6[playerid] = TextDrawCreate(310.000000, 361.000000,coordsstring);
  437. TextDrawBackgroundColor(Textdraw6[playerid], 255);
  438. TextDrawFont(Textdraw6[playerid], 1);
  439. TextDrawLetterSize(Textdraw6[playerid], 0.500000, 1.000000);
  440. TextDrawColor(Textdraw6[playerid], -1);
  441. TextDrawSetOutline(Textdraw6[playerid], 0);
  442. TextDrawSetProportional(Textdraw6[playerid], 1);
  443. TextDrawSetShadow(Textdraw6[playerid], 1);
  444.  
  445. format(coordsstring, sizeof(coordsstring),"~y~Kredit:~h~~h~ %d",kreditbr);
  446. Textdraw7[playerid] = TextDrawCreate(310.000000, 381.000000,coordsstring);
  447. TextDrawBackgroundColor(Textdraw7[playerid], 255);
  448. TextDrawFont(Textdraw7[playerid], 1);
  449. TextDrawLetterSize(Textdraw7[playerid], 0.500000, 1.000000);
  450. TextDrawColor(Textdraw7[playerid], -1);
  451. TextDrawSetOutline(Textdraw7[playerid], 0);
  452. TextDrawSetProportional(Textdraw7[playerid], 1);
  453. TextDrawSetShadow(Textdraw7[playerid], 1);
  454.  
  455. format(coordsstring, sizeof(coordsstring),"~y~Donator:~h~~h~ %s",drank);
  456. Textdraw8[playerid] = TextDrawCreate(310.000000, 401.000000,coordsstring);
  457. TextDrawBackgroundColor(Textdraw8[playerid], 255);
  458. TextDrawFont(Textdraw8[playerid], 1);
  459. TextDrawLetterSize(Textdraw8[playerid], 0.500000, 1.000000);
  460. TextDrawColor(Textdraw8[playerid], -1);
  461. TextDrawSetOutline(Textdraw8[playerid], 0);
  462. TextDrawSetProportional(Textdraw8[playerid], 1);
  463. TextDrawSetShadow(Textdraw8[playerid], 1);
  464.  
  465. format(coordsstring, sizeof(coordsstring),"~y~Broj:~h~~h~ %d",pnumber);
  466. Textdraw9[playerid] = TextDrawCreate(310.000000, 421.000000,coordsstring);
  467. TextDrawBackgroundColor(Textdraw9[playerid], 255);
  468. TextDrawFont(Textdraw9[playerid], 1);
  469. TextDrawLetterSize(Textdraw9[playerid], 0.500000, 1.000000);
  470. TextDrawColor(Textdraw9[playerid], -1);
  471. TextDrawSetOutline(Textdraw9[playerid], 0);
  472. TextDrawSetProportional(Textdraw9[playerid], 1);
  473. TextDrawSetShadow(Textdraw9[playerid], 1);
  474.  
  475. format(coordsstring, sizeof(coordsstring),"~y~Posao:~h~~h~ %s",jtext);
  476. Textdraw10[playerid] = TextDrawCreate(470.000000, 341.000000,coordsstring);
  477. TextDrawBackgroundColor(Textdraw10[playerid], 255);
  478. TextDrawFont(Textdraw10[playerid], 1);
  479. TextDrawLetterSize(Textdraw10[playerid], 0.500000, 1.000000);
  480. TextDrawColor(Textdraw10[playerid], -1);
  481. TextDrawSetOutline(Textdraw10[playerid], 0);
  482. TextDrawSetProportional(Textdraw10[playerid], 1);
  483. TextDrawSetShadow(Textdraw10[playerid], 1);
  484.  
  485. format(coordsstring, sizeof(coordsstring),"~y~Org:~h~~h~ %s",ftext);
  486. Textdraw11[playerid] = TextDrawCreate(470.000000, 361.000000,coordsstring);
  487. TextDrawBackgroundColor(Textdraw11[playerid], 255);
  488. TextDrawFont(Textdraw11[playerid], 1);
  489. TextDrawLetterSize(Textdraw11[playerid], 0.500000, 1.000000);
  490. TextDrawColor(Textdraw11[playerid], -1);
  491. TextDrawSetOutline(Textdraw11[playerid], 0);
  492. TextDrawSetProportional(Textdraw11[playerid], 1);
  493. TextDrawSetShadow(Textdraw11[playerid], 1);
  494.  
  495. format(coordsstring, sizeof(coordsstring),"~y~Rank:~h~~h~ %s",rtext);
  496. Textdraw12[playerid] = TextDrawCreate(470.000000, 381.000000,coordsstring);
  497. TextDrawBackgroundColor(Textdraw12[playerid], 255);
  498. TextDrawFont(Textdraw12[playerid], 1);
  499. TextDrawLetterSize(Textdraw12[playerid], 0.500000, 1.000000);
  500. TextDrawColor(Textdraw12[playerid], -1);
  501. TextDrawSetOutline(Textdraw12[playerid], 0);
  502. TextDrawSetProportional(Textdraw12[playerid], 1);
  503. TextDrawSetShadow(Textdraw12[playerid], 1);
  504.  
  505. format(coordsstring, sizeof(coordsstring),"~y~Droga:~h~~h~ %d",drugs);
  506. Textdraw13[playerid] = TextDrawCreate(470.000000, 401.000000,coordsstring);
  507. TextDrawBackgroundColor(Textdraw13[playerid], 255);
  508. TextDrawFont(Textdraw13[playerid], 1);
  509. TextDrawLetterSize(Textdraw13[playerid], 0.500000, 1.000000);
  510. TextDrawColor(Textdraw13[playerid], -1);
  511. TextDrawSetOutline(Textdraw13[playerid], 0);
  512. TextDrawSetProportional(Textdraw13[playerid], 1);
  513. TextDrawSetShadow(Textdraw13[playerid], 1);
  514.  
  515. format(coordsstring, sizeof(coordsstring),"~y~Mats:~h~~h~ %d",mats);
  516. Textdraw14[playerid] = TextDrawCreate(470.000000, 421.000000,coordsstring);
  517. TextDrawBackgroundColor(Textdraw14[playerid], 255);
  518. TextDrawFont(Textdraw14[playerid], 1);
  519. TextDrawLetterSize(Textdraw14[playerid], 0.500000, 1.000000);
  520. TextDrawColor(Textdraw14[playerid], -1);
  521. TextDrawSetOutline(Textdraw14[playerid], 0);
  522. TextDrawSetProportional(Textdraw14[playerid], 1);
  523. TextDrawSetShadow(Textdraw14[playerid], 1);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement