Guest User

stats

a guest
Dec 22nd, 2015
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 29.57 KB | None | 0 0
  1. YCMD:stats(playerid, params[],help)
  2. {
  3. #pragma unused help
  4. #pragma unused params
  5. if(UlogovanProvera[playerid] == 0) return GreskaMessage(playerid, "Moras se ulogovati da bi koristio ovu komandu!");
  6. if(IsPlayerInAnyVehicle(playerid)) return SCM(playerid, COLOR_GRESKA," "PPLAVA"BS: "BELA"] {0B83E6}Ne mozete gledati stats dok ste u vozilu!");
  7. KreirajStats(playerid);
  8. return 1;
  9. }
  10. //////////////////////////////////////////////
  11. stock KreirajStats(playerid)
  12. {
  13. if(KreiranStats[playerid] == 0)
  14. {
  15. UPSTATS[0][playerid] = CreatePlayerTextDraw(playerid,523.000000, 128.000000, "_");
  16. PlayerTextDrawBackgroundColor(playerid,UPSTATS[0][playerid], 255);
  17. PlayerTextDrawFont(playerid,UPSTATS[0][playerid], 1);
  18. PlayerTextDrawLetterSize(playerid,UPSTATS[0][playerid], 0.759999, 24.099966);
  19. PlayerTextDrawColor(playerid,UPSTATS[0][playerid], -1);
  20. PlayerTextDrawSetOutline(playerid,UPSTATS[0][playerid], 0);
  21. PlayerTextDrawSetProportional(playerid,UPSTATS[0][playerid], 1);
  22. PlayerTextDrawSetShadow(playerid,UPSTATS[0][playerid], 1);
  23. PlayerTextDrawUseBox(playerid,UPSTATS[0][playerid], 1);
  24. PlayerTextDrawBoxColor(playerid,UPSTATS[0][playerid], 1111638594);
  25. PlayerTextDrawTextSize(playerid,UPSTATS[0][playerid], 136.000000, -1.000000);
  26.  
  27. UPSTATS[1][playerid] = CreatePlayerTextDraw(playerid,523.000000, 128.000000, "_");
  28. PlayerTextDrawBackgroundColor(playerid,UPSTATS[1][playerid], 255);
  29. PlayerTextDrawFont(playerid,UPSTATS[1][playerid], 1);
  30. PlayerTextDrawLetterSize(playerid,UPSTATS[1][playerid], 0.759999, -0.100033);
  31. PlayerTextDrawColor(playerid,UPSTATS[1][playerid], -16776961);
  32. PlayerTextDrawSetOutline(playerid,UPSTATS[1][playerid], 0);
  33. PlayerTextDrawSetProportional(playerid,UPSTATS[1][playerid], 1);
  34. PlayerTextDrawSetShadow(playerid,UPSTATS[1][playerid], 1);
  35. PlayerTextDrawUseBox(playerid,UPSTATS[1][playerid], 1);
  36. PlayerTextDrawBoxColor(playerid,UPSTATS[1][playerid],0xFFFFFFAA );//848756735
  37. PlayerTextDrawTextSize(playerid,UPSTATS[1][playerid], 136.000000, -1.000000);
  38.  
  39. UPSTATS[2][playerid] = CreatePlayerTextDraw(playerid,523.000000, 348.000000, "_");
  40. PlayerTextDrawBackgroundColor(playerid,UPSTATS[2][playerid], 255);
  41. PlayerTextDrawFont(playerid,UPSTATS[2][playerid], 1);
  42. PlayerTextDrawLetterSize(playerid,UPSTATS[2][playerid], 0.759999, -0.100033);
  43. PlayerTextDrawColor(playerid,UPSTATS[2][playerid], -16776961);
  44. PlayerTextDrawSetOutline(playerid,UPSTATS[2][playerid], 0);
  45. PlayerTextDrawSetProportional(playerid,UPSTATS[2][playerid], 1);
  46. PlayerTextDrawSetShadow(playerid,UPSTATS[2][playerid], 1);
  47. PlayerTextDrawUseBox(playerid,UPSTATS[2][playerid], 1);
  48. PlayerTextDrawBoxColor(playerid,UPSTATS[2][playerid], 0xFFFFFFAA);
  49. PlayerTextDrawTextSize(playerid,UPSTATS[2][playerid], 136.000000, -1.000000);
  50.  
  51. UPSTATS[3][playerid] = CreatePlayerTextDraw(playerid,258.000000, 135.000000, "Momenzi Buzyinski");
  52. PlayerTextDrawBackgroundColor(playerid,UPSTATS[3][playerid], 255);
  53. PlayerTextDrawFont(playerid,UPSTATS[3][playerid], 2);
  54. PlayerTextDrawLetterSize(playerid,UPSTATS[3][playerid], 0.470000, 1.400000);
  55. PlayerTextDrawColor(playerid,UPSTATS[3][playerid], -1);
  56. PlayerTextDrawSetOutline(playerid,UPSTATS[3][playerid], 0);
  57. PlayerTextDrawSetProportional(playerid,UPSTATS[3][playerid], 1);
  58. PlayerTextDrawSetShadow(playerid,UPSTATS[3][playerid], 1);
  59.  
  60. UPSTATS[4][playerid] = CreatePlayerTextDraw(playerid,168.000000, 265.000000, "Posao ugovor: 5");
  61. PlayerTextDrawBackgroundColor(playerid,UPSTATS[4][playerid], 255);
  62. PlayerTextDrawFont(playerid,UPSTATS[4][playerid], 2);
  63. PlayerTextDrawLetterSize(playerid,UPSTATS[4][playerid], 0.320000, 1.200000);
  64. PlayerTextDrawColor(playerid,UPSTATS[4][playerid], -1);
  65. PlayerTextDrawSetOutline(playerid,UPSTATS[4][playerid], 0);
  66. PlayerTextDrawSetProportional(playerid,UPSTATS[4][playerid], 1);
  67. PlayerTextDrawSetShadow(playerid,UPSTATS[4][playerid], 1);
  68.  
  69. UPSTATS[5][playerid] = CreatePlayerTextDraw(playerid,162.000000, 281.000000, "Novac: 50000000$");
  70. PlayerTextDrawBackgroundColor(playerid,UPSTATS[5][playerid], 255);
  71. PlayerTextDrawFont(playerid,UPSTATS[5][playerid], 2);
  72. PlayerTextDrawLetterSize(playerid,UPSTATS[5][playerid], 0.320000, 1.200000);
  73. PlayerTextDrawColor(playerid,UPSTATS[5][playerid], -1);
  74. PlayerTextDrawSetOutline(playerid,UPSTATS[5][playerid], 0);
  75. PlayerTextDrawSetProportional(playerid,UPSTATS[5][playerid], 1);
  76. PlayerTextDrawSetShadow(playerid,UPSTATS[5][playerid], 1);
  77.  
  78. UPSTATS[6][playerid] = CreatePlayerTextDraw(playerid,432.000000, 187.000000, "Auto: Da");
  79. PlayerTextDrawBackgroundColor(playerid,UPSTATS[6][playerid], 255);
  80. PlayerTextDrawFont(playerid,UPSTATS[6][playerid], 2);
  81. PlayerTextDrawLetterSize(playerid,UPSTATS[6][playerid], 0.320000, 1.200000);
  82. PlayerTextDrawColor(playerid,UPSTATS[6][playerid], -1);
  83. PlayerTextDrawSetOutline(playerid,UPSTATS[6][playerid], 0);
  84. PlayerTextDrawSetProportional(playerid,UPSTATS[6][playerid], 1);
  85. PlayerTextDrawSetShadow(playerid,UPSTATS[6][playerid], 1);
  86.  
  87. UPSTATS[7][playerid] = CreatePlayerTextDraw(playerid,334.000000, 203.000000, "Motor: Da");
  88. PlayerTextDrawBackgroundColor(playerid,UPSTATS[7][playerid], 255);
  89. PlayerTextDrawFont(playerid,UPSTATS[7][playerid], 2);
  90. PlayerTextDrawLetterSize(playerid,UPSTATS[7][playerid], 0.320000, 1.200000);
  91. PlayerTextDrawColor(playerid,UPSTATS[7][playerid], -1);
  92. PlayerTextDrawSetOutline(playerid,UPSTATS[7][playerid], 0);
  93. PlayerTextDrawSetProportional(playerid,UPSTATS[7][playerid], 1);
  94. PlayerTextDrawSetShadow(playerid,UPSTATS[7][playerid], 1);
  95.  
  96. UPSTATS[8][playerid] = CreatePlayerTextDraw(playerid,523.000000, 158.000000, "_");
  97. PlayerTextDrawBackgroundColor(playerid,UPSTATS[8][playerid], 255);
  98. PlayerTextDrawFont(playerid,UPSTATS[8][playerid], 1);
  99. PlayerTextDrawLetterSize(playerid,UPSTATS[8][playerid], 0.759999, -0.100033);
  100. PlayerTextDrawColor(playerid,UPSTATS[8][playerid], -16776961);
  101. PlayerTextDrawSetOutline(playerid,UPSTATS[8][playerid], 0);
  102. PlayerTextDrawSetProportional(playerid,UPSTATS[8][playerid], 1);
  103. PlayerTextDrawSetShadow(playerid,UPSTATS[8][playerid], 1);
  104. PlayerTextDrawUseBox(playerid,UPSTATS[8][playerid], 1);
  105. PlayerTextDrawBoxColor(playerid,UPSTATS[8][playerid], 0xFFFFFFAA);
  106. PlayerTextDrawTextSize(playerid,UPSTATS[8][playerid], 136.000000, -1.000000);
  107.  
  108. UPSTATS[9][playerid] = CreatePlayerTextDraw(playerid,327.000000, 163.000000, "_");
  109. PlayerTextDrawBackgroundColor(playerid,UPSTATS[9][playerid], 255);
  110. PlayerTextDrawFont(playerid,UPSTATS[9][playerid], 1);
  111. PlayerTextDrawLetterSize(playerid,UPSTATS[9][playerid], 0.870000, 20.299964);
  112. PlayerTextDrawColor(playerid,UPSTATS[9][playerid], -16776961);
  113. PlayerTextDrawSetOutline(playerid,UPSTATS[9][playerid], 0);
  114. PlayerTextDrawSetProportional(playerid,UPSTATS[9][playerid], 1);
  115. PlayerTextDrawSetShadow(playerid,UPSTATS[9][playerid], 1);
  116. PlayerTextDrawUseBox(playerid,UPSTATS[9][playerid], 1);
  117. PlayerTextDrawBoxColor(playerid,UPSTATS[9][playerid], 0xFFFFFFAA);
  118. PlayerTextDrawTextSize(playerid,UPSTATS[9][playerid], 310.000000, -4.000000);
  119.  
  120. UPSTATS[10][playerid] = CreatePlayerTextDraw(playerid,161.000000, 330.000000, "Masinovodja");
  121. PlayerTextDrawBackgroundColor(playerid,UPSTATS[10][playerid], 255);
  122. PlayerTextDrawFont(playerid,UPSTATS[10][playerid], 2);
  123. PlayerTextDrawLetterSize(playerid,UPSTATS[10][playerid], 0.400000, 1.100000);
  124. PlayerTextDrawColor(playerid,UPSTATS[10][playerid], -1);
  125. PlayerTextDrawSetOutline(playerid,UPSTATS[10][playerid], 0);
  126. PlayerTextDrawSetProportional(playerid,UPSTATS[10][playerid], 1);
  127. PlayerTextDrawSetShadow(playerid,UPSTATS[10][playerid], 1);
  128.  
  129. UPSTATS[11][playerid] = CreatePlayerTextDraw(playerid,523.000000, 324.000000, "_");
  130. PlayerTextDrawBackgroundColor(playerid,UPSTATS[11][playerid], 255);
  131. PlayerTextDrawFont(playerid,UPSTATS[11][playerid], 1);
  132. PlayerTextDrawLetterSize(playerid,UPSTATS[11][playerid], 0.759999, -0.100033);
  133. PlayerTextDrawColor(playerid,UPSTATS[11][playerid], -16776961);
  134. PlayerTextDrawSetOutline(playerid,UPSTATS[11][playerid], 0);
  135. PlayerTextDrawSetProportional(playerid,UPSTATS[11][playerid], 1);
  136. PlayerTextDrawSetShadow(playerid,UPSTATS[11][playerid], 1);
  137. PlayerTextDrawUseBox(playerid,UPSTATS[11][playerid], 1);
  138. PlayerTextDrawBoxColor(playerid,UPSTATS[11][playerid], 0xFFFFFFAA);
  139. PlayerTextDrawTextSize(playerid,UPSTATS[11][playerid], 136.000000, -1.000000);
  140.  
  141. UPSTATS[12][playerid] = CreatePlayerTextDraw(playerid,164.000000, 186.000000, "Respekti: 50/500");
  142. PlayerTextDrawBackgroundColor(playerid,UPSTATS[12][playerid], 255);
  143. PlayerTextDrawFont(playerid,UPSTATS[12][playerid], 2);
  144. PlayerTextDrawLetterSize(playerid,UPSTATS[12][playerid], 0.320000, 1.200000);
  145. PlayerTextDrawColor(playerid,UPSTATS[12][playerid], -1);
  146. PlayerTextDrawSetOutline(playerid,UPSTATS[12][playerid], 0);
  147. PlayerTextDrawSetProportional(playerid,UPSTATS[12][playerid], 1);
  148. PlayerTextDrawSetShadow(playerid,UPSTATS[12][playerid], 1);
  149.  
  150. UPSTATS[13][playerid] = CreatePlayerTextDraw(playerid,188.000000, 170.000000, "Level: 50");
  151. PlayerTextDrawBackgroundColor(playerid,UPSTATS[13][playerid], 255);
  152. PlayerTextDrawFont(playerid,UPSTATS[13][playerid], 2);
  153. PlayerTextDrawLetterSize(playerid,UPSTATS[13][playerid], 0.320000, 1.200000);
  154. PlayerTextDrawColor(playerid,UPSTATS[13][playerid], -1);
  155. PlayerTextDrawSetOutline(playerid,UPSTATS[13][playerid], 0);
  156. PlayerTextDrawSetProportional(playerid,UPSTATS[13][playerid], 1);
  157. PlayerTextDrawSetShadow(playerid,UPSTATS[13][playerid], 1);
  158.  
  159. UPSTATS[14][playerid] = CreatePlayerTextDraw(playerid,334.000000, 330.000000, "Balkan Step Police Department");
  160. PlayerTextDrawBackgroundColor(playerid,UPSTATS[14][playerid], 255);
  161. PlayerTextDrawFont(playerid,UPSTATS[14][playerid], 2);
  162. PlayerTextDrawLetterSize(playerid,UPSTATS[14][playerid], 0.250000, 1.200000);
  163. PlayerTextDrawColor(playerid,UPSTATS[14][playerid], -1);
  164. PlayerTextDrawSetOutline(playerid,UPSTATS[14][playerid], 0);
  165. PlayerTextDrawSetProportional(playerid,UPSTATS[14][playerid], 1);
  166. PlayerTextDrawSetShadow(playerid,UPSTATS[14][playerid], 1);
  167.  
  168. UPSTATS[15][playerid] = CreatePlayerTextDraw(playerid,334.000000, 187.000000, "Plovilo: Da");
  169. PlayerTextDrawBackgroundColor(playerid,UPSTATS[15][playerid], 255);
  170. PlayerTextDrawFont(playerid,UPSTATS[15][playerid], 2);
  171. PlayerTextDrawLetterSize(playerid,UPSTATS[15][playerid], 0.320000, 1.200000);
  172. PlayerTextDrawColor(playerid,UPSTATS[15][playerid], -1);
  173. PlayerTextDrawSetOutline(playerid,UPSTATS[15][playerid], 0);
  174. PlayerTextDrawSetProportional(playerid,UPSTATS[15][playerid], 1);
  175. PlayerTextDrawSetShadow(playerid,UPSTATS[15][playerid], 1);
  176.  
  177. UPSTATS[16][playerid] = CreatePlayerTextDraw(playerid,181.000000, 218.000000, "Rank org: 5");
  178. PlayerTextDrawBackgroundColor(playerid,UPSTATS[16][playerid], 255);
  179. PlayerTextDrawFont(playerid,UPSTATS[16][playerid], 2);
  180. PlayerTextDrawLetterSize(playerid,UPSTATS[16][playerid], 0.320000, 1.200000);
  181. PlayerTextDrawColor(playerid,UPSTATS[16][playerid], -1);
  182. PlayerTextDrawSetOutline(playerid,UPSTATS[16][playerid], 0);
  183. PlayerTextDrawSetProportional(playerid,UPSTATS[16][playerid], 1);
  184. PlayerTextDrawSetShadow(playerid,UPSTATS[16][playerid], 1);
  185.  
  186. UPSTATS[17][playerid] = CreatePlayerTextDraw(playerid,174.000000, 202.000000, "Sati igre: 1000");
  187. PlayerTextDrawBackgroundColor(playerid,UPSTATS[17][playerid], 255);
  188. PlayerTextDrawFont(playerid,UPSTATS[17][playerid], 2);
  189. PlayerTextDrawLetterSize(playerid,UPSTATS[17][playerid], 0.320000, 1.200000);
  190. PlayerTextDrawColor(playerid,UPSTATS[17][playerid], -1);
  191. PlayerTextDrawSetOutline(playerid,UPSTATS[17][playerid], 0);
  192. PlayerTextDrawSetProportional(playerid,UPSTATS[17][playerid], 1);
  193. PlayerTextDrawSetShadow(playerid,UPSTATS[17][playerid], 1);
  194.  
  195. UPSTATS[18][playerid] = CreatePlayerTextDraw(playerid,176.000000, 234.000000, "Org Kazna: 15");
  196. PlayerTextDrawBackgroundColor(playerid,UPSTATS[18][playerid], 255);
  197. PlayerTextDrawFont(playerid,UPSTATS[18][playerid], 2);
  198. PlayerTextDrawLetterSize(playerid,UPSTATS[18][playerid], 0.320000, 1.200000);
  199. PlayerTextDrawColor(playerid,UPSTATS[18][playerid], -1);
  200. PlayerTextDrawSetOutline(playerid,UPSTATS[18][playerid], 0);
  201. PlayerTextDrawSetProportional(playerid,UPSTATS[18][playerid], 1);
  202. PlayerTextDrawSetShadow(playerid,UPSTATS[18][playerid], 1);
  203.  
  204. UPSTATS[19][playerid] = CreatePlayerTextDraw(playerid,185.000000, 249.000000, "Warn: 4/5");
  205. PlayerTextDrawBackgroundColor(playerid,UPSTATS[19][playerid], 255);
  206. PlayerTextDrawFont(playerid,UPSTATS[19][playerid], 2);
  207. PlayerTextDrawLetterSize(playerid,UPSTATS[19][playerid], 0.290000, 1.300000);
  208. PlayerTextDrawColor(playerid,UPSTATS[19][playerid], -1);
  209. PlayerTextDrawSetOutline(playerid,UPSTATS[19][playerid], 0);
  210. PlayerTextDrawSetProportional(playerid,UPSTATS[19][playerid], 1);
  211. PlayerTextDrawSetShadow(playerid,UPSTATS[19][playerid], 1);
  212.  
  213. UPSTATS[20][playerid] = CreatePlayerTextDraw(playerid,162.000000, 296.000000, "Banka: 500000000$");
  214. PlayerTextDrawBackgroundColor(playerid,UPSTATS[20][playerid], 255);
  215. PlayerTextDrawFont(playerid,UPSTATS[20][playerid], 2);
  216. PlayerTextDrawLetterSize(playerid,UPSTATS[20][playerid], 0.320000, 1.200000);
  217. PlayerTextDrawColor(playerid,UPSTATS[20][playerid], -1);
  218. PlayerTextDrawSetOutline(playerid,UPSTATS[20][playerid], 0);
  219. PlayerTextDrawSetProportional(playerid,UPSTATS[20][playerid], 1);
  220. PlayerTextDrawSetShadow(playerid,UPSTATS[20][playerid], 1);
  221.  
  222. UPSTATS[21][playerid] = CreatePlayerTextDraw(playerid,334.000000, 170.000000, "Kuca: Da");
  223. PlayerTextDrawBackgroundColor(playerid,UPSTATS[21][playerid], 255);
  224. PlayerTextDrawFont(playerid,UPSTATS[21][playerid], 2);
  225. PlayerTextDrawLetterSize(playerid,UPSTATS[21][playerid], 0.320000, 1.200000);
  226. PlayerTextDrawColor(playerid,UPSTATS[21][playerid], -1);
  227. PlayerTextDrawSetOutline(playerid,UPSTATS[21][playerid], 0);
  228. PlayerTextDrawSetProportional(playerid,UPSTATS[21][playerid], 1);
  229. PlayerTextDrawSetShadow(playerid,UPSTATS[21][playerid], 1);
  230.  
  231. UPSTATS[22][playerid] = CreatePlayerTextDraw(playerid,424.000000, 203.000000, "Biciklo: Da");
  232. PlayerTextDrawBackgroundColor(playerid,UPSTATS[22][playerid], 255);
  233. PlayerTextDrawFont(playerid,UPSTATS[22][playerid], 2);
  234. PlayerTextDrawLetterSize(playerid,UPSTATS[22][playerid], 0.320000, 1.200000);
  235. PlayerTextDrawColor(playerid,UPSTATS[22][playerid], -1);
  236. PlayerTextDrawSetOutline(playerid,UPSTATS[22][playerid], 0);
  237. PlayerTextDrawSetProportional(playerid,UPSTATS[22][playerid], 1);
  238. PlayerTextDrawSetShadow(playerid,UPSTATS[22][playerid], 1);
  239.  
  240. UPSTATS[23][playerid] = CreatePlayerTextDraw(playerid,407.000000, 170.000000, "Vikendica: Da");
  241. PlayerTextDrawBackgroundColor(playerid,UPSTATS[23][playerid], 255);
  242. PlayerTextDrawFont(playerid,UPSTATS[23][playerid], 2);
  243. PlayerTextDrawLetterSize(playerid,UPSTATS[23][playerid], 0.320000, 1.200000);
  244. PlayerTextDrawColor(playerid,UPSTATS[23][playerid], -1);
  245. PlayerTextDrawSetOutline(playerid,UPSTATS[23][playerid], 0);
  246. PlayerTextDrawSetProportional(playerid,UPSTATS[23][playerid], 1);
  247. PlayerTextDrawSetShadow(playerid,UPSTATS[23][playerid], 1);
  248.  
  249. UPSTATS[24][playerid] = CreatePlayerTextDraw(playerid,335.000000, 221.000000, "Letjelica: Da");
  250. PlayerTextDrawBackgroundColor(playerid,UPSTATS[24][playerid], 255);
  251. PlayerTextDrawFont(playerid,UPSTATS[24][playerid], 2);
  252. PlayerTextDrawLetterSize(playerid,UPSTATS[24][playerid], 0.320000, 1.200000);
  253. PlayerTextDrawColor(playerid,UPSTATS[24][playerid], -1);
  254. PlayerTextDrawSetOutline(playerid,UPSTATS[24][playerid], 0);
  255. PlayerTextDrawSetProportional(playerid,UPSTATS[24][playerid], 1);
  256. PlayerTextDrawSetShadow(playerid,UPSTATS[24][playerid], 1);
  257.  
  258. UPSTATS[25][playerid] = CreatePlayerTextDraw(playerid,438.000000, 221.000000, "Firma: Da");
  259. PlayerTextDrawBackgroundColor(playerid,UPSTATS[25][playerid], 255);
  260. PlayerTextDrawFont(playerid,UPSTATS[25][playerid], 2);
  261. PlayerTextDrawLetterSize(playerid,UPSTATS[25][playerid], 0.320000, 1.200000);
  262. PlayerTextDrawColor(playerid,UPSTATS[25][playerid], -1);
  263. PlayerTextDrawSetOutline(playerid,UPSTATS[25][playerid], 0);
  264. PlayerTextDrawSetProportional(playerid,UPSTATS[25][playerid], 1);
  265. PlayerTextDrawSetShadow(playerid,UPSTATS[25][playerid], 1);
  266.  
  267. UPSTATS[26][playerid] = CreatePlayerTextDraw(playerid,336.000000, 238.000000, "Stan: Da");
  268. PlayerTextDrawBackgroundColor(playerid,UPSTATS[26][playerid], 255);
  269. PlayerTextDrawFont(playerid,UPSTATS[26][playerid], 2);
  270. PlayerTextDrawLetterSize(playerid,UPSTATS[26][playerid], 0.320000, 1.200000);
  271. PlayerTextDrawColor(playerid,UPSTATS[26][playerid], -1);
  272. PlayerTextDrawSetOutline(playerid,UPSTATS[26][playerid], 0);
  273. PlayerTextDrawSetProportional(playerid,UPSTATS[26][playerid], 1);
  274. PlayerTextDrawSetShadow(playerid,UPSTATS[26][playerid], 1);
  275.  
  276. UPSTATS[27][playerid] = CreatePlayerTextDraw(playerid,419.000000, 238.000000, "Mobilni: Da");
  277. PlayerTextDrawBackgroundColor(playerid,UPSTATS[27][playerid], 255);
  278. PlayerTextDrawFont(playerid,UPSTATS[27][playerid], 2);
  279. PlayerTextDrawLetterSize(playerid,UPSTATS[27][playerid], 0.320000, 1.200000);
  280. PlayerTextDrawColor(playerid,UPSTATS[27][playerid], -1);
  281. PlayerTextDrawSetOutline(playerid,UPSTATS[27][playerid], 0);
  282. PlayerTextDrawSetProportional(playerid,UPSTATS[27][playerid], 1);
  283. PlayerTextDrawSetShadow(playerid,UPSTATS[27][playerid], 1);
  284.  
  285. UPSTATS[28][playerid] = CreatePlayerTextDraw(playerid,523.000000, 258.000000, "_");
  286. PlayerTextDrawBackgroundColor(playerid,UPSTATS[28][playerid], 255);
  287. PlayerTextDrawFont(playerid,UPSTATS[28][playerid], 1);
  288. PlayerTextDrawLetterSize(playerid,UPSTATS[28][playerid], 0.759999, -0.100033);
  289. PlayerTextDrawColor(playerid,UPSTATS[28][playerid], -16776961);
  290. PlayerTextDrawSetOutline(playerid,UPSTATS[28][playerid], 0);
  291. PlayerTextDrawSetProportional(playerid,UPSTATS[28][playerid], 1);
  292. PlayerTextDrawSetShadow(playerid,UPSTATS[28][playerid], 1);
  293. PlayerTextDrawUseBox(playerid,UPSTATS[28][playerid], 1);
  294. PlayerTextDrawBoxColor(playerid,UPSTATS[28][playerid], 0xFFFFFFAA);
  295. PlayerTextDrawTextSize(playerid,UPSTATS[28][playerid], 317.000000, -1.000000);
  296.  
  297. UPSTATS[29][playerid] = CreatePlayerTextDraw(playerid,331.000000, 261.000000, "Droga: 5000g");
  298. PlayerTextDrawBackgroundColor(playerid,UPSTATS[29][playerid], 255);
  299. PlayerTextDrawFont(playerid,UPSTATS[29][playerid], 2);
  300. PlayerTextDrawLetterSize(playerid,UPSTATS[29][playerid], 0.260000, 1.300000);
  301. PlayerTextDrawColor(playerid,UPSTATS[29][playerid], -1);
  302. PlayerTextDrawSetOutline(playerid,UPSTATS[29][playerid], 0);
  303. PlayerTextDrawSetProportional(playerid,UPSTATS[29][playerid], 1);
  304. PlayerTextDrawSetShadow(playerid,UPSTATS[29][playerid], 1);
  305.  
  306. UPSTATS[30][playerid] = CreatePlayerTextDraw(playerid,331.000000, 275.000000, "Mats: 150000");
  307. PlayerTextDrawBackgroundColor(playerid,UPSTATS[30][playerid], 255);
  308. PlayerTextDrawFont(playerid,UPSTATS[30][playerid], 2);
  309. PlayerTextDrawLetterSize(playerid,UPSTATS[30][playerid], 0.260000, 1.300000);
  310. PlayerTextDrawColor(playerid,UPSTATS[30][playerid], -1);
  311. PlayerTextDrawSetOutline(playerid,UPSTATS[30][playerid], 0);
  312. PlayerTextDrawSetProportional(playerid,UPSTATS[30][playerid], 1);
  313. PlayerTextDrawSetShadow(playerid,UPSTATS[30][playerid], 1);
  314.  
  315. UPSTATS[31][playerid] = CreatePlayerTextDraw(playerid,331.000000, 289.000000, "Godine: 50");
  316. PlayerTextDrawBackgroundColor(playerid,UPSTATS[31][playerid], 255);
  317. PlayerTextDrawFont(playerid,UPSTATS[31][playerid], 2);
  318. PlayerTextDrawLetterSize(playerid,UPSTATS[31][playerid], 0.260000, 1.300000);
  319. PlayerTextDrawColor(playerid,UPSTATS[31][playerid], -1);
  320. PlayerTextDrawSetOutline(playerid,UPSTATS[31][playerid], 0);
  321. PlayerTextDrawSetProportional(playerid,UPSTATS[31][playerid], 1);
  322. PlayerTextDrawSetShadow(playerid,UPSTATS[31][playerid], 1);
  323.  
  324. UPSTATS[32][playerid] = CreatePlayerTextDraw(playerid,331.000000, 303.000000, "Pol: Musko");
  325. PlayerTextDrawBackgroundColor(playerid,UPSTATS[32][playerid], 255);
  326. PlayerTextDrawFont(playerid,UPSTATS[32][playerid], 2);
  327. PlayerTextDrawLetterSize(playerid,UPSTATS[32][playerid], 0.260000, 1.300000);
  328. PlayerTextDrawColor(playerid,UPSTATS[32][playerid], -1);
  329. PlayerTextDrawSetOutline(playerid,UPSTATS[32][playerid], 0);
  330. PlayerTextDrawSetProportional(playerid,UPSTATS[32][playerid], 1);
  331. PlayerTextDrawSetShadow(playerid,UPSTATS[32][playerid], 1);
  332.  
  333. UPSTATS[33][playerid] = CreatePlayerTextDraw(playerid,433.000000, 261.000000, "Wanted: 5");
  334. PlayerTextDrawBackgroundColor(playerid,UPSTATS[33][playerid], 255);
  335. PlayerTextDrawFont(playerid,UPSTATS[33][playerid], 2);
  336. PlayerTextDrawLetterSize(playerid,UPSTATS[33][playerid], 0.260000, 1.300000);
  337. PlayerTextDrawColor(playerid,UPSTATS[33][playerid], -1);
  338. PlayerTextDrawSetOutline(playerid,UPSTATS[33][playerid], 0);
  339. PlayerTextDrawSetProportional(playerid,UPSTATS[33][playerid], 1);
  340. PlayerTextDrawSetShadow(playerid,UPSTATS[33][playerid], 1);
  341.  
  342. UPSTATS[34][playerid] = CreatePlayerTextDraw(playerid,433.000000, 275.000000, "Kredit: Da");
  343. PlayerTextDrawBackgroundColor(playerid,UPSTATS[34][playerid], 255);
  344. PlayerTextDrawFont(playerid,UPSTATS[34][playerid], 2);
  345. PlayerTextDrawLetterSize(playerid,UPSTATS[34][playerid], 0.260000, 1.300000);
  346. PlayerTextDrawColor(playerid,UPSTATS[34][playerid], -1);
  347. PlayerTextDrawSetOutline(playerid,UPSTATS[34][playerid], 0);
  348. PlayerTextDrawSetProportional(playerid,UPSTATS[34][playerid], 1);
  349. PlayerTextDrawSetShadow(playerid,UPSTATS[34][playerid], 1);
  350.  
  351. UPSTATS[35][playerid] = CreatePlayerTextDraw(playerid,433.000000, 289.000000, "Mob kredit: 50");
  352. PlayerTextDrawBackgroundColor(playerid,UPSTATS[35][playerid], 255);
  353. PlayerTextDrawFont(playerid,UPSTATS[35][playerid], 2);
  354. PlayerTextDrawLetterSize(playerid,UPSTATS[35][playerid], 0.260000, 1.300000);
  355. PlayerTextDrawColor(playerid,UPSTATS[35][playerid], -1);
  356. PlayerTextDrawSetOutline(playerid,UPSTATS[35][playerid], 0);
  357. PlayerTextDrawSetProportional(playerid,UPSTATS[35][playerid], 1);
  358. PlayerTextDrawSetShadow(playerid,UPSTATS[35][playerid], 1);
  359.  
  360. UPSTATS[36][playerid] = CreatePlayerTextDraw(playerid,433.000000, 305.000000, "Uhapsen puta: 50");
  361. PlayerTextDrawBackgroundColor(playerid,UPSTATS[36][playerid], 255);
  362. PlayerTextDrawFont(playerid,UPSTATS[36][playerid], 2);
  363. PlayerTextDrawLetterSize(playerid,UPSTATS[36][playerid], 0.230000, 1.300000);
  364. PlayerTextDrawColor(playerid,UPSTATS[36][playerid], -1);
  365. PlayerTextDrawSetOutline(playerid,UPSTATS[36][playerid], 0);
  366. PlayerTextDrawSetProportional(playerid,UPSTATS[36][playerid], 1);
  367. PlayerTextDrawSetShadow(playerid,UPSTATS[36][playerid], 1);
  368.  
  369. UPSTATS[37][playerid] = CreatePlayerTextDraw(playerid,143.000000, 114.000000, "LICNA KARTA"); // stats dodatak by Momenzi
  370. PlayerTextDrawBackgroundColor(playerid,UPSTATS[37][playerid], 255);
  371. PlayerTextDrawFont(playerid,UPSTATS[37][playerid], 1);
  372. PlayerTextDrawColor(playerid,UPSTATS[37][playerid], -1);
  373. PlayerTextDrawSetOutline(playerid,UPSTATS[37][playerid], 0);
  374. PlayerTextDrawSetProportional(playerid,UPSTATS[37][playerid], 1);
  375. PlayerTextDrawSetShadow(playerid,UPSTATS[37][playerid], 1);
  376. PlayerTextDrawUseBox(playerid,UPSTATS[37][playerid], 1);
  377. PlayerTextDrawBoxColor(playerid,UPSTATS[37][playerid], 0x2641FEAA);
  378. PlayerTextDrawTextSize(playerid,UPSTATS[37][playerid], 516.000000, -177.000000);
  379.  
  380. new string[256], iskustvo; iskustvo = (PlayerInfo[playerid][pLevel] * 2) + 2;
  381. new auto1[3], motor[3], bicikla[3], letelica[3], plovilo[3], kuca[3], stan[3], vikendica[3], firma[3], mobilni[3], pol[7], kredit[3];
  382. if(PlayerInfo[playerid][pPreostaloZaOtplatu] == 0) kredit = "Ne";
  383. else if(PlayerInfo[playerid][pPreostaloZaOtplatu] > 0) kredit = "Da";
  384. if(PlayerInfo[playerid][pSex] == 1) pol = "Musko";
  385. else if(PlayerInfo[playerid][pSex] == 2) pol = "Zensko";
  386. if(PlayerInfo[playerid][pMobilni] == 0) mobilni = "Ne";
  387. else if(PlayerInfo[playerid][pMobilni] != 0) mobilni = "Da";
  388. if(PlayerInfo[playerid][pPosedovanjeAuta] == -1) auto1 = "Ne";
  389. else if(PlayerInfo[playerid][pPosedovanjeAuta] != -1) auto1 = "Da";
  390. if(PlayerInfo[playerid][pPosedovanjeMotora] == -1) motor = "Ne";
  391. else if(PlayerInfo[playerid][pPosedovanjeMotora] != -1) motor = "Da";
  392. if(PlayerInfo[playerid][pPosedovanjeBicikla] == -1) bicikla = "Ne";
  393. else if(PlayerInfo[playerid][pPosedovanjeBicikla] != -1) bicikla = "Da";
  394. if(PlayerInfo[playerid][pPosedovanjeAviona] == -1) letelica = "Ne";
  395. else if(PlayerInfo[playerid][pPosedovanjeAviona] != -1) letelica = "Da";
  396. if(PlayerInfo[playerid][pPosedovanjePlovila] == -1) plovilo = "Ne";
  397. else if(PlayerInfo[playerid][pPosedovanjePlovila] != -1) plovilo = "Da";
  398. if(PlayerInfo[playerid][pPosedovanjeKuce] == -1) kuca = "Ne";
  399. else if(PlayerInfo[playerid][pPosedovanjeKuce] != -1) kuca = "Da";
  400. if(PlayerInfo[playerid][pPosedovanjeStana] == -1) stan = "Ne";
  401. else if(PlayerInfo[playerid][pPosedovanjeStana] != -1) stan = "Da";
  402. if(PlayerInfo[playerid][pPosedovanjeVikendice] == -1) vikendica = "Ne";
  403. else if(PlayerInfo[playerid][pPosedovanjeVikendice] != -1) vikendica = "Da";
  404. if(PlayerInfo[playerid][pPosedovanjeFirme] == -1) firma = "Ne";
  405. else if(PlayerInfo[playerid][pPosedovanjeFirme] != -1) firma = "Da";
  406. for(new i = 0; i < 38; i++) PlayerTextDrawShow(playerid, UPSTATS[i][playerid]);
  407. KreiranStats[playerid] = 1; GreskaMessage(playerid, "Da zatvorite stats kucajte ponovo '/stats'!");
  408. format(string, sizeof(string),"%s",GetName(playerid));
  409. PlayerTextDrawSetString(playerid,UPSTATS[3][playerid], string);
  410. format(string, sizeof(string),"~b~Posao ugovor: ~w~%d",PlayerInfo[playerid][pPosaoUgovor]);
  411. PlayerTextDrawSetString(playerid,UPSTATS[4][playerid], string);
  412. format(string, sizeof(string),"~b~Novac: ~g~%d$",PlayerInfo[playerid][pNovacDzep]);
  413. PlayerTextDrawSetString(playerid,UPSTATS[5][playerid], string);
  414. format(string, sizeof(string),"~b~Auto: ~w~%s",auto1);
  415. PlayerTextDrawSetString(playerid,UPSTATS[6][playerid], string);
  416. format(string, sizeof(string),"~b~Motor: ~w~%s",motor);
  417. PlayerTextDrawSetString(playerid,UPSTATS[7][playerid], string);
  418. format(string, sizeof(string),"~b~Respekti: ~w~%d/%d",PlayerInfo[playerid][pExp], iskustvo);
  419. PlayerTextDrawSetString(playerid,UPSTATS[12][playerid], string);
  420. format(string, sizeof(string),"~b~Level: ~w~%d",PlayerInfo[playerid][pLevel]);
  421. PlayerTextDrawSetString(playerid,UPSTATS[13][playerid], string);
  422. format(string, sizeof(string),"%s",PosaoIme(PlayerInfo[playerid][pPosao]));
  423. PlayerTextDrawSetString(playerid,UPSTATS[10][playerid], string);
  424. format(string, sizeof(string),"%s",ImeOrganizacije(PlayerInfo[playerid][pClan]));
  425. PlayerTextDrawSetString(playerid,UPSTATS[14][playerid], string);
  426. format(string, sizeof(string),"~b~Plovilo: ~w~%s",plovilo);
  427. PlayerTextDrawSetString(playerid,UPSTATS[15][playerid], string);
  428. format(string, sizeof(string),"~b~Rank org: ~w~%d",PlayerInfo[playerid][pRank]);
  429. PlayerTextDrawSetString(playerid,UPSTATS[16][playerid], string);
  430. format(string, sizeof(string),"~b~Sati igre: ~w~%d",PlayerInfo[playerid][pSatiIgre]);
  431. PlayerTextDrawSetString(playerid,UPSTATS[17][playerid], string);
  432. format(string, sizeof(string),"~b~Org kazna: ~w~%d",PlayerInfo[playerid][pOrgUgovor]);
  433. PlayerTextDrawSetString(playerid,UPSTATS[18][playerid], string);
  434. format(string, sizeof(string),"~b~Warn: ~w~%d/5",PlayerInfo[playerid][pWarn]);
  435. PlayerTextDrawSetString(playerid,UPSTATS[19][playerid], string);
  436. format(string, sizeof(string),"~b~Banka: ~g~%d$",PlayerInfo[playerid][pNovacBanka]);
  437. PlayerTextDrawSetString(playerid,UPSTATS[20][playerid], string);
  438. format(string, sizeof(string),"~b~Kuca: ~w~%s",kuca);
  439. PlayerTextDrawSetString(playerid,UPSTATS[21][playerid], string);
  440. format(string, sizeof(string),"~b~Biciklo: ~w~%s",bicikla);
  441. PlayerTextDrawSetString(playerid,UPSTATS[22][playerid], string);
  442. format(string, sizeof(string),"~b~Vikendica: ~w~%s",vikendica);
  443. PlayerTextDrawSetString(playerid,UPSTATS[23][playerid], string);
  444. format(string, sizeof(string),"~b~Letjelica: ~w~%s",letelica);
  445. PlayerTextDrawSetString(playerid,UPSTATS[24][playerid], string);
  446. format(string, sizeof(string),"~b~Firma: ~w~%s",firma);
  447. PlayerTextDrawSetString(playerid,UPSTATS[25][playerid], string);
  448. format(string, sizeof(string),"~b~Stan: ~w~%s",stan);
  449. PlayerTextDrawSetString(playerid,UPSTATS[26][playerid], string);
  450. format(string, sizeof(string),"~b~Mobilni: ~w~%s",mobilni);
  451. PlayerTextDrawSetString(playerid,UPSTATS[27][playerid], string);
  452. format(string, sizeof(string),"~b~Droga: ~w~%dg",PlayerInfo[playerid][pDroga]);
  453. PlayerTextDrawSetString(playerid,UPSTATS[29][playerid], string);
  454. format(string, sizeof(string),"~b~Mats: ~w~%d",PlayerInfo[playerid][pMats]);
  455. PlayerTextDrawSetString(playerid,UPSTATS[30][playerid], string);
  456. format(string, sizeof(string),"~b~Godine: ~w~%d",PlayerInfo[playerid][pGodine]);
  457. PlayerTextDrawSetString(playerid,UPSTATS[31][playerid], string);
  458. format(string, sizeof(string),"~b~Pol: ~w~%s",pol);
  459. PlayerTextDrawSetString(playerid,UPSTATS[32][playerid], string);
  460. format(string, sizeof(string),"~b~Wanted: ~w~%d",GetPlayerWantedLevel(playerid));
  461. PlayerTextDrawSetString(playerid,UPSTATS[33][playerid], string);
  462. format(string, sizeof(string),"~b~Kredit: ~w~%s",kredit);
  463. PlayerTextDrawSetString(playerid,UPSTATS[34][playerid], string);
  464. format(string, sizeof(string),"~b~Mob kredit: ~w~%d",PlayerInfo[playerid][pMobKredit]);
  465. PlayerTextDrawSetString(playerid,UPSTATS[35][playerid], string);
  466. format(string, sizeof(string),"~b~Uhapsen Puta: ~w~%d",PlayerInfo[playerid][pUhapsenPuta]);
  467. PlayerTextDrawSetString(playerid,UPSTATS[36][playerid], string);
  468. }
  469. else if(KreiranStats[playerid] == 1)
  470. {
  471. for(new i = 0; i < 38; i++)
  472. {
  473. PlayerTextDrawShow(playerid, UPSTATS[i][playerid]);
  474. PlayerTextDrawDestroy(playerid, UPSTATS[i][playerid]);
  475. KreiranStats[playerid] = 0;
  476. }
  477. }
  478. return 1;
  479. }
Advertisement
Add Comment
Please, Sign In to add comment