Rei_Ayanami

How To Create Login & Register System In Samp

Apr 27th, 2024
20
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <a_samp>
  2. #include <a_mysql>
  3. #include <Pawn.CMD>
  4. #include <sscanf2>
  5. #include <streamer>
  6.  
  7. #pragma warning disable 239
  8.  
  9. /*[MYSQL Connection Details]*/
  10. #define MYSQL_HOSTNAME "localhost"
  11. #define MYSQL_DATABASE "pawn"
  12. #define MYSQL_USERNAME "root"
  13. #define MYSQL_PASSWORD ""
  14.  
  15. new connectionID;
  16. new queryBuffer[1024];
  17. /*--------------------------*/
  18.  
  19. new Text:InventoryTD[81];
  20. new PlayerText:StockTD[MAX_PLAYERS][71];
  21.  
  22. new carvid;
  23. new LoginTries;
  24.  
  25. #define strcpy(%0,%1) strcat(((%0[0] = 0), %0), %1)
  26. #define SCM SendClientMessage
  27. #define SM SendMessage
  28.  
  29. native WP_Hash(buffer[], len, const str[]);
  30.  
  31.  
  32. //-------------COLORS-----------------
  33. #define COLOR_DISPATCH 0xff4419ff
  34. #define COLOR_WHITE 0xFFFFFFFF
  35. #define COLOR_SYNTAX 0xAFAFAFFF
  36. #define COLOR_YELLOW 0xFFFF00FF
  37. #define COLOR_LIGHTBLUE1 0x33CCFFAA
  38. #define COLOR_YELLOW2 0xF5DEB3FF
  39. #define COLOR_LIGHTORANGE 0xF7A763FF
  40. #define COLOR_AQUA 0xCCFFFFFF
  41. #define COLOR_NEWS 0xFFA500AA
  42. #define COLOR_GREEN 0x32CD32FF
  43. #define COLOR_GREY 0xAFAFAFFF
  44. #define COLOR_GREY1 0xE6E6E6FF
  45. #define COLOR_GREY2 0xC8C8C8FF
  46. #define COLOR_GREY3 0xAAAAAAFF
  47. #define COLOR_GREY4 0x8C8C8CFF
  48. #define COLOR_GREY5 0x6E6E6EFF
  49. #define COLOR_LIGHTRED 0xFF6347FF
  50. #define COLOR_ORANGE 0xFF9900FF
  51. #define COLOR_RED 0xAA3333FF
  52. #define COLOR_HUNT 0xFF42CFFF
  53. #define COLOR_PURPLE 0xC2A2DAFF
  54. #define COLOR_NEWBIE 0x7DAEFFFF
  55. #define COLOR_PINK 0xFF66FFAA
  56. #define COLOR_BLUE 0x233EFAFF
  57. #define COLOR_ROYALBLUE 0x9999FFFF
  58. #define COLOR_DOCTOR 0xFF8282FF
  59. #define COLOR_DARKGREEN 0x00AA00FF
  60. #define COLOR_VIP 0x6a86b5FF
  61. #define COLOR_WALKIETALKIE 0xB2EBE0FF
  62. #define COLOR_NAVYBLUE 0x089DCEFF
  63. #define COLOR_GLOBAL 0xB8FFBCFF
  64. #define COLOR_STATS 0xFFFF91AA
  65. #define COLOR_LIGHTGREEN 0x74AF7AFF
  66. #define COLOR_ADMINCHAT 0xED6464FF
  67. #define COLOR_FACTIONCHAT 0xBDF38BFF
  68. #define SERVER_COLOR 0xFF66FFAA
  69. #define COLOR_GENERAL3 0x00D900C8
  70. #define COLOR_TEAL 0x00AAAAAA
  71. #define COLOR_OFFWHITE 0xF5DEB3AA
  72. #define COLOR_DARKAQUA 0x83BFBFAA
  73. #define COLOR_REALRED 0xFF0000FF
  74. #define COLOR_CYAN 0x00C8FFFF
  75. //--------------------------------------
  76.  
  77. enum
  78. {
  79. DIALOG_REGISTER = 1,
  80. DIALOG_LOGIN
  81. }
  82.  
  83. enum pEnum
  84. {
  85. pLogged,
  86. pUsername[24],
  87. pPassword[129],
  88. pKicked
  89. }
  90. new PlayerInfo[MAX_PLAYERS][pEnum];
  91.  
  92.  
  93. SendMessage(playerid, color, const text[], {Float,_}:...)
  94. {
  95. static
  96. args,
  97. str[192];
  98.  
  99. if((args = numargs()) <= 3)
  100. {
  101. SCM(playerid, color, text);
  102. }
  103. else
  104. {
  105. while(--args >= 3)
  106. {
  107. #emit LCTRL 5
  108. #emit LOAD.alt args
  109. #emit SHL.C.alt 2
  110. #emit ADD.C 12
  111. #emit ADD
  112. #emit LOAD.I
  113. #emit PUSH.pri
  114. }
  115. #emit PUSH.S text
  116. #emit PUSH.C 192
  117. #emit PUSH.C str
  118. #emit PUSH.S 8
  119. #emit SYSREQ.C format
  120. #emit LCTRL 5
  121. #emit SCTRL 4
  122.  
  123. SCM(playerid, color, str);
  124.  
  125. #emit RETN
  126. }
  127. return 1;
  128. }
  129.  
  130. GetPlayerNameEx(playerid)
  131. {
  132. new
  133. name[MAX_PLAYER_NAME];
  134.  
  135. GetPlayerName(playerid, name, sizeof(name));
  136. return name;
  137. }
  138. GetPlayerIP(playerid)
  139. {
  140. new ip[16];
  141.  
  142. GetPlayerIp(playerid, ip, sizeof(ip));
  143.  
  144. return ip;
  145. }
  146.  
  147. main()
  148. {
  149. print("\n----------------------------------");
  150. print(" Samp Scripting Tutorials Gamemode by your name here");
  151. print("----------------------------------\n");
  152.  
  153. }
  154.  
  155. public OnGameModeInit()
  156. {
  157. SetGameModeText("Scripting Tutorials");
  158. connectionID = mysql_connect(MYSQL_HOSTNAME, MYSQL_USERNAME, MYSQL_DATABASE, MYSQL_PASSWORD);
  159. if(mysql_errno(connectionID))
  160. {
  161. printf("MYSQL Got Failed To Connect To The Database");
  162. }
  163. else{
  164. printf("Server Connected To The Database");
  165. }
  166.  
  167. new tmpobjid;
  168.  
  169. carvid = CreateVehicle(411,1323.912,1565.212,10.820,300.142,0,0,-1,0);
  170.  
  171. tmpobjid = CreateDynamicObject(1002,0.0,0.0,-1000.0,0.0,0.0,0.0,-1,-1,-1,300.0,300.0);
  172. AttachDynamicObjectToVehicle(tmpobjid, carvid, 0.000, -2.300, 0.339, 0.000, 0.000, 0.000);
  173. tmpobjid = CreateDynamicObject(19483,0.0,0.0,-1000.0,0.0,0.0,0.0,-1,-1,-1,300.0,300.0);
  174. SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "Bow_Abpave_Gen", 0);
  175. SetDynamicObjectMaterialText(tmpobjid, 0, "POLICE", 80, "Calibri", 40, 0, -16777216, 0, 0);
  176. AttachDynamicObjectToVehicle(tmpobjid, carvid, -0.786, 2.315, 0.205, 1.100, -83.000, 86.599);
  177.  
  178.  
  179. InventoryTD[0] = TextDrawCreate(126.000000, 103.000000, "ld_dual:black");
  180. TextDrawFont(InventoryTD[0], 4);
  181. TextDrawLetterSize(InventoryTD[0], 0.600000, 2.000000);
  182. TextDrawTextSize(InventoryTD[0], 388.500000, 13.000000);
  183. TextDrawSetOutline(InventoryTD[0], 1);
  184. TextDrawSetShadow(InventoryTD[0], 0);
  185. TextDrawAlignment(InventoryTD[0], 1);
  186. TextDrawColor(InventoryTD[0], -1);
  187. TextDrawBackgroundColor(InventoryTD[0], 255);
  188. TextDrawBoxColor(InventoryTD[0], 50);
  189. TextDrawUseBox(InventoryTD[0], 1);
  190. TextDrawSetProportional(InventoryTD[0], 1);
  191. TextDrawSetSelectable(InventoryTD[0], 0);
  192.  
  193. InventoryTD[1] = TextDrawCreate(514.000000, 103.000000, "ld_dual:black");
  194. TextDrawFont(InventoryTD[1], 4);
  195. TextDrawLetterSize(InventoryTD[1], 0.600000, 2.000000);
  196. TextDrawTextSize(InventoryTD[1], 10.000000, 254.000000);
  197. TextDrawSetOutline(InventoryTD[1], 1);
  198. TextDrawSetShadow(InventoryTD[1], 0);
  199. TextDrawAlignment(InventoryTD[1], 1);
  200. TextDrawColor(InventoryTD[1], -1);
  201. TextDrawBackgroundColor(InventoryTD[1], 255);
  202. TextDrawBoxColor(InventoryTD[1], 50);
  203. TextDrawUseBox(InventoryTD[1], 1);
  204. TextDrawSetProportional(InventoryTD[1], 1);
  205. TextDrawSetSelectable(InventoryTD[1], 0);
  206.  
  207. InventoryTD[2] = TextDrawCreate(126.000000, 345.000000, "ld_dual:black");
  208. TextDrawFont(InventoryTD[2], 4);
  209. TextDrawLetterSize(InventoryTD[2], 0.600000, 2.000000);
  210. TextDrawTextSize(InventoryTD[2], 388.500000, 12.000000);
  211. TextDrawSetOutline(InventoryTD[2], 1);
  212. TextDrawSetShadow(InventoryTD[2], 0);
  213. TextDrawAlignment(InventoryTD[2], 1);
  214. TextDrawColor(InventoryTD[2], -1);
  215. TextDrawBackgroundColor(InventoryTD[2], 255);
  216. TextDrawBoxColor(InventoryTD[2], 50);
  217. TextDrawUseBox(InventoryTD[2], 1);
  218. TextDrawSetProportional(InventoryTD[2], 1);
  219. TextDrawSetSelectable(InventoryTD[2], 0);
  220.  
  221. InventoryTD[3] = TextDrawCreate(116.000000, 103.000000, "ld_dual:black");
  222. TextDrawFont(InventoryTD[3], 4);
  223. TextDrawLetterSize(InventoryTD[3], 0.600000, 2.000000);
  224. TextDrawTextSize(InventoryTD[3], 10.000000, 254.000000);
  225. TextDrawSetOutline(InventoryTD[3], 1);
  226. TextDrawSetShadow(InventoryTD[3], 0);
  227. TextDrawAlignment(InventoryTD[3], 1);
  228. TextDrawColor(InventoryTD[3], -1);
  229. TextDrawBackgroundColor(InventoryTD[3], 255);
  230. TextDrawBoxColor(InventoryTD[3], 50);
  231. TextDrawUseBox(InventoryTD[3], 1);
  232. TextDrawSetProportional(InventoryTD[3], 1);
  233. TextDrawSetSelectable(InventoryTD[3], 0);
  234.  
  235. InventoryTD[4] = TextDrawCreate(126.000000, 101.000000, "Inventory Menu");
  236. TextDrawFont(InventoryTD[4], 1);
  237. TextDrawLetterSize(InventoryTD[4], 0.358332, 1.549998);
  238. TextDrawTextSize(InventoryTD[4], 400.000000, 17.000000);
  239. TextDrawSetOutline(InventoryTD[4], 1);
  240. TextDrawSetShadow(InventoryTD[4], 0);
  241. TextDrawAlignment(InventoryTD[4], 1);
  242. TextDrawColor(InventoryTD[4], -1);
  243. TextDrawBackgroundColor(InventoryTD[4], 255);
  244. TextDrawBoxColor(InventoryTD[4], 50);
  245. TextDrawUseBox(InventoryTD[4], 0);
  246. TextDrawSetProportional(InventoryTD[4], 1);
  247. TextDrawSetSelectable(InventoryTD[4], 0);
  248.  
  249. InventoryTD[5] = TextDrawCreate(125.000000, 104.000000, "ld_dual:black");
  250. TextDrawFont(InventoryTD[5], 4);
  251. TextDrawLetterSize(InventoryTD[5], 0.600000, 2.000000);
  252. TextDrawTextSize(InventoryTD[5], 389.500000, 241.500000);
  253. TextDrawSetOutline(InventoryTD[5], 1);
  254. TextDrawSetShadow(InventoryTD[5], 0);
  255. TextDrawAlignment(InventoryTD[5], 1);
  256. TextDrawColor(InventoryTD[5], -144);
  257. TextDrawBackgroundColor(InventoryTD[5], 255);
  258. TextDrawBoxColor(InventoryTD[5], 50);
  259. TextDrawUseBox(InventoryTD[5], 1);
  260. TextDrawSetProportional(InventoryTD[5], 1);
  261. TextDrawSetSelectable(InventoryTD[5], 0);
  262.  
  263. InventoryTD[6] = TextDrawCreate(508.000000, 103.000000, "ld_dual:white");
  264. TextDrawFont(InventoryTD[6], 4);
  265. TextDrawLetterSize(InventoryTD[6], 0.600000, 2.000000);
  266. TextDrawTextSize(InventoryTD[6], 16.500000, 13.500000);
  267. TextDrawSetOutline(InventoryTD[6], 1);
  268. TextDrawSetShadow(InventoryTD[6], 0);
  269. TextDrawAlignment(InventoryTD[6], 1);
  270. TextDrawColor(InventoryTD[6], -1);
  271. TextDrawBackgroundColor(InventoryTD[6], 255);
  272. TextDrawBoxColor(InventoryTD[6], 50);
  273. TextDrawUseBox(InventoryTD[6], 1);
  274. TextDrawSetProportional(InventoryTD[6], 1);
  275. TextDrawSetSelectable(InventoryTD[6], 1);
  276.  
  277. InventoryTD[7] = TextDrawCreate(510.500000, 102.000000, "X");
  278. TextDrawFont(InventoryTD[7], 1);
  279. TextDrawLetterSize(InventoryTD[7], 0.483332, 1.649999);
  280. TextDrawTextSize(InventoryTD[7], 505.500000, 186.000000);
  281. TextDrawSetOutline(InventoryTD[7], 0);
  282. TextDrawSetShadow(InventoryTD[7], 0);
  283. TextDrawAlignment(InventoryTD[7], 1);
  284. TextDrawColor(InventoryTD[7], 255);
  285. TextDrawBackgroundColor(InventoryTD[7], 255);
  286. TextDrawBoxColor(InventoryTD[7], 50);
  287. TextDrawUseBox(InventoryTD[7], 0);
  288. TextDrawSetProportional(InventoryTD[7], 1);
  289. TextDrawSetSelectable(InventoryTD[7], 0);
  290.  
  291. InventoryTD[8] = TextDrawCreate(402.000000, 114.000000, "Preview_Model");
  292. TextDrawFont(InventoryTD[8], 5);
  293. TextDrawLetterSize(InventoryTD[8], 0.600000, 2.000000);
  294. TextDrawTextSize(InventoryTD[8], 112.500000, 150.000000);
  295. TextDrawSetOutline(InventoryTD[8], 0);
  296. TextDrawSetShadow(InventoryTD[8], 0);
  297. TextDrawAlignment(InventoryTD[8], 1);
  298. TextDrawColor(InventoryTD[8], -1);
  299. TextDrawBackgroundColor(InventoryTD[8], 0);
  300. TextDrawBoxColor(InventoryTD[8], 0);
  301. TextDrawUseBox(InventoryTD[8], 0);
  302. TextDrawSetProportional(InventoryTD[8], 1);
  303. TextDrawSetSelectable(InventoryTD[8], 0);
  304. TextDrawSetPreviewModel(InventoryTD[8], 29);
  305. TextDrawSetPreviewRot(InventoryTD[8], -10.000000, 0.000000, -6.000000, 1.000000);
  306. TextDrawSetPreviewVehCol(InventoryTD[8], 1, 1);
  307.  
  308. InventoryTD[9] = TextDrawCreate(445.000000, 116.000000, "ld_dual:white");
  309. TextDrawFont(InventoryTD[9], 4);
  310. TextDrawLetterSize(InventoryTD[9], 0.508333, 3.099997);
  311. TextDrawTextSize(InventoryTD[9], 26.500000, 32.500000);
  312. TextDrawSetOutline(InventoryTD[9], 1);
  313. TextDrawSetShadow(InventoryTD[9], 0);
  314. TextDrawAlignment(InventoryTD[9], 2);
  315. TextDrawColor(InventoryTD[9], 147);
  316. TextDrawBackgroundColor(InventoryTD[9], 255);
  317. TextDrawBoxColor(InventoryTD[9], 135);
  318. TextDrawUseBox(InventoryTD[9], 1);
  319. TextDrawSetProportional(InventoryTD[9], 1);
  320. TextDrawSetSelectable(InventoryTD[9], 1);
  321.  
  322. InventoryTD[10] = TextDrawCreate(463.000000, 176.000000, "ld_dual:white");
  323. TextDrawFont(InventoryTD[10], 4);
  324. TextDrawLetterSize(InventoryTD[10], 0.508333, 3.099997);
  325. TextDrawTextSize(InventoryTD[10], 26.500000, 32.500000);
  326. TextDrawSetOutline(InventoryTD[10], 1);
  327. TextDrawSetShadow(InventoryTD[10], 0);
  328. TextDrawAlignment(InventoryTD[10], 2);
  329. TextDrawColor(InventoryTD[10], 147);
  330. TextDrawBackgroundColor(InventoryTD[10], 255);
  331. TextDrawBoxColor(InventoryTD[10], 135);
  332. TextDrawUseBox(InventoryTD[10], 1);
  333. TextDrawSetProportional(InventoryTD[10], 1);
  334. TextDrawSetSelectable(InventoryTD[10], 1);
  335.  
  336. InventoryTD[11] = TextDrawCreate(430.000000, 176.000000, "ld_dual:white");
  337. TextDrawFont(InventoryTD[11], 4);
  338. TextDrawLetterSize(InventoryTD[11], 0.508333, 3.099997);
  339. TextDrawTextSize(InventoryTD[11], 26.500000, 32.500000);
  340. TextDrawSetOutline(InventoryTD[11], 1);
  341. TextDrawSetShadow(InventoryTD[11], 0);
  342. TextDrawAlignment(InventoryTD[11], 2);
  343. TextDrawColor(InventoryTD[11], 147);
  344. TextDrawBackgroundColor(InventoryTD[11], 255);
  345. TextDrawBoxColor(InventoryTD[11], 135);
  346. TextDrawUseBox(InventoryTD[11], 1);
  347. TextDrawSetProportional(InventoryTD[11], 1);
  348. TextDrawSetSelectable(InventoryTD[11], 1);
  349.  
  350. InventoryTD[12] = TextDrawCreate(400.000000, 116.000000, "ld_dual:black");
  351. TextDrawFont(InventoryTD[12], 4);
  352. TextDrawLetterSize(InventoryTD[12], 0.600000, 2.000000);
  353. TextDrawTextSize(InventoryTD[12], 10.000000, 229.500000);
  354. TextDrawSetOutline(InventoryTD[12], 1);
  355. TextDrawSetShadow(InventoryTD[12], 0);
  356. TextDrawAlignment(InventoryTD[12], 1);
  357. TextDrawColor(InventoryTD[12], -1);
  358. TextDrawBackgroundColor(InventoryTD[12], 255);
  359. TextDrawBoxColor(InventoryTD[12], 50);
  360. TextDrawUseBox(InventoryTD[12], 1);
  361. TextDrawSetProportional(InventoryTD[12], 1);
  362. TextDrawSetSelectable(InventoryTD[12], 0);
  363.  
  364. InventoryTD[13] = TextDrawCreate(410.000000, 272.000000, "ld_dual:black");
  365. TextDrawFont(InventoryTD[13], 4);
  366. TextDrawLetterSize(InventoryTD[13], 0.600000, 2.000000);
  367. TextDrawTextSize(InventoryTD[13], 104.000000, 10.500000);
  368. TextDrawSetOutline(InventoryTD[13], 1);
  369. TextDrawSetShadow(InventoryTD[13], 0);
  370. TextDrawAlignment(InventoryTD[13], 1);
  371. TextDrawColor(InventoryTD[13], -1);
  372. TextDrawBackgroundColor(InventoryTD[13], 255);
  373. TextDrawBoxColor(InventoryTD[13], 50);
  374. TextDrawUseBox(InventoryTD[13], 1);
  375. TextDrawSetProportional(InventoryTD[13], 1);
  376. TextDrawSetSelectable(InventoryTD[13], 0);
  377.  
  378. InventoryTD[14] = TextDrawCreate(440.000000, 281.000000, "Skills");
  379. TextDrawFont(InventoryTD[14], 1);
  380. TextDrawLetterSize(InventoryTD[14], 0.474999, 1.750000);
  381. TextDrawTextSize(InventoryTD[14], 400.000000, 17.000000);
  382. TextDrawSetOutline(InventoryTD[14], 1);
  383. TextDrawSetShadow(InventoryTD[14], 0);
  384. TextDrawAlignment(InventoryTD[14], 1);
  385. TextDrawColor(InventoryTD[14], -1);
  386. TextDrawBackgroundColor(InventoryTD[14], 255);
  387. TextDrawBoxColor(InventoryTD[14], 50);
  388. TextDrawUseBox(InventoryTD[14], 0);
  389. TextDrawSetProportional(InventoryTD[14], 1);
  390. TextDrawSetSelectable(InventoryTD[14], 0);
  391.  
  392. InventoryTD[15] = TextDrawCreate(411.000000, 301.000000, "Weapon:");
  393. TextDrawFont(InventoryTD[15], 1);
  394. TextDrawLetterSize(InventoryTD[15], 0.233333, 1.700000);
  395. TextDrawTextSize(InventoryTD[15], 400.000000, 17.000000);
  396. TextDrawSetOutline(InventoryTD[15], 1);
  397. TextDrawSetShadow(InventoryTD[15], 0);
  398. TextDrawAlignment(InventoryTD[15], 1);
  399. TextDrawColor(InventoryTD[15], -1);
  400. TextDrawBackgroundColor(InventoryTD[15], 255);
  401. TextDrawBoxColor(InventoryTD[15], 50);
  402. TextDrawUseBox(InventoryTD[15], 0);
  403. TextDrawSetProportional(InventoryTD[15], 1);
  404. TextDrawSetSelectable(InventoryTD[15], 0);
  405.  
  406. InventoryTD[16] = TextDrawCreate(448.000000, 301.000000, "0");
  407. TextDrawFont(InventoryTD[16], 1);
  408. TextDrawLetterSize(InventoryTD[16], 0.233333, 1.700000);
  409. TextDrawTextSize(InventoryTD[16], 400.000000, 17.000000);
  410. TextDrawSetOutline(InventoryTD[16], 1);
  411. TextDrawSetShadow(InventoryTD[16], 0);
  412. TextDrawAlignment(InventoryTD[16], 1);
  413. TextDrawColor(InventoryTD[16], -1);
  414. TextDrawBackgroundColor(InventoryTD[16], 255);
  415. TextDrawBoxColor(InventoryTD[16], 50);
  416. TextDrawUseBox(InventoryTD[16], 0);
  417. TextDrawSetProportional(InventoryTD[16], 1);
  418. TextDrawSetSelectable(InventoryTD[16], 0);
  419.  
  420. InventoryTD[17] = TextDrawCreate(411.000000, 314.000000, "Meele:");
  421. TextDrawFont(InventoryTD[17], 1);
  422. TextDrawLetterSize(InventoryTD[17], 0.233333, 1.700000);
  423. TextDrawTextSize(InventoryTD[17], 400.000000, 17.000000);
  424. TextDrawSetOutline(InventoryTD[17], 1);
  425. TextDrawSetShadow(InventoryTD[17], 0);
  426. TextDrawAlignment(InventoryTD[17], 1);
  427. TextDrawColor(InventoryTD[17], -1);
  428. TextDrawBackgroundColor(InventoryTD[17], 255);
  429. TextDrawBoxColor(InventoryTD[17], 50);
  430. TextDrawUseBox(InventoryTD[17], 0);
  431. TextDrawSetProportional(InventoryTD[17], 1);
  432. TextDrawSetSelectable(InventoryTD[17], 0);
  433.  
  434. InventoryTD[18] = TextDrawCreate(440.000000, 314.000000, "0");
  435. TextDrawFont(InventoryTD[18], 1);
  436. TextDrawLetterSize(InventoryTD[18], 0.233333, 1.700000);
  437. TextDrawTextSize(InventoryTD[18], 400.000000, 17.000000);
  438. TextDrawSetOutline(InventoryTD[18], 1);
  439. TextDrawSetShadow(InventoryTD[18], 0);
  440. TextDrawAlignment(InventoryTD[18], 1);
  441. TextDrawColor(InventoryTD[18], -1);
  442. TextDrawBackgroundColor(InventoryTD[18], 255);
  443. TextDrawBoxColor(InventoryTD[18], 50);
  444. TextDrawUseBox(InventoryTD[18], 0);
  445. TextDrawSetProportional(InventoryTD[18], 1);
  446. TextDrawSetSelectable(InventoryTD[18], 0);
  447.  
  448. InventoryTD[19] = TextDrawCreate(411.000000, 328.000000, "Survival:");
  449. TextDrawFont(InventoryTD[19], 1);
  450. TextDrawLetterSize(InventoryTD[19], 0.233333, 1.700000);
  451. TextDrawTextSize(InventoryTD[19], 400.000000, 17.000000);
  452. TextDrawSetOutline(InventoryTD[19], 1);
  453. TextDrawSetShadow(InventoryTD[19], 0);
  454. TextDrawAlignment(InventoryTD[19], 1);
  455. TextDrawColor(InventoryTD[19], -1);
  456. TextDrawBackgroundColor(InventoryTD[19], 255);
  457. TextDrawBoxColor(InventoryTD[19], 50);
  458. TextDrawUseBox(InventoryTD[19], 0);
  459. TextDrawSetProportional(InventoryTD[19], 1);
  460. TextDrawSetSelectable(InventoryTD[19], 0);
  461.  
  462. InventoryTD[20] = TextDrawCreate(449.000000, 328.000000, "0");
  463. TextDrawFont(InventoryTD[20], 1);
  464. TextDrawLetterSize(InventoryTD[20], 0.233333, 1.700000);
  465. TextDrawTextSize(InventoryTD[20], 400.000000, 17.000000);
  466. TextDrawSetOutline(InventoryTD[20], 1);
  467. TextDrawSetShadow(InventoryTD[20], 0);
  468. TextDrawAlignment(InventoryTD[20], 1);
  469. TextDrawColor(InventoryTD[20], -1);
  470. TextDrawBackgroundColor(InventoryTD[20], 255);
  471. TextDrawBoxColor(InventoryTD[20], 50);
  472. TextDrawUseBox(InventoryTD[20], 0);
  473. TextDrawSetProportional(InventoryTD[20], 1);
  474. TextDrawSetSelectable(InventoryTD[20], 0);
  475.  
  476. InventoryTD[21] = TextDrawCreate(132.000000, 118.000000, "ld_dual:white");
  477. TextDrawFont(InventoryTD[21], 4);
  478. TextDrawLetterSize(InventoryTD[21], 0.508333, 3.099997);
  479. TextDrawTextSize(InventoryTD[21], 39.000000, 39.000000);
  480. TextDrawSetOutline(InventoryTD[21], 1);
  481. TextDrawSetShadow(InventoryTD[21], 0);
  482. TextDrawAlignment(InventoryTD[21], 2);
  483. TextDrawColor(InventoryTD[21], 136);
  484. TextDrawBackgroundColor(InventoryTD[21], 255);
  485. TextDrawBoxColor(InventoryTD[21], 135);
  486. TextDrawUseBox(InventoryTD[21], 1);
  487. TextDrawSetProportional(InventoryTD[21], 1);
  488. TextDrawSetSelectable(InventoryTD[21], 1);
  489.  
  490. InventoryTD[22] = TextDrawCreate(177.000000, 118.000000, "ld_dual:white");
  491. TextDrawFont(InventoryTD[22], 4);
  492. TextDrawLetterSize(InventoryTD[22], 0.508333, 3.099997);
  493. TextDrawTextSize(InventoryTD[22], 39.000000, 39.500000);
  494. TextDrawSetOutline(InventoryTD[22], 1);
  495. TextDrawSetShadow(InventoryTD[22], 0);
  496. TextDrawAlignment(InventoryTD[22], 2);
  497. TextDrawColor(InventoryTD[22], 147);
  498. TextDrawBackgroundColor(InventoryTD[22], 255);
  499. TextDrawBoxColor(InventoryTD[22], 135);
  500. TextDrawUseBox(InventoryTD[22], 1);
  501. TextDrawSetProportional(InventoryTD[22], 1);
  502. TextDrawSetSelectable(InventoryTD[22], 1);
  503.  
  504. InventoryTD[23] = TextDrawCreate(221.000000, 118.000000, "ld_dual:white");
  505. TextDrawFont(InventoryTD[23], 4);
  506. TextDrawLetterSize(InventoryTD[23], 0.508333, 3.099997);
  507. TextDrawTextSize(InventoryTD[23], 39.000000, 39.500000);
  508. TextDrawSetOutline(InventoryTD[23], 1);
  509. TextDrawSetShadow(InventoryTD[23], 0);
  510. TextDrawAlignment(InventoryTD[23], 2);
  511. TextDrawColor(InventoryTD[23], 147);
  512. TextDrawBackgroundColor(InventoryTD[23], 255);
  513. TextDrawBoxColor(InventoryTD[23], 135);
  514. TextDrawUseBox(InventoryTD[23], 1);
  515. TextDrawSetProportional(InventoryTD[23], 1);
  516. TextDrawSetSelectable(InventoryTD[23], 1);
  517.  
  518. InventoryTD[24] = TextDrawCreate(265.000000, 118.000000, "ld_dual:white");
  519. TextDrawFont(InventoryTD[24], 4);
  520. TextDrawLetterSize(InventoryTD[24], 0.508333, 3.099997);
  521. TextDrawTextSize(InventoryTD[24], 39.000000, 39.500000);
  522. TextDrawSetOutline(InventoryTD[24], 1);
  523. TextDrawSetShadow(InventoryTD[24], 0);
  524. TextDrawAlignment(InventoryTD[24], 2);
  525. TextDrawColor(InventoryTD[24], 147);
  526. TextDrawBackgroundColor(InventoryTD[24], 255);
  527. TextDrawBoxColor(InventoryTD[24], 135);
  528. TextDrawUseBox(InventoryTD[24], 1);
  529. TextDrawSetProportional(InventoryTD[24], 1);
  530. TextDrawSetSelectable(InventoryTD[24], 1);
  531.  
  532. InventoryTD[25] = TextDrawCreate(309.000000, 118.000000, "ld_dual:white");
  533. TextDrawFont(InventoryTD[25], 4);
  534. TextDrawLetterSize(InventoryTD[25], 0.508333, 3.099997);
  535. TextDrawTextSize(InventoryTD[25], 39.000000, 39.500000);
  536. TextDrawSetOutline(InventoryTD[25], 1);
  537. TextDrawSetShadow(InventoryTD[25], 0);
  538. TextDrawAlignment(InventoryTD[25], 2);
  539. TextDrawColor(InventoryTD[25], 147);
  540. TextDrawBackgroundColor(InventoryTD[25], 255);
  541. TextDrawBoxColor(InventoryTD[25], 135);
  542. TextDrawUseBox(InventoryTD[25], 1);
  543. TextDrawSetProportional(InventoryTD[25], 1);
  544. TextDrawSetSelectable(InventoryTD[25], 1);
  545.  
  546. InventoryTD[26] = TextDrawCreate(353.000000, 118.000000, "ld_dual:white");
  547. TextDrawFont(InventoryTD[26], 4);
  548. TextDrawLetterSize(InventoryTD[26], 0.508333, 3.099997);
  549. TextDrawTextSize(InventoryTD[26], 39.000000, 39.500000);
  550. TextDrawSetOutline(InventoryTD[26], 1);
  551. TextDrawSetShadow(InventoryTD[26], 0);
  552. TextDrawAlignment(InventoryTD[26], 2);
  553. TextDrawColor(InventoryTD[26], 147);
  554. TextDrawBackgroundColor(InventoryTD[26], 255);
  555. TextDrawBoxColor(InventoryTD[26], 135);
  556. TextDrawUseBox(InventoryTD[26], 1);
  557. TextDrawSetProportional(InventoryTD[26], 1);
  558. TextDrawSetSelectable(InventoryTD[26], 1);
  559.  
  560. InventoryTD[27] = TextDrawCreate(132.000000, 162.000000, "ld_dual:white");
  561. TextDrawFont(InventoryTD[27], 4);
  562. TextDrawLetterSize(InventoryTD[27], 0.508333, 3.099997);
  563. TextDrawTextSize(InventoryTD[27], 39.000000, 39.500000);
  564. TextDrawSetOutline(InventoryTD[27], 1);
  565. TextDrawSetShadow(InventoryTD[27], 0);
  566. TextDrawAlignment(InventoryTD[27], 2);
  567. TextDrawColor(InventoryTD[27], 147);
  568. TextDrawBackgroundColor(InventoryTD[27], 255);
  569. TextDrawBoxColor(InventoryTD[27], 135);
  570. TextDrawUseBox(InventoryTD[27], 1);
  571. TextDrawSetProportional(InventoryTD[27], 1);
  572. TextDrawSetSelectable(InventoryTD[27], 1);
  573.  
  574. InventoryTD[28] = TextDrawCreate(177.000000, 162.000000, "ld_dual:white");
  575. TextDrawFont(InventoryTD[28], 4);
  576. TextDrawLetterSize(InventoryTD[28], 0.508333, 3.099997);
  577. TextDrawTextSize(InventoryTD[28], 39.000000, 39.500000);
  578. TextDrawSetOutline(InventoryTD[28], 1);
  579. TextDrawSetShadow(InventoryTD[28], 0);
  580. TextDrawAlignment(InventoryTD[28], 2);
  581. TextDrawColor(InventoryTD[28], 147);
  582. TextDrawBackgroundColor(InventoryTD[28], 255);
  583. TextDrawBoxColor(InventoryTD[28], 135);
  584. TextDrawUseBox(InventoryTD[28], 1);
  585. TextDrawSetProportional(InventoryTD[28], 1);
  586. TextDrawSetSelectable(InventoryTD[28], 1);
  587.  
  588. InventoryTD[29] = TextDrawCreate(221.000000, 162.000000, "ld_dual:white");
  589. TextDrawFont(InventoryTD[29], 4);
  590. TextDrawLetterSize(InventoryTD[29], 0.508333, 3.099997);
  591. TextDrawTextSize(InventoryTD[29], 39.000000, 39.500000);
  592. TextDrawSetOutline(InventoryTD[29], 1);
  593. TextDrawSetShadow(InventoryTD[29], 0);
  594. TextDrawAlignment(InventoryTD[29], 2);
  595. TextDrawColor(InventoryTD[29], 147);
  596. TextDrawBackgroundColor(InventoryTD[29], 255);
  597. TextDrawBoxColor(InventoryTD[29], 135);
  598. TextDrawUseBox(InventoryTD[29], 1);
  599. TextDrawSetProportional(InventoryTD[29], 1);
  600. TextDrawSetSelectable(InventoryTD[29], 1);
  601.  
  602. InventoryTD[30] = TextDrawCreate(265.000000, 162.000000, "ld_dual:white");
  603. TextDrawFont(InventoryTD[30], 4);
  604. TextDrawLetterSize(InventoryTD[30], 0.508333, 3.099997);
  605. TextDrawTextSize(InventoryTD[30], 39.000000, 39.500000);
  606. TextDrawSetOutline(InventoryTD[30], 1);
  607. TextDrawSetShadow(InventoryTD[30], 0);
  608. TextDrawAlignment(InventoryTD[30], 2);
  609. TextDrawColor(InventoryTD[30], 147);
  610. TextDrawBackgroundColor(InventoryTD[30], 255);
  611. TextDrawBoxColor(InventoryTD[30], 135);
  612. TextDrawUseBox(InventoryTD[30], 1);
  613. TextDrawSetProportional(InventoryTD[30], 1);
  614. TextDrawSetSelectable(InventoryTD[30], 1);
  615.  
  616. InventoryTD[31] = TextDrawCreate(309.000000, 162.000000, "ld_dual:white");
  617. TextDrawFont(InventoryTD[31], 4);
  618. TextDrawLetterSize(InventoryTD[31], 0.508333, 3.099997);
  619. TextDrawTextSize(InventoryTD[31], 39.000000, 39.500000);
  620. TextDrawSetOutline(InventoryTD[31], 1);
  621. TextDrawSetShadow(InventoryTD[31], 0);
  622. TextDrawAlignment(InventoryTD[31], 2);
  623. TextDrawColor(InventoryTD[31], 147);
  624. TextDrawBackgroundColor(InventoryTD[31], 255);
  625. TextDrawBoxColor(InventoryTD[31], 135);
  626. TextDrawUseBox(InventoryTD[31], 1);
  627. TextDrawSetProportional(InventoryTD[31], 1);
  628. TextDrawSetSelectable(InventoryTD[31], 1);
  629.  
  630. InventoryTD[32] = TextDrawCreate(353.000000, 162.000000, "ld_dual:white");
  631. TextDrawFont(InventoryTD[32], 4);
  632. TextDrawLetterSize(InventoryTD[32], 0.508333, 3.099997);
  633. TextDrawTextSize(InventoryTD[32], 39.000000, 39.500000);
  634. TextDrawSetOutline(InventoryTD[32], 1);
  635. TextDrawSetShadow(InventoryTD[32], 0);
  636. TextDrawAlignment(InventoryTD[32], 2);
  637. TextDrawColor(InventoryTD[32], 147);
  638. TextDrawBackgroundColor(InventoryTD[32], 255);
  639. TextDrawBoxColor(InventoryTD[32], 135);
  640. TextDrawUseBox(InventoryTD[32], 1);
  641. TextDrawSetProportional(InventoryTD[32], 1);
  642. TextDrawSetSelectable(InventoryTD[32], 1);
  643.  
  644. InventoryTD[33] = TextDrawCreate(132.000000, 206.000000, "ld_dual:white");
  645. TextDrawFont(InventoryTD[33], 4);
  646. TextDrawLetterSize(InventoryTD[33], 0.508333, 3.099997);
  647. TextDrawTextSize(InventoryTD[33], 39.000000, 39.500000);
  648. TextDrawSetOutline(InventoryTD[33], 1);
  649. TextDrawSetShadow(InventoryTD[33], 0);
  650. TextDrawAlignment(InventoryTD[33], 2);
  651. TextDrawColor(InventoryTD[33], 147);
  652. TextDrawBackgroundColor(InventoryTD[33], 255);
  653. TextDrawBoxColor(InventoryTD[33], 135);
  654. TextDrawUseBox(InventoryTD[33], 1);
  655. TextDrawSetProportional(InventoryTD[33], 1);
  656. TextDrawSetSelectable(InventoryTD[33], 1);
  657.  
  658. InventoryTD[34] = TextDrawCreate(177.000000, 206.000000, "ld_dual:white");
  659. TextDrawFont(InventoryTD[34], 4);
  660. TextDrawLetterSize(InventoryTD[34], 0.508333, 3.099997);
  661. TextDrawTextSize(InventoryTD[34], 39.000000, 39.500000);
  662. TextDrawSetOutline(InventoryTD[34], 1);
  663. TextDrawSetShadow(InventoryTD[34], 0);
  664. TextDrawAlignment(InventoryTD[34], 2);
  665. TextDrawColor(InventoryTD[34], 147);
  666. TextDrawBackgroundColor(InventoryTD[34], 255);
  667. TextDrawBoxColor(InventoryTD[34], 135);
  668. TextDrawUseBox(InventoryTD[34], 1);
  669. TextDrawSetProportional(InventoryTD[34], 1);
  670. TextDrawSetSelectable(InventoryTD[34], 1);
  671.  
  672. InventoryTD[35] = TextDrawCreate(221.000000, 206.000000, "ld_dual:white");
  673. TextDrawFont(InventoryTD[35], 4);
  674. TextDrawLetterSize(InventoryTD[35], 0.508333, 3.099997);
  675. TextDrawTextSize(InventoryTD[35], 39.000000, 39.500000);
  676. TextDrawSetOutline(InventoryTD[35], 1);
  677. TextDrawSetShadow(InventoryTD[35], 0);
  678. TextDrawAlignment(InventoryTD[35], 2);
  679. TextDrawColor(InventoryTD[35], 147);
  680. TextDrawBackgroundColor(InventoryTD[35], 255);
  681. TextDrawBoxColor(InventoryTD[35], 135);
  682. TextDrawUseBox(InventoryTD[35], 1);
  683. TextDrawSetProportional(InventoryTD[35], 1);
  684. TextDrawSetSelectable(InventoryTD[35], 1);
  685.  
  686. InventoryTD[36] = TextDrawCreate(265.000000, 206.000000, "ld_dual:white");
  687. TextDrawFont(InventoryTD[36], 4);
  688. TextDrawLetterSize(InventoryTD[36], 0.508333, 3.099997);
  689. TextDrawTextSize(InventoryTD[36], 39.000000, 39.500000);
  690. TextDrawSetOutline(InventoryTD[36], 1);
  691. TextDrawSetShadow(InventoryTD[36], 0);
  692. TextDrawAlignment(InventoryTD[36], 2);
  693. TextDrawColor(InventoryTD[36], 147);
  694. TextDrawBackgroundColor(InventoryTD[36], 255);
  695. TextDrawBoxColor(InventoryTD[36], 135);
  696. TextDrawUseBox(InventoryTD[36], 1);
  697. TextDrawSetProportional(InventoryTD[36], 1);
  698. TextDrawSetSelectable(InventoryTD[36], 1);
  699.  
  700. InventoryTD[37] = TextDrawCreate(309.000000, 206.000000, "ld_dual:white");
  701. TextDrawFont(InventoryTD[37], 4);
  702. TextDrawLetterSize(InventoryTD[37], 0.508333, 3.099997);
  703. TextDrawTextSize(InventoryTD[37], 39.000000, 39.500000);
  704. TextDrawSetOutline(InventoryTD[37], 1);
  705. TextDrawSetShadow(InventoryTD[37], 0);
  706. TextDrawAlignment(InventoryTD[37], 2);
  707. TextDrawColor(InventoryTD[37], 147);
  708. TextDrawBackgroundColor(InventoryTD[37], 255);
  709. TextDrawBoxColor(InventoryTD[37], 135);
  710. TextDrawUseBox(InventoryTD[37], 1);
  711. TextDrawSetProportional(InventoryTD[37], 1);
  712. TextDrawSetSelectable(InventoryTD[37], 1);
  713.  
  714. InventoryTD[38] = TextDrawCreate(353.000000, 206.000000, "ld_dual:white");
  715. TextDrawFont(InventoryTD[38], 4);
  716. TextDrawLetterSize(InventoryTD[38], 0.508333, 3.099997);
  717. TextDrawTextSize(InventoryTD[38], 39.000000, 39.500000);
  718. TextDrawSetOutline(InventoryTD[38], 1);
  719. TextDrawSetShadow(InventoryTD[38], 0);
  720. TextDrawAlignment(InventoryTD[38], 2);
  721. TextDrawColor(InventoryTD[38], 147);
  722. TextDrawBackgroundColor(InventoryTD[38], 255);
  723. TextDrawBoxColor(InventoryTD[38], 135);
  724. TextDrawUseBox(InventoryTD[38], 1);
  725. TextDrawSetProportional(InventoryTD[38], 1);
  726. TextDrawSetSelectable(InventoryTD[38], 1);
  727.  
  728. InventoryTD[39] = TextDrawCreate(132.000000, 250.000000, "ld_dual:white");
  729. TextDrawFont(InventoryTD[39], 4);
  730. TextDrawLetterSize(InventoryTD[39], 0.508333, 3.099997);
  731. TextDrawTextSize(InventoryTD[39], 39.000000, 39.500000);
  732. TextDrawSetOutline(InventoryTD[39], 1);
  733. TextDrawSetShadow(InventoryTD[39], 0);
  734. TextDrawAlignment(InventoryTD[39], 2);
  735. TextDrawColor(InventoryTD[39], 147);
  736. TextDrawBackgroundColor(InventoryTD[39], 255);
  737. TextDrawBoxColor(InventoryTD[39], 135);
  738. TextDrawUseBox(InventoryTD[39], 1);
  739. TextDrawSetProportional(InventoryTD[39], 1);
  740. TextDrawSetSelectable(InventoryTD[39], 1);
  741.  
  742. InventoryTD[40] = TextDrawCreate(177.000000, 250.000000, "ld_dual:white");
  743. TextDrawFont(InventoryTD[40], 4);
  744. TextDrawLetterSize(InventoryTD[40], 0.508333, 3.099997);
  745. TextDrawTextSize(InventoryTD[40], 39.000000, 39.500000);
  746. TextDrawSetOutline(InventoryTD[40], 1);
  747. TextDrawSetShadow(InventoryTD[40], 0);
  748. TextDrawAlignment(InventoryTD[40], 2);
  749. TextDrawColor(InventoryTD[40], 147);
  750. TextDrawBackgroundColor(InventoryTD[40], 255);
  751. TextDrawBoxColor(InventoryTD[40], 135);
  752. TextDrawUseBox(InventoryTD[40], 1);
  753. TextDrawSetProportional(InventoryTD[40], 1);
  754. TextDrawSetSelectable(InventoryTD[40], 1);
  755.  
  756. InventoryTD[41] = TextDrawCreate(221.000000, 250.000000, "ld_dual:white");
  757. TextDrawFont(InventoryTD[41], 4);
  758. TextDrawLetterSize(InventoryTD[41], 0.508333, 3.099997);
  759. TextDrawTextSize(InventoryTD[41], 39.000000, 39.500000);
  760. TextDrawSetOutline(InventoryTD[41], 1);
  761. TextDrawSetShadow(InventoryTD[41], 0);
  762. TextDrawAlignment(InventoryTD[41], 2);
  763. TextDrawColor(InventoryTD[41], 147);
  764. TextDrawBackgroundColor(InventoryTD[41], 255);
  765. TextDrawBoxColor(InventoryTD[41], 135);
  766. TextDrawUseBox(InventoryTD[41], 1);
  767. TextDrawSetProportional(InventoryTD[41], 1);
  768. TextDrawSetSelectable(InventoryTD[41], 1);
  769.  
  770. InventoryTD[42] = TextDrawCreate(265.000000, 250.000000, "ld_dual:white");
  771. TextDrawFont(InventoryTD[42], 4);
  772. TextDrawLetterSize(InventoryTD[42], 0.508333, 3.099997);
  773. TextDrawTextSize(InventoryTD[42], 39.000000, 39.500000);
  774. TextDrawSetOutline(InventoryTD[42], 1);
  775. TextDrawSetShadow(InventoryTD[42], 0);
  776. TextDrawAlignment(InventoryTD[42], 2);
  777. TextDrawColor(InventoryTD[42], 147);
  778. TextDrawBackgroundColor(InventoryTD[42], 255);
  779. TextDrawBoxColor(InventoryTD[42], 135);
  780. TextDrawUseBox(InventoryTD[42], 1);
  781. TextDrawSetProportional(InventoryTD[42], 1);
  782. TextDrawSetSelectable(InventoryTD[42], 1);
  783.  
  784. InventoryTD[43] = TextDrawCreate(309.000000, 250.000000, "ld_dual:white");
  785. TextDrawFont(InventoryTD[43], 4);
  786. TextDrawLetterSize(InventoryTD[43], 0.508333, 3.099997);
  787. TextDrawTextSize(InventoryTD[43], 39.000000, 39.500000);
  788. TextDrawSetOutline(InventoryTD[43], 1);
  789. TextDrawSetShadow(InventoryTD[43], 0);
  790. TextDrawAlignment(InventoryTD[43], 2);
  791. TextDrawColor(InventoryTD[43], 147);
  792. TextDrawBackgroundColor(InventoryTD[43], 255);
  793. TextDrawBoxColor(InventoryTD[43], 135);
  794. TextDrawUseBox(InventoryTD[43], 1);
  795. TextDrawSetProportional(InventoryTD[43], 1);
  796. TextDrawSetSelectable(InventoryTD[43], 1);
  797.  
  798. InventoryTD[44] = TextDrawCreate(353.000000, 250.000000, "ld_dual:white");
  799. TextDrawFont(InventoryTD[44], 4);
  800. TextDrawLetterSize(InventoryTD[44], 0.508333, 3.099997);
  801. TextDrawTextSize(InventoryTD[44], 39.000000, 39.500000);
  802. TextDrawSetOutline(InventoryTD[44], 1);
  803. TextDrawSetShadow(InventoryTD[44], 0);
  804. TextDrawAlignment(InventoryTD[44], 2);
  805. TextDrawColor(InventoryTD[44], 147);
  806. TextDrawBackgroundColor(InventoryTD[44], 255);
  807. TextDrawBoxColor(InventoryTD[44], 135);
  808. TextDrawUseBox(InventoryTD[44], 1);
  809. TextDrawSetProportional(InventoryTD[44], 1);
  810. TextDrawSetSelectable(InventoryTD[44], 1);
  811.  
  812. InventoryTD[45] = TextDrawCreate(132.000000, 295.000000, "ld_dual:white");
  813. TextDrawFont(InventoryTD[45], 4);
  814. TextDrawLetterSize(InventoryTD[45], 0.508333, 3.099997);
  815. TextDrawTextSize(InventoryTD[45], 39.000000, 39.500000);
  816. TextDrawSetOutline(InventoryTD[45], 1);
  817. TextDrawSetShadow(InventoryTD[45], 0);
  818. TextDrawAlignment(InventoryTD[45], 2);
  819. TextDrawColor(InventoryTD[45], 147);
  820. TextDrawBackgroundColor(InventoryTD[45], 255);
  821. TextDrawBoxColor(InventoryTD[45], 135);
  822. TextDrawUseBox(InventoryTD[45], 1);
  823. TextDrawSetProportional(InventoryTD[45], 1);
  824. TextDrawSetSelectable(InventoryTD[45], 1);
  825.  
  826. InventoryTD[46] = TextDrawCreate(177.000000, 295.000000, "ld_dual:white");
  827. TextDrawFont(InventoryTD[46], 4);
  828. TextDrawLetterSize(InventoryTD[46], 0.508333, 3.099997);
  829. TextDrawTextSize(InventoryTD[46], 39.000000, 39.500000);
  830. TextDrawSetOutline(InventoryTD[46], 1);
  831. TextDrawSetShadow(InventoryTD[46], 0);
  832. TextDrawAlignment(InventoryTD[46], 2);
  833. TextDrawColor(InventoryTD[46], 147);
  834. TextDrawBackgroundColor(InventoryTD[46], 255);
  835. TextDrawBoxColor(InventoryTD[46], 135);
  836. TextDrawUseBox(InventoryTD[46], 1);
  837. TextDrawSetProportional(InventoryTD[46], 1);
  838. TextDrawSetSelectable(InventoryTD[46], 1);
  839.  
  840. InventoryTD[47] = TextDrawCreate(221.000000, 295.000000, "ld_dual:white");
  841. TextDrawFont(InventoryTD[47], 4);
  842. TextDrawLetterSize(InventoryTD[47], 0.508333, 3.099997);
  843. TextDrawTextSize(InventoryTD[47], 39.000000, 39.500000);
  844. TextDrawSetOutline(InventoryTD[47], 1);
  845. TextDrawSetShadow(InventoryTD[47], 0);
  846. TextDrawAlignment(InventoryTD[47], 2);
  847. TextDrawColor(InventoryTD[47], 147);
  848. TextDrawBackgroundColor(InventoryTD[47], 255);
  849. TextDrawBoxColor(InventoryTD[47], 135);
  850. TextDrawUseBox(InventoryTD[47], 1);
  851. TextDrawSetProportional(InventoryTD[47], 1);
  852. TextDrawSetSelectable(InventoryTD[47], 1);
  853.  
  854. InventoryTD[48] = TextDrawCreate(265.000000, 295.000000, "ld_dual:white");
  855. TextDrawFont(InventoryTD[48], 4);
  856. TextDrawLetterSize(InventoryTD[48], 0.508333, 3.099997);
  857. TextDrawTextSize(InventoryTD[48], 39.000000, 39.500000);
  858. TextDrawSetOutline(InventoryTD[48], 1);
  859. TextDrawSetShadow(InventoryTD[48], 0);
  860. TextDrawAlignment(InventoryTD[48], 2);
  861. TextDrawColor(InventoryTD[48], 147);
  862. TextDrawBackgroundColor(InventoryTD[48], 255);
  863. TextDrawBoxColor(InventoryTD[48], 135);
  864. TextDrawUseBox(InventoryTD[48], 1);
  865. TextDrawSetProportional(InventoryTD[48], 1);
  866. TextDrawSetSelectable(InventoryTD[48], 1);
  867.  
  868. InventoryTD[49] = TextDrawCreate(309.000000, 295.000000, "ld_dual:white");
  869. TextDrawFont(InventoryTD[49], 4);
  870. TextDrawLetterSize(InventoryTD[49], 0.508333, 3.099997);
  871. TextDrawTextSize(InventoryTD[49], 39.000000, 39.500000);
  872. TextDrawSetOutline(InventoryTD[49], 1);
  873. TextDrawSetShadow(InventoryTD[49], 0);
  874. TextDrawAlignment(InventoryTD[49], 2);
  875. TextDrawColor(InventoryTD[49], 147);
  876. TextDrawBackgroundColor(InventoryTD[49], 255);
  877. TextDrawBoxColor(InventoryTD[49], 135);
  878. TextDrawUseBox(InventoryTD[49], 1);
  879. TextDrawSetProportional(InventoryTD[49], 1);
  880. TextDrawSetSelectable(InventoryTD[49], 1);
  881.  
  882. InventoryTD[50] = TextDrawCreate(353.000000, 295.000000, "ld_dual:white");
  883. TextDrawFont(InventoryTD[50], 4);
  884. TextDrawLetterSize(InventoryTD[50], 0.508333, 3.099997);
  885. TextDrawTextSize(InventoryTD[50], 39.000000, 39.500000);
  886. TextDrawSetOutline(InventoryTD[50], 1);
  887. TextDrawSetShadow(InventoryTD[50], 0);
  888. TextDrawAlignment(InventoryTD[50], 2);
  889. TextDrawColor(InventoryTD[50], 147);
  890. TextDrawBackgroundColor(InventoryTD[50], 255);
  891. TextDrawBoxColor(InventoryTD[50], 135);
  892. TextDrawUseBox(InventoryTD[50], 1);
  893. TextDrawSetProportional(InventoryTD[50], 1);
  894. TextDrawSetSelectable(InventoryTD[50], 1);
  895.  
  896. InventoryTD[51] = TextDrawCreate(135.000000, 111.000000, "Preview_Model");
  897. TextDrawFont(InventoryTD[51], 5);
  898. TextDrawLetterSize(InventoryTD[51], 0.600000, 2.000000);
  899. TextDrawTextSize(InventoryTD[51], 52.000000, 52.000000);
  900. TextDrawSetOutline(InventoryTD[51], 0);
  901. TextDrawSetShadow(InventoryTD[51], 0);
  902. TextDrawAlignment(InventoryTD[51], 1);
  903. TextDrawColor(InventoryTD[51], -1);
  904. TextDrawBackgroundColor(InventoryTD[51], 0);
  905. TextDrawBoxColor(InventoryTD[51], 255);
  906. TextDrawUseBox(InventoryTD[51], 0);
  907. TextDrawSetProportional(InventoryTD[51], 1);
  908. TextDrawSetSelectable(InventoryTD[51], 0);
  909. TextDrawSetPreviewModel(InventoryTD[51], 372);
  910. TextDrawSetPreviewRot(InventoryTD[51], -10.000000, 0.000000, -20.000000, 1.109997);
  911. TextDrawSetPreviewVehCol(InventoryTD[51], 1, 1);
  912.  
  913. InventoryTD[52] = TextDrawCreate(180.000000, 111.000000, "Preview_Model");
  914. TextDrawFont(InventoryTD[52], 5);
  915. TextDrawLetterSize(InventoryTD[52], 0.600000, 2.000000);
  916. TextDrawTextSize(InventoryTD[52], 52.000000, 52.000000);
  917. TextDrawSetOutline(InventoryTD[52], 0);
  918. TextDrawSetShadow(InventoryTD[52], 0);
  919. TextDrawAlignment(InventoryTD[52], 1);
  920. TextDrawColor(InventoryTD[52], -256);
  921. TextDrawBackgroundColor(InventoryTD[52], 0);
  922. TextDrawBoxColor(InventoryTD[52], 255);
  923. TextDrawUseBox(InventoryTD[52], 0);
  924. TextDrawSetProportional(InventoryTD[52], 1);
  925. TextDrawSetSelectable(InventoryTD[52], 0);
  926. TextDrawSetPreviewModel(InventoryTD[52], 372);
  927. TextDrawSetPreviewRot(InventoryTD[52], -10.000000, 0.000000, -20.000000, 1.109997);
  928. TextDrawSetPreviewVehCol(InventoryTD[52], 1, 1);
  929.  
  930. InventoryTD[53] = TextDrawCreate(224.000000, 111.000000, "Preview_Model");
  931. TextDrawFont(InventoryTD[53], 5);
  932. TextDrawLetterSize(InventoryTD[53], 0.600000, 2.000000);
  933. TextDrawTextSize(InventoryTD[53], 52.000000, 52.000000);
  934. TextDrawSetOutline(InventoryTD[53], 0);
  935. TextDrawSetShadow(InventoryTD[53], 0);
  936. TextDrawAlignment(InventoryTD[53], 1);
  937. TextDrawColor(InventoryTD[53], -1);
  938. TextDrawBackgroundColor(InventoryTD[53], 0);
  939. TextDrawBoxColor(InventoryTD[53], 255);
  940. TextDrawUseBox(InventoryTD[53], 0);
  941. TextDrawSetProportional(InventoryTD[53], 1);
  942. TextDrawSetSelectable(InventoryTD[53], 0);
  943. TextDrawSetPreviewModel(InventoryTD[53], 372);
  944. TextDrawSetPreviewRot(InventoryTD[53], -10.000000, 0.000000, -20.000000, 1.109997);
  945. TextDrawSetPreviewVehCol(InventoryTD[53], 1, 1);
  946.  
  947. InventoryTD[54] = TextDrawCreate(268.000000, 111.000000, "Preview_Model");
  948. TextDrawFont(InventoryTD[54], 5);
  949. TextDrawLetterSize(InventoryTD[54], 0.600000, 2.000000);
  950. TextDrawTextSize(InventoryTD[54], 52.000000, 52.000000);
  951. TextDrawSetOutline(InventoryTD[54], 0);
  952. TextDrawSetShadow(InventoryTD[54], 0);
  953. TextDrawAlignment(InventoryTD[54], 1);
  954. TextDrawColor(InventoryTD[54], -1);
  955. TextDrawBackgroundColor(InventoryTD[54], 0);
  956. TextDrawBoxColor(InventoryTD[54], 255);
  957. TextDrawUseBox(InventoryTD[54], 0);
  958. TextDrawSetProportional(InventoryTD[54], 1);
  959. TextDrawSetSelectable(InventoryTD[54], 0);
  960. TextDrawSetPreviewModel(InventoryTD[54], 372);
  961. TextDrawSetPreviewRot(InventoryTD[54], -10.000000, 0.000000, -20.000000, 1.109997);
  962. TextDrawSetPreviewVehCol(InventoryTD[54], 1, 1);
  963.  
  964. InventoryTD[55] = TextDrawCreate(311.000000, 111.000000, "Preview_Model");
  965. TextDrawFont(InventoryTD[55], 5);
  966. TextDrawLetterSize(InventoryTD[55], 0.600000, 2.000000);
  967. TextDrawTextSize(InventoryTD[55], 52.000000, 52.000000);
  968. TextDrawSetOutline(InventoryTD[55], 0);
  969. TextDrawSetShadow(InventoryTD[55], 0);
  970. TextDrawAlignment(InventoryTD[55], 1);
  971. TextDrawColor(InventoryTD[55], -1);
  972. TextDrawBackgroundColor(InventoryTD[55], 0);
  973. TextDrawBoxColor(InventoryTD[55], 255);
  974. TextDrawUseBox(InventoryTD[55], 0);
  975. TextDrawSetProportional(InventoryTD[55], 1);
  976. TextDrawSetSelectable(InventoryTD[55], 0);
  977. TextDrawSetPreviewModel(InventoryTD[55], 372);
  978. TextDrawSetPreviewRot(InventoryTD[55], -10.000000, 0.000000, -20.000000, 1.109997);
  979. TextDrawSetPreviewVehCol(InventoryTD[55], 1, 1);
  980.  
  981. InventoryTD[56] = TextDrawCreate(356.000000, 111.000000, "Preview_Model");
  982. TextDrawFont(InventoryTD[56], 5);
  983. TextDrawLetterSize(InventoryTD[56], 0.600000, 2.000000);
  984. TextDrawTextSize(InventoryTD[56], 52.000000, 52.000000);
  985. TextDrawSetOutline(InventoryTD[56], 0);
  986. TextDrawSetShadow(InventoryTD[56], 0);
  987. TextDrawAlignment(InventoryTD[56], 1);
  988. TextDrawColor(InventoryTD[56], -1);
  989. TextDrawBackgroundColor(InventoryTD[56], 0);
  990. TextDrawBoxColor(InventoryTD[56], 255);
  991. TextDrawUseBox(InventoryTD[56], 0);
  992. TextDrawSetProportional(InventoryTD[56], 1);
  993. TextDrawSetSelectable(InventoryTD[56], 0);
  994. TextDrawSetPreviewModel(InventoryTD[56], 372);
  995. TextDrawSetPreviewRot(InventoryTD[56], -10.000000, 0.000000, -20.000000, 1.109997);
  996. TextDrawSetPreviewVehCol(InventoryTD[56], 1, 1);
  997.  
  998. InventoryTD[57] = TextDrawCreate(135.000000, 155.000000, "Preview_Model");
  999. TextDrawFont(InventoryTD[57], 5);
  1000. TextDrawLetterSize(InventoryTD[57], 0.600000, 2.000000);
  1001. TextDrawTextSize(InventoryTD[57], 52.000000, 52.000000);
  1002. TextDrawSetOutline(InventoryTD[57], 0);
  1003. TextDrawSetShadow(InventoryTD[57], 0);
  1004. TextDrawAlignment(InventoryTD[57], 1);
  1005. TextDrawColor(InventoryTD[57], -1);
  1006. TextDrawBackgroundColor(InventoryTD[57], 0);
  1007. TextDrawBoxColor(InventoryTD[57], 255);
  1008. TextDrawUseBox(InventoryTD[57], 0);
  1009. TextDrawSetProportional(InventoryTD[57], 1);
  1010. TextDrawSetSelectable(InventoryTD[57], 0);
  1011. TextDrawSetPreviewModel(InventoryTD[57], 372);
  1012. TextDrawSetPreviewRot(InventoryTD[57], -10.000000, 0.000000, -20.000000, 1.109997);
  1013. TextDrawSetPreviewVehCol(InventoryTD[57], 1, 1);
  1014.  
  1015. InventoryTD[58] = TextDrawCreate(180.000000, 155.000000, "Preview_Model");
  1016. TextDrawFont(InventoryTD[58], 5);
  1017. TextDrawLetterSize(InventoryTD[58], 0.600000, 2.000000);
  1018. TextDrawTextSize(InventoryTD[58], 52.000000, 52.000000);
  1019. TextDrawSetOutline(InventoryTD[58], 0);
  1020. TextDrawSetShadow(InventoryTD[58], 0);
  1021. TextDrawAlignment(InventoryTD[58], 1);
  1022. TextDrawColor(InventoryTD[58], -1);
  1023. TextDrawBackgroundColor(InventoryTD[58], 0);
  1024. TextDrawBoxColor(InventoryTD[58], 255);
  1025. TextDrawUseBox(InventoryTD[58], 0);
  1026. TextDrawSetProportional(InventoryTD[58], 1);
  1027. TextDrawSetSelectable(InventoryTD[58], 0);
  1028. TextDrawSetPreviewModel(InventoryTD[58], 372);
  1029. TextDrawSetPreviewRot(InventoryTD[58], -10.000000, 0.000000, -20.000000, 1.109997);
  1030. TextDrawSetPreviewVehCol(InventoryTD[58], 1, 1);
  1031.  
  1032. InventoryTD[59] = TextDrawCreate(224.000000, 155.000000, "Preview_Model");
  1033. TextDrawFont(InventoryTD[59], 5);
  1034. TextDrawLetterSize(InventoryTD[59], 0.600000, 2.000000);
  1035. TextDrawTextSize(InventoryTD[59], 52.000000, 52.000000);
  1036. TextDrawSetOutline(InventoryTD[59], 0);
  1037. TextDrawSetShadow(InventoryTD[59], 0);
  1038. TextDrawAlignment(InventoryTD[59], 1);
  1039. TextDrawColor(InventoryTD[59], -1);
  1040. TextDrawBackgroundColor(InventoryTD[59], 0);
  1041. TextDrawBoxColor(InventoryTD[59], 255);
  1042. TextDrawUseBox(InventoryTD[59], 0);
  1043. TextDrawSetProportional(InventoryTD[59], 1);
  1044. TextDrawSetSelectable(InventoryTD[59], 0);
  1045. TextDrawSetPreviewModel(InventoryTD[59], 372);
  1046. TextDrawSetPreviewRot(InventoryTD[59], -10.000000, 0.000000, -20.000000, 1.109997);
  1047. TextDrawSetPreviewVehCol(InventoryTD[59], 1, 1);
  1048.  
  1049. InventoryTD[60] = TextDrawCreate(268.000000, 155.000000, "Preview_Model");
  1050. TextDrawFont(InventoryTD[60], 5);
  1051. TextDrawLetterSize(InventoryTD[60], 0.600000, 2.000000);
  1052. TextDrawTextSize(InventoryTD[60], 52.000000, 52.000000);
  1053. TextDrawSetOutline(InventoryTD[60], 0);
  1054. TextDrawSetShadow(InventoryTD[60], 0);
  1055. TextDrawAlignment(InventoryTD[60], 1);
  1056. TextDrawColor(InventoryTD[60], -1);
  1057. TextDrawBackgroundColor(InventoryTD[60], 0);
  1058. TextDrawBoxColor(InventoryTD[60], 255);
  1059. TextDrawUseBox(InventoryTD[60], 0);
  1060. TextDrawSetProportional(InventoryTD[60], 1);
  1061. TextDrawSetSelectable(InventoryTD[60], 0);
  1062. TextDrawSetPreviewModel(InventoryTD[60], 372);
  1063. TextDrawSetPreviewRot(InventoryTD[60], -10.000000, 0.000000, -20.000000, 1.109997);
  1064. TextDrawSetPreviewVehCol(InventoryTD[60], 1, 1);
  1065.  
  1066. InventoryTD[61] = TextDrawCreate(312.000000, 155.000000, "Preview_Model");
  1067. TextDrawFont(InventoryTD[61], 5);
  1068. TextDrawLetterSize(InventoryTD[61], 0.600000, 2.000000);
  1069. TextDrawTextSize(InventoryTD[61], 52.000000, 52.000000);
  1070. TextDrawSetOutline(InventoryTD[61], 0);
  1071. TextDrawSetShadow(InventoryTD[61], 0);
  1072. TextDrawAlignment(InventoryTD[61], 1);
  1073. TextDrawColor(InventoryTD[61], -1);
  1074. TextDrawBackgroundColor(InventoryTD[61], 0);
  1075. TextDrawBoxColor(InventoryTD[61], 255);
  1076. TextDrawUseBox(InventoryTD[61], 0);
  1077. TextDrawSetProportional(InventoryTD[61], 1);
  1078. TextDrawSetSelectable(InventoryTD[61], 0);
  1079. TextDrawSetPreviewModel(InventoryTD[61], 372);
  1080. TextDrawSetPreviewRot(InventoryTD[61], -10.000000, 0.000000, -20.000000, 1.109997);
  1081. TextDrawSetPreviewVehCol(InventoryTD[61], 1, 1);
  1082.  
  1083. InventoryTD[62] = TextDrawCreate(356.000000, 155.000000, "Preview_Model");
  1084. TextDrawFont(InventoryTD[62], 5);
  1085. TextDrawLetterSize(InventoryTD[62], 0.600000, 2.000000);
  1086. TextDrawTextSize(InventoryTD[62], 52.000000, 52.000000);
  1087. TextDrawSetOutline(InventoryTD[62], 0);
  1088. TextDrawSetShadow(InventoryTD[62], 0);
  1089. TextDrawAlignment(InventoryTD[62], 1);
  1090. TextDrawColor(InventoryTD[62], -1);
  1091. TextDrawBackgroundColor(InventoryTD[62], 0);
  1092. TextDrawBoxColor(InventoryTD[62], 255);
  1093. TextDrawUseBox(InventoryTD[62], 0);
  1094. TextDrawSetProportional(InventoryTD[62], 1);
  1095. TextDrawSetSelectable(InventoryTD[62], 0);
  1096. TextDrawSetPreviewModel(InventoryTD[62], 372);
  1097. TextDrawSetPreviewRot(InventoryTD[62], -10.000000, 0.000000, -20.000000, 1.109997);
  1098. TextDrawSetPreviewVehCol(InventoryTD[62], 1, 1);
  1099.  
  1100. InventoryTD[63] = TextDrawCreate(135.000000, 199.000000, "Preview_Model");
  1101. TextDrawFont(InventoryTD[63], 5);
  1102. TextDrawLetterSize(InventoryTD[63], 0.600000, 2.000000);
  1103. TextDrawTextSize(InventoryTD[63], 52.000000, 52.000000);
  1104. TextDrawSetOutline(InventoryTD[63], 0);
  1105. TextDrawSetShadow(InventoryTD[63], 0);
  1106. TextDrawAlignment(InventoryTD[63], 1);
  1107. TextDrawColor(InventoryTD[63], -1);
  1108. TextDrawBackgroundColor(InventoryTD[63], 0);
  1109. TextDrawBoxColor(InventoryTD[63], 255);
  1110. TextDrawUseBox(InventoryTD[63], 0);
  1111. TextDrawSetProportional(InventoryTD[63], 1);
  1112. TextDrawSetSelectable(InventoryTD[63], 0);
  1113. TextDrawSetPreviewModel(InventoryTD[63], 372);
  1114. TextDrawSetPreviewRot(InventoryTD[63], -10.000000, 0.000000, -20.000000, 1.109997);
  1115. TextDrawSetPreviewVehCol(InventoryTD[63], 1, 1);
  1116.  
  1117. InventoryTD[64] = TextDrawCreate(180.000000, 199.000000, "Preview_Model");
  1118. TextDrawFont(InventoryTD[64], 5);
  1119. TextDrawLetterSize(InventoryTD[64], 0.600000, 2.000000);
  1120. TextDrawTextSize(InventoryTD[64], 52.000000, 52.000000);
  1121. TextDrawSetOutline(InventoryTD[64], 0);
  1122. TextDrawSetShadow(InventoryTD[64], 0);
  1123. TextDrawAlignment(InventoryTD[64], 1);
  1124. TextDrawColor(InventoryTD[64], -1);
  1125. TextDrawBackgroundColor(InventoryTD[64], 0);
  1126. TextDrawBoxColor(InventoryTD[64], 255);
  1127. TextDrawUseBox(InventoryTD[64], 0);
  1128. TextDrawSetProportional(InventoryTD[64], 1);
  1129. TextDrawSetSelectable(InventoryTD[64], 0);
  1130. TextDrawSetPreviewModel(InventoryTD[64], 372);
  1131. TextDrawSetPreviewRot(InventoryTD[64], -10.000000, 0.000000, -20.000000, 1.109997);
  1132. TextDrawSetPreviewVehCol(InventoryTD[64], 1, 1);
  1133.  
  1134. InventoryTD[65] = TextDrawCreate(224.000000, 199.000000, "Preview_Model");
  1135. TextDrawFont(InventoryTD[65], 5);
  1136. TextDrawLetterSize(InventoryTD[65], 0.600000, 2.000000);
  1137. TextDrawTextSize(InventoryTD[65], 52.000000, 52.000000);
  1138. TextDrawSetOutline(InventoryTD[65], 0);
  1139. TextDrawSetShadow(InventoryTD[65], 0);
  1140. TextDrawAlignment(InventoryTD[65], 1);
  1141. TextDrawColor(InventoryTD[65], -1);
  1142. TextDrawBackgroundColor(InventoryTD[65], 0);
  1143. TextDrawBoxColor(InventoryTD[65], 255);
  1144. TextDrawUseBox(InventoryTD[65], 0);
  1145. TextDrawSetProportional(InventoryTD[65], 1);
  1146. TextDrawSetSelectable(InventoryTD[65], 0);
  1147. TextDrawSetPreviewModel(InventoryTD[65], 372);
  1148. TextDrawSetPreviewRot(InventoryTD[65], -10.000000, 0.000000, -20.000000, 1.109997);
  1149. TextDrawSetPreviewVehCol(InventoryTD[65], 1, 1);
  1150.  
  1151. InventoryTD[66] = TextDrawCreate(268.000000, 199.000000, "Preview_Model");
  1152. TextDrawFont(InventoryTD[66], 5);
  1153. TextDrawLetterSize(InventoryTD[66], 0.600000, 2.000000);
  1154. TextDrawTextSize(InventoryTD[66], 52.000000, 52.000000);
  1155. TextDrawSetOutline(InventoryTD[66], 0);
  1156. TextDrawSetShadow(InventoryTD[66], 0);
  1157. TextDrawAlignment(InventoryTD[66], 1);
  1158. TextDrawColor(InventoryTD[66], -1);
  1159. TextDrawBackgroundColor(InventoryTD[66], 0);
  1160. TextDrawBoxColor(InventoryTD[66], 255);
  1161. TextDrawUseBox(InventoryTD[66], 0);
  1162. TextDrawSetProportional(InventoryTD[66], 1);
  1163. TextDrawSetSelectable(InventoryTD[66], 0);
  1164. TextDrawSetPreviewModel(InventoryTD[66], 372);
  1165. TextDrawSetPreviewRot(InventoryTD[66], -10.000000, 0.000000, -20.000000, 1.109997);
  1166. TextDrawSetPreviewVehCol(InventoryTD[66], 1, 1);
  1167.  
  1168. InventoryTD[67] = TextDrawCreate(312.000000, 199.000000, "Preview_Model");
  1169. TextDrawFont(InventoryTD[67], 5);
  1170. TextDrawLetterSize(InventoryTD[67], 0.600000, 2.000000);
  1171. TextDrawTextSize(InventoryTD[67], 52.000000, 52.000000);
  1172. TextDrawSetOutline(InventoryTD[67], 0);
  1173. TextDrawSetShadow(InventoryTD[67], 0);
  1174. TextDrawAlignment(InventoryTD[67], 1);
  1175. TextDrawColor(InventoryTD[67], -1);
  1176. TextDrawBackgroundColor(InventoryTD[67], 0);
  1177. TextDrawBoxColor(InventoryTD[67], 255);
  1178. TextDrawUseBox(InventoryTD[67], 0);
  1179. TextDrawSetProportional(InventoryTD[67], 1);
  1180. TextDrawSetSelectable(InventoryTD[67], 0);
  1181. TextDrawSetPreviewModel(InventoryTD[67], 372);
  1182. TextDrawSetPreviewRot(InventoryTD[67], -10.000000, 0.000000, -20.000000, 1.109997);
  1183. TextDrawSetPreviewVehCol(InventoryTD[67], 1, 1);
  1184.  
  1185. InventoryTD[68] = TextDrawCreate(356.000000, 199.000000, "Preview_Model");
  1186. TextDrawFont(InventoryTD[68], 5);
  1187. TextDrawLetterSize(InventoryTD[68], 0.600000, 2.000000);
  1188. TextDrawTextSize(InventoryTD[68], 52.000000, 52.000000);
  1189. TextDrawSetOutline(InventoryTD[68], 0);
  1190. TextDrawSetShadow(InventoryTD[68], 0);
  1191. TextDrawAlignment(InventoryTD[68], 1);
  1192. TextDrawColor(InventoryTD[68], -1);
  1193. TextDrawBackgroundColor(InventoryTD[68], 0);
  1194. TextDrawBoxColor(InventoryTD[68], 255);
  1195. TextDrawUseBox(InventoryTD[68], 0);
  1196. TextDrawSetProportional(InventoryTD[68], 1);
  1197. TextDrawSetSelectable(InventoryTD[68], 0);
  1198. TextDrawSetPreviewModel(InventoryTD[68], 372);
  1199. TextDrawSetPreviewRot(InventoryTD[68], -10.000000, 0.000000, -20.000000, 1.109997);
  1200. TextDrawSetPreviewVehCol(InventoryTD[68], 1, 1);
  1201.  
  1202. InventoryTD[69] = TextDrawCreate(135.000000, 243.000000, "Preview_Model");
  1203. TextDrawFont(InventoryTD[69], 5);
  1204. TextDrawLetterSize(InventoryTD[69], 0.600000, 2.000000);
  1205. TextDrawTextSize(InventoryTD[69], 52.000000, 52.000000);
  1206. TextDrawSetOutline(InventoryTD[69], 0);
  1207. TextDrawSetShadow(InventoryTD[69], 0);
  1208. TextDrawAlignment(InventoryTD[69], 1);
  1209. TextDrawColor(InventoryTD[69], -1);
  1210. TextDrawBackgroundColor(InventoryTD[69], 0);
  1211. TextDrawBoxColor(InventoryTD[69], 255);
  1212. TextDrawUseBox(InventoryTD[69], 0);
  1213. TextDrawSetProportional(InventoryTD[69], 1);
  1214. TextDrawSetSelectable(InventoryTD[69], 0);
  1215. TextDrawSetPreviewModel(InventoryTD[69], 372);
  1216. TextDrawSetPreviewRot(InventoryTD[69], -10.000000, 0.000000, -20.000000, 1.109997);
  1217. TextDrawSetPreviewVehCol(InventoryTD[69], 1, 1);
  1218.  
  1219. InventoryTD[70] = TextDrawCreate(180.000000, 243.000000, "Preview_Model");
  1220. TextDrawFont(InventoryTD[70], 5);
  1221. TextDrawLetterSize(InventoryTD[70], 0.600000, 2.000000);
  1222. TextDrawTextSize(InventoryTD[70], 52.000000, 52.000000);
  1223. TextDrawSetOutline(InventoryTD[70], 0);
  1224. TextDrawSetShadow(InventoryTD[70], 0);
  1225. TextDrawAlignment(InventoryTD[70], 1);
  1226. TextDrawColor(InventoryTD[70], -1);
  1227. TextDrawBackgroundColor(InventoryTD[70], 0);
  1228. TextDrawBoxColor(InventoryTD[70], 255);
  1229. TextDrawUseBox(InventoryTD[70], 0);
  1230. TextDrawSetProportional(InventoryTD[70], 1);
  1231. TextDrawSetSelectable(InventoryTD[70], 0);
  1232. TextDrawSetPreviewModel(InventoryTD[70], 372);
  1233. TextDrawSetPreviewRot(InventoryTD[70], -10.000000, 0.000000, -20.000000, 1.109997);
  1234. TextDrawSetPreviewVehCol(InventoryTD[70], 1, 1);
  1235.  
  1236. InventoryTD[71] = TextDrawCreate(224.000000, 243.000000, "Preview_Model");
  1237. TextDrawFont(InventoryTD[71], 5);
  1238. TextDrawLetterSize(InventoryTD[71], 0.600000, 2.000000);
  1239. TextDrawTextSize(InventoryTD[71], 52.000000, 52.000000);
  1240. TextDrawSetOutline(InventoryTD[71], 0);
  1241. TextDrawSetShadow(InventoryTD[71], 0);
  1242. TextDrawAlignment(InventoryTD[71], 1);
  1243. TextDrawColor(InventoryTD[71], -1);
  1244. TextDrawBackgroundColor(InventoryTD[71], 0);
  1245. TextDrawBoxColor(InventoryTD[71], 255);
  1246. TextDrawUseBox(InventoryTD[71], 0);
  1247. TextDrawSetProportional(InventoryTD[71], 1);
  1248. TextDrawSetSelectable(InventoryTD[71], 0);
  1249. TextDrawSetPreviewModel(InventoryTD[71], 372);
  1250. TextDrawSetPreviewRot(InventoryTD[71], -10.000000, 0.000000, -20.000000, 1.109997);
  1251. TextDrawSetPreviewVehCol(InventoryTD[71], 1, 1);
  1252.  
  1253. InventoryTD[72] = TextDrawCreate(268.000000, 243.000000, "Preview_Model");
  1254. TextDrawFont(InventoryTD[72], 5);
  1255. TextDrawLetterSize(InventoryTD[72], 0.600000, 2.000000);
  1256. TextDrawTextSize(InventoryTD[72], 52.000000, 52.000000);
  1257. TextDrawSetOutline(InventoryTD[72], 0);
  1258. TextDrawSetShadow(InventoryTD[72], 0);
  1259. TextDrawAlignment(InventoryTD[72], 1);
  1260. TextDrawColor(InventoryTD[72], -1);
  1261. TextDrawBackgroundColor(InventoryTD[72], 0);
  1262. TextDrawBoxColor(InventoryTD[72], 255);
  1263. TextDrawUseBox(InventoryTD[72], 0);
  1264. TextDrawSetProportional(InventoryTD[72], 1);
  1265. TextDrawSetSelectable(InventoryTD[72], 0);
  1266. TextDrawSetPreviewModel(InventoryTD[72], 372);
  1267. TextDrawSetPreviewRot(InventoryTD[72], -10.000000, 0.000000, -20.000000, 1.109997);
  1268. TextDrawSetPreviewVehCol(InventoryTD[72], 1, 1);
  1269.  
  1270. InventoryTD[73] = TextDrawCreate(312.000000, 243.000000, "Preview_Model");
  1271. TextDrawFont(InventoryTD[73], 5);
  1272. TextDrawLetterSize(InventoryTD[73], 0.600000, 2.000000);
  1273. TextDrawTextSize(InventoryTD[73], 52.000000, 52.000000);
  1274. TextDrawSetOutline(InventoryTD[73], 0);
  1275. TextDrawSetShadow(InventoryTD[73], 0);
  1276. TextDrawAlignment(InventoryTD[73], 1);
  1277. TextDrawColor(InventoryTD[73], -1);
  1278. TextDrawBackgroundColor(InventoryTD[73], 0);
  1279. TextDrawBoxColor(InventoryTD[73], 255);
  1280. TextDrawUseBox(InventoryTD[73], 0);
  1281. TextDrawSetProportional(InventoryTD[73], 1);
  1282. TextDrawSetSelectable(InventoryTD[73], 0);
  1283. TextDrawSetPreviewModel(InventoryTD[73], 372);
  1284. TextDrawSetPreviewRot(InventoryTD[73], -10.000000, 0.000000, -20.000000, 1.109997);
  1285. TextDrawSetPreviewVehCol(InventoryTD[73], 1, 1);
  1286.  
  1287. InventoryTD[74] = TextDrawCreate(356.000000, 243.000000, "Preview_Model");
  1288. TextDrawFont(InventoryTD[74], 5);
  1289. TextDrawLetterSize(InventoryTD[74], 0.600000, 2.000000);
  1290. TextDrawTextSize(InventoryTD[74], 52.000000, 52.000000);
  1291. TextDrawSetOutline(InventoryTD[74], 0);
  1292. TextDrawSetShadow(InventoryTD[74], 0);
  1293. TextDrawAlignment(InventoryTD[74], 1);
  1294. TextDrawColor(InventoryTD[74], -1);
  1295. TextDrawBackgroundColor(InventoryTD[74], 0);
  1296. TextDrawBoxColor(InventoryTD[74], 255);
  1297. TextDrawUseBox(InventoryTD[74], 0);
  1298. TextDrawSetProportional(InventoryTD[74], 1);
  1299. TextDrawSetSelectable(InventoryTD[74], 0);
  1300. TextDrawSetPreviewModel(InventoryTD[74], 372);
  1301. TextDrawSetPreviewRot(InventoryTD[74], -10.000000, 0.000000, -20.000000, 1.109997);
  1302. TextDrawSetPreviewVehCol(InventoryTD[74], 1, 1);
  1303.  
  1304. InventoryTD[75] = TextDrawCreate(135.000000, 288.000000, "Preview_Model");
  1305. TextDrawFont(InventoryTD[75], 5);
  1306. TextDrawLetterSize(InventoryTD[75], 0.600000, 2.000000);
  1307. TextDrawTextSize(InventoryTD[75], 52.000000, 52.000000);
  1308. TextDrawSetOutline(InventoryTD[75], 0);
  1309. TextDrawSetShadow(InventoryTD[75], 0);
  1310. TextDrawAlignment(InventoryTD[75], 1);
  1311. TextDrawColor(InventoryTD[75], -1);
  1312. TextDrawBackgroundColor(InventoryTD[75], 0);
  1313. TextDrawBoxColor(InventoryTD[75], 255);
  1314. TextDrawUseBox(InventoryTD[75], 0);
  1315. TextDrawSetProportional(InventoryTD[75], 1);
  1316. TextDrawSetSelectable(InventoryTD[75], 0);
  1317. TextDrawSetPreviewModel(InventoryTD[75], 372);
  1318. TextDrawSetPreviewRot(InventoryTD[75], -10.000000, 0.000000, -20.000000, 1.109997);
  1319. TextDrawSetPreviewVehCol(InventoryTD[75], 1, 1);
  1320.  
  1321. InventoryTD[76] = TextDrawCreate(180.000000, 288.000000, "Preview_Model");
  1322. TextDrawFont(InventoryTD[76], 5);
  1323. TextDrawLetterSize(InventoryTD[76], 0.600000, 2.000000);
  1324. TextDrawTextSize(InventoryTD[76], 52.000000, 52.000000);
  1325. TextDrawSetOutline(InventoryTD[76], 0);
  1326. TextDrawSetShadow(InventoryTD[76], 0);
  1327. TextDrawAlignment(InventoryTD[76], 1);
  1328. TextDrawColor(InventoryTD[76], -1);
  1329. TextDrawBackgroundColor(InventoryTD[76], 0);
  1330. TextDrawBoxColor(InventoryTD[76], 255);
  1331. TextDrawUseBox(InventoryTD[76], 0);
  1332. TextDrawSetProportional(InventoryTD[76], 1);
  1333. TextDrawSetSelectable(InventoryTD[76], 0);
  1334. TextDrawSetPreviewModel(InventoryTD[76], 372);
  1335. TextDrawSetPreviewRot(InventoryTD[76], -10.000000, 0.000000, -20.000000, 1.109997);
  1336. TextDrawSetPreviewVehCol(InventoryTD[76], 1, 1);
  1337.  
  1338. InventoryTD[77] = TextDrawCreate(224.000000, 288.000000, "Preview_Model");
  1339. TextDrawFont(InventoryTD[77], 5);
  1340. TextDrawLetterSize(InventoryTD[77], 0.600000, 2.000000);
  1341. TextDrawTextSize(InventoryTD[77], 52.000000, 52.000000);
  1342. TextDrawSetOutline(InventoryTD[77], 0);
  1343. TextDrawSetShadow(InventoryTD[77], 0);
  1344. TextDrawAlignment(InventoryTD[77], 1);
  1345. TextDrawColor(InventoryTD[77], -1);
  1346. TextDrawBackgroundColor(InventoryTD[77], 0);
  1347. TextDrawBoxColor(InventoryTD[77], 255);
  1348. TextDrawUseBox(InventoryTD[77], 0);
  1349. TextDrawSetProportional(InventoryTD[77], 1);
  1350. TextDrawSetSelectable(InventoryTD[77], 0);
  1351. TextDrawSetPreviewModel(InventoryTD[77], 372);
  1352. TextDrawSetPreviewRot(InventoryTD[77], -10.000000, 0.000000, -20.000000, 1.109997);
  1353. TextDrawSetPreviewVehCol(InventoryTD[77], 1, 1);
  1354.  
  1355. InventoryTD[78] = TextDrawCreate(268.000000, 288.000000, "Preview_Model");
  1356. TextDrawFont(InventoryTD[78], 5);
  1357. TextDrawLetterSize(InventoryTD[78], 0.600000, 2.000000);
  1358. TextDrawTextSize(InventoryTD[78], 52.000000, 52.000000);
  1359. TextDrawSetOutline(InventoryTD[78], 0);
  1360. TextDrawSetShadow(InventoryTD[78], 0);
  1361. TextDrawAlignment(InventoryTD[78], 1);
  1362. TextDrawColor(InventoryTD[78], -1);
  1363. TextDrawBackgroundColor(InventoryTD[78], 0);
  1364. TextDrawBoxColor(InventoryTD[78], 255);
  1365. TextDrawUseBox(InventoryTD[78], 0);
  1366. TextDrawSetProportional(InventoryTD[78], 1);
  1367. TextDrawSetSelectable(InventoryTD[78], 0);
  1368. TextDrawSetPreviewModel(InventoryTD[78], 372);
  1369. TextDrawSetPreviewRot(InventoryTD[78], -10.000000, 0.000000, -20.000000, 1.109997);
  1370. TextDrawSetPreviewVehCol(InventoryTD[78], 1, 1);
  1371.  
  1372. InventoryTD[79] = TextDrawCreate(312.000000, 288.000000, "Preview_Model");
  1373. TextDrawFont(InventoryTD[79], 5);
  1374. TextDrawLetterSize(InventoryTD[79], 0.600000, 2.000000);
  1375. TextDrawTextSize(InventoryTD[79], 52.000000, 52.000000);
  1376. TextDrawSetOutline(InventoryTD[79], 0);
  1377. TextDrawSetShadow(InventoryTD[79], 0);
  1378. TextDrawAlignment(InventoryTD[79], 1);
  1379. TextDrawColor(InventoryTD[79], -1);
  1380. TextDrawBackgroundColor(InventoryTD[79], 0);
  1381. TextDrawBoxColor(InventoryTD[79], 255);
  1382. TextDrawUseBox(InventoryTD[79], 0);
  1383. TextDrawSetProportional(InventoryTD[79], 1);
  1384. TextDrawSetSelectable(InventoryTD[79], 0);
  1385. TextDrawSetPreviewModel(InventoryTD[79], 372);
  1386. TextDrawSetPreviewRot(InventoryTD[79], -10.000000, 0.000000, -20.000000, 1.109997);
  1387. TextDrawSetPreviewVehCol(InventoryTD[79], 1, 1);
  1388.  
  1389. InventoryTD[80] = TextDrawCreate(356.000000, 288.000000, "Preview_Model");
  1390. TextDrawFont(InventoryTD[80], 5);
  1391. TextDrawLetterSize(InventoryTD[80], 0.600000, 2.000000);
  1392. TextDrawTextSize(InventoryTD[80], 52.000000, 52.000000);
  1393. TextDrawSetOutline(InventoryTD[80], 0);
  1394. TextDrawSetShadow(InventoryTD[80], 0);
  1395. TextDrawAlignment(InventoryTD[80], 1);
  1396. TextDrawColor(InventoryTD[80], -1);
  1397. TextDrawBackgroundColor(InventoryTD[80], 0);
  1398. TextDrawBoxColor(InventoryTD[80], 255);
  1399. TextDrawUseBox(InventoryTD[80], 0);
  1400. TextDrawSetProportional(InventoryTD[80], 1);
  1401. TextDrawSetSelectable(InventoryTD[80], 0);
  1402. TextDrawSetPreviewModel(InventoryTD[80], 372);
  1403. TextDrawSetPreviewRot(InventoryTD[80], -10.000000, 0.000000, -20.000000, 1.109997);
  1404. TextDrawSetPreviewVehCol(InventoryTD[80], 1, 1);
  1405.  
  1406. return 1;
  1407. }
  1408.  
  1409. public OnGameModeExit()
  1410. {
  1411. return 1;
  1412. }
  1413.  
  1414. public OnPlayerRequestClass(playerid, classid)
  1415. {
  1416. TogglePlayerSpectating(playerid, true);
  1417. SetPlayerColor(playerid, 0xFFFFFF00);
  1418. SetPlayerCamera(playerid);
  1419. return 1;
  1420. }
  1421.  
  1422. public OnPlayerConnect(playerid)
  1423. {
  1424. StockTD[playerid][0] = CreatePlayerTextDraw(playerid, 147.000000, 95.000000, "ld_dual:white");
  1425. PlayerTextDrawFont(playerid, StockTD[playerid][0], 4);
  1426. PlayerTextDrawLetterSize(playerid, StockTD[playerid][0], 0.600000, 2.000000);
  1427. PlayerTextDrawTextSize(playerid, StockTD[playerid][0], 344.000000, 239.000000);
  1428. PlayerTextDrawSetOutline(playerid, StockTD[playerid][0], 1);
  1429. PlayerTextDrawSetShadow(playerid, StockTD[playerid][0], 0);
  1430. PlayerTextDrawAlignment(playerid, StockTD[playerid][0], 1);
  1431. PlayerTextDrawColor(playerid, StockTD[playerid][0], -1);
  1432. PlayerTextDrawBackgroundColor(playerid, StockTD[playerid][0], 255);
  1433. PlayerTextDrawBoxColor(playerid, StockTD[playerid][0], 50);
  1434. PlayerTextDrawUseBox(playerid, StockTD[playerid][0], 1);
  1435. PlayerTextDrawSetProportional(playerid, StockTD[playerid][0], 1);
  1436. PlayerTextDrawSetSelectable(playerid, StockTD[playerid][0], 0);
  1437.  
  1438. StockTD[playerid][1] = CreatePlayerTextDraw(playerid, 147.000000, 95.000000, "ld_dual:white");
  1439. PlayerTextDrawFont(playerid, StockTD[playerid][1], 4);
  1440. PlayerTextDrawLetterSize(playerid, StockTD[playerid][1], 0.600000, 2.000000);
  1441. PlayerTextDrawTextSize(playerid, StockTD[playerid][1], 172.000000, 19.500000);
  1442. PlayerTextDrawSetOutline(playerid, StockTD[playerid][1], 1);
  1443. PlayerTextDrawSetShadow(playerid, StockTD[playerid][1], 0);
  1444. PlayerTextDrawAlignment(playerid, StockTD[playerid][1], 1);
  1445. PlayerTextDrawColor(playerid, StockTD[playerid][1], -5259777);
  1446. PlayerTextDrawBackgroundColor(playerid, StockTD[playerid][1], 255);
  1447. PlayerTextDrawBoxColor(playerid, StockTD[playerid][1], 50);
  1448. PlayerTextDrawUseBox(playerid, StockTD[playerid][1], 1);
  1449. PlayerTextDrawSetProportional(playerid, StockTD[playerid][1], 1);
  1450. PlayerTextDrawSetSelectable(playerid, StockTD[playerid][1], 0);
  1451.  
  1452. StockTD[playerid][2] = CreatePlayerTextDraw(playerid, 319.000000, 95.000000, "ld_dual:white");
  1453. PlayerTextDrawFont(playerid, StockTD[playerid][2], 4);
  1454. PlayerTextDrawLetterSize(playerid, StockTD[playerid][2], 0.600000, 2.000000);
  1455. PlayerTextDrawTextSize(playerid, StockTD[playerid][2], 172.000000, 19.500000);
  1456. PlayerTextDrawSetOutline(playerid, StockTD[playerid][2], 1);
  1457. PlayerTextDrawSetShadow(playerid, StockTD[playerid][2], 0);
  1458. PlayerTextDrawAlignment(playerid, StockTD[playerid][2], 1);
  1459. PlayerTextDrawColor(playerid, StockTD[playerid][2], -5002753);
  1460. PlayerTextDrawBackgroundColor(playerid, StockTD[playerid][2], 255);
  1461. PlayerTextDrawBoxColor(playerid, StockTD[playerid][2], 50);
  1462. PlayerTextDrawUseBox(playerid, StockTD[playerid][2], 1);
  1463. PlayerTextDrawSetProportional(playerid, StockTD[playerid][2], 1);
  1464. PlayerTextDrawSetSelectable(playerid, StockTD[playerid][2], 0);
  1465.  
  1466. StockTD[playerid][3] = CreatePlayerTextDraw(playerid, 147.000000, 334.000000, "ld_dual:white");
  1467. PlayerTextDrawFont(playerid, StockTD[playerid][3], 4);
  1468. PlayerTextDrawLetterSize(playerid, StockTD[playerid][3], 0.600000, 2.000000);
  1469. PlayerTextDrawTextSize(playerid, StockTD[playerid][3], 172.000000, 19.500000);
  1470. PlayerTextDrawSetOutline(playerid, StockTD[playerid][3], 1);
  1471. PlayerTextDrawSetShadow(playerid, StockTD[playerid][3], 0);
  1472. PlayerTextDrawAlignment(playerid, StockTD[playerid][3], 1);
  1473. PlayerTextDrawColor(playerid, StockTD[playerid][3], -5259777);
  1474. PlayerTextDrawBackgroundColor(playerid, StockTD[playerid][3], 255);
  1475. PlayerTextDrawBoxColor(playerid, StockTD[playerid][3], 50);
  1476. PlayerTextDrawUseBox(playerid, StockTD[playerid][3], 1);
  1477. PlayerTextDrawSetProportional(playerid, StockTD[playerid][3], 1);
  1478. PlayerTextDrawSetSelectable(playerid, StockTD[playerid][3], 0);
  1479.  
  1480. StockTD[playerid][4] = CreatePlayerTextDraw(playerid, 319.000000, 334.000000, "ld_dual:white");
  1481. PlayerTextDrawFont(playerid, StockTD[playerid][4], 4);
  1482. PlayerTextDrawLetterSize(playerid, StockTD[playerid][4], 0.600000, 2.000000);
  1483. PlayerTextDrawTextSize(playerid, StockTD[playerid][4], 172.000000, 19.500000);
  1484. PlayerTextDrawSetOutline(playerid, StockTD[playerid][4], 1);
  1485. PlayerTextDrawSetShadow(playerid, StockTD[playerid][4], 0);
  1486. PlayerTextDrawAlignment(playerid, StockTD[playerid][4], 1);
  1487. PlayerTextDrawColor(playerid, StockTD[playerid][4], -5002753);
  1488. PlayerTextDrawBackgroundColor(playerid, StockTD[playerid][4], 255);
  1489. PlayerTextDrawBoxColor(playerid, StockTD[playerid][4], 50);
  1490. PlayerTextDrawUseBox(playerid, StockTD[playerid][4], 1);
  1491. PlayerTextDrawSetProportional(playerid, StockTD[playerid][4], 1);
  1492. PlayerTextDrawSetSelectable(playerid, StockTD[playerid][4], 0);
  1493.  
  1494. StockTD[playerid][5] = CreatePlayerTextDraw(playerid, 133.000000, 104.000000, "ld_dual:white");
  1495. PlayerTextDrawFont(playerid, StockTD[playerid][5], 4);
  1496. PlayerTextDrawLetterSize(playerid, StockTD[playerid][5], 0.600000, 2.000000);
  1497. PlayerTextDrawTextSize(playerid, StockTD[playerid][5], 14.000000, 120.000000);
  1498. PlayerTextDrawSetOutline(playerid, StockTD[playerid][5], 1);
  1499. PlayerTextDrawSetShadow(playerid, StockTD[playerid][5], 0);
  1500. PlayerTextDrawAlignment(playerid, StockTD[playerid][5], 1);
  1501. PlayerTextDrawColor(playerid, StockTD[playerid][5], -5259777);
  1502. PlayerTextDrawBackgroundColor(playerid, StockTD[playerid][5], 255);
  1503. PlayerTextDrawBoxColor(playerid, StockTD[playerid][5], 50);
  1504. PlayerTextDrawUseBox(playerid, StockTD[playerid][5], 1);
  1505. PlayerTextDrawSetProportional(playerid, StockTD[playerid][5], 1);
  1506. PlayerTextDrawSetSelectable(playerid, StockTD[playerid][5], 0);
  1507.  
  1508. StockTD[playerid][6] = CreatePlayerTextDraw(playerid, 133.000000, 224.000000, "ld_dual:white");
  1509. PlayerTextDrawFont(playerid, StockTD[playerid][6], 4);
  1510. PlayerTextDrawLetterSize(playerid, StockTD[playerid][6], 0.600000, 2.000000);
  1511. PlayerTextDrawTextSize(playerid, StockTD[playerid][6], 14.000000, 120.000000);
  1512. PlayerTextDrawSetOutline(playerid, StockTD[playerid][6], 1);
  1513. PlayerTextDrawSetShadow(playerid, StockTD[playerid][6], 0);
  1514. PlayerTextDrawAlignment(playerid, StockTD[playerid][6], 1);
  1515. PlayerTextDrawColor(playerid, StockTD[playerid][6], -5259777);
  1516. PlayerTextDrawBackgroundColor(playerid, StockTD[playerid][6], 255);
  1517. PlayerTextDrawBoxColor(playerid, StockTD[playerid][6], 50);
  1518. PlayerTextDrawUseBox(playerid, StockTD[playerid][6], 1);
  1519. PlayerTextDrawSetProportional(playerid, StockTD[playerid][6], 1);
  1520. PlayerTextDrawSetSelectable(playerid, StockTD[playerid][6], 0);
  1521.  
  1522. StockTD[playerid][7] = CreatePlayerTextDraw(playerid, 491.000000, 104.000000, "ld_dual:white");
  1523. PlayerTextDrawFont(playerid, StockTD[playerid][7], 4);
  1524. PlayerTextDrawLetterSize(playerid, StockTD[playerid][7], 0.600000, 2.000000);
  1525. PlayerTextDrawTextSize(playerid, StockTD[playerid][7], 14.000000, 120.000000);
  1526. PlayerTextDrawSetOutline(playerid, StockTD[playerid][7], 1);
  1527. PlayerTextDrawSetShadow(playerid, StockTD[playerid][7], 0);
  1528. PlayerTextDrawAlignment(playerid, StockTD[playerid][7], 1);
  1529. PlayerTextDrawColor(playerid, StockTD[playerid][7], -5002753);
  1530. PlayerTextDrawBackgroundColor(playerid, StockTD[playerid][7], 255);
  1531. PlayerTextDrawBoxColor(playerid, StockTD[playerid][7], 50);
  1532. PlayerTextDrawUseBox(playerid, StockTD[playerid][7], 1);
  1533. PlayerTextDrawSetProportional(playerid, StockTD[playerid][7], 1);
  1534. PlayerTextDrawSetSelectable(playerid, StockTD[playerid][7], 0);
  1535.  
  1536. StockTD[playerid][8] = CreatePlayerTextDraw(playerid, 491.000000, 224.000000, "ld_dual:white");
  1537. PlayerTextDrawFont(playerid, StockTD[playerid][8], 4);
  1538. PlayerTextDrawLetterSize(playerid, StockTD[playerid][8], 0.600000, 2.000000);
  1539. PlayerTextDrawTextSize(playerid, StockTD[playerid][8], 14.000000, 120.000000);
  1540. PlayerTextDrawSetOutline(playerid, StockTD[playerid][8], 1);
  1541. PlayerTextDrawSetShadow(playerid, StockTD[playerid][8], 0);
  1542. PlayerTextDrawAlignment(playerid, StockTD[playerid][8], 1);
  1543. PlayerTextDrawColor(playerid, StockTD[playerid][8], -5002753);
  1544. PlayerTextDrawBackgroundColor(playerid, StockTD[playerid][8], 255);
  1545. PlayerTextDrawBoxColor(playerid, StockTD[playerid][8], 50);
  1546. PlayerTextDrawUseBox(playerid, StockTD[playerid][8], 1);
  1547. PlayerTextDrawSetProportional(playerid, StockTD[playerid][8], 1);
  1548. PlayerTextDrawSetSelectable(playerid, StockTD[playerid][8], 0);
  1549.  
  1550. StockTD[playerid][9] = CreatePlayerTextDraw(playerid, 126.000000, 89.500000, "ld_beat:chit");
  1551. PlayerTextDrawFont(playerid, StockTD[playerid][9], 4);
  1552. PlayerTextDrawLetterSize(playerid, StockTD[playerid][9], 0.600000, 2.000000);
  1553. PlayerTextDrawTextSize(playerid, StockTD[playerid][9], 42.000000, 31.000000);
  1554. PlayerTextDrawSetOutline(playerid, StockTD[playerid][9], 1);
  1555. PlayerTextDrawSetShadow(playerid, StockTD[playerid][9], 0);
  1556. PlayerTextDrawAlignment(playerid, StockTD[playerid][9], 1);
  1557. PlayerTextDrawColor(playerid, StockTD[playerid][9], -5259777);
  1558. PlayerTextDrawBackgroundColor(playerid, StockTD[playerid][9], 255);
  1559. PlayerTextDrawBoxColor(playerid, StockTD[playerid][9], 50);
  1560. PlayerTextDrawUseBox(playerid, StockTD[playerid][9], 1);
  1561. PlayerTextDrawSetProportional(playerid, StockTD[playerid][9], 1);
  1562. PlayerTextDrawSetSelectable(playerid, StockTD[playerid][9], 0);
  1563.  
  1564. StockTD[playerid][10] = CreatePlayerTextDraw(playerid, 126.000000, 327.500000, "ld_beat:chit");
  1565. PlayerTextDrawFont(playerid, StockTD[playerid][10], 4);
  1566. PlayerTextDrawLetterSize(playerid, StockTD[playerid][10], 0.600000, 2.000000);
  1567. PlayerTextDrawTextSize(playerid, StockTD[playerid][10], 42.000000, 31.000000);
  1568. PlayerTextDrawSetOutline(playerid, StockTD[playerid][10], 1);
  1569. PlayerTextDrawSetShadow(playerid, StockTD[playerid][10], 0);
  1570. PlayerTextDrawAlignment(playerid, StockTD[playerid][10], 1);
  1571. PlayerTextDrawColor(playerid, StockTD[playerid][10], -5259777);
  1572. PlayerTextDrawBackgroundColor(playerid, StockTD[playerid][10], 255);
  1573. PlayerTextDrawBoxColor(playerid, StockTD[playerid][10], 50);
  1574. PlayerTextDrawUseBox(playerid, StockTD[playerid][10], 1);
  1575. PlayerTextDrawSetProportional(playerid, StockTD[playerid][10], 1);
  1576. PlayerTextDrawSetSelectable(playerid, StockTD[playerid][10], 0);
  1577.  
  1578. StockTD[playerid][11] = CreatePlayerTextDraw(playerid, 470.000000, 89.500000, "ld_beat:chit");
  1579. PlayerTextDrawFont(playerid, StockTD[playerid][11], 4);
  1580. PlayerTextDrawLetterSize(playerid, StockTD[playerid][11], 0.600000, 2.000000);
  1581. PlayerTextDrawTextSize(playerid, StockTD[playerid][11], 42.000000, 31.000000);
  1582. PlayerTextDrawSetOutline(playerid, StockTD[playerid][11], 1);
  1583. PlayerTextDrawSetShadow(playerid, StockTD[playerid][11], 0);
  1584. PlayerTextDrawAlignment(playerid, StockTD[playerid][11], 1);
  1585. PlayerTextDrawColor(playerid, StockTD[playerid][11], -5002753);
  1586. PlayerTextDrawBackgroundColor(playerid, StockTD[playerid][11], 255);
  1587. PlayerTextDrawBoxColor(playerid, StockTD[playerid][11], 50);
  1588. PlayerTextDrawUseBox(playerid, StockTD[playerid][11], 1);
  1589. PlayerTextDrawSetProportional(playerid, StockTD[playerid][11], 1);
  1590. PlayerTextDrawSetSelectable(playerid, StockTD[playerid][11], 0);
  1591.  
  1592. StockTD[playerid][12] = CreatePlayerTextDraw(playerid, 470.000000, 327.500000, "ld_beat:chit");
  1593. PlayerTextDrawFont(playerid, StockTD[playerid][12], 4);
  1594. PlayerTextDrawLetterSize(playerid, StockTD[playerid][12], 0.600000, 2.000000);
  1595. PlayerTextDrawTextSize(playerid, StockTD[playerid][12], 42.000000, 31.000000);
  1596. PlayerTextDrawSetOutline(playerid, StockTD[playerid][12], 1);
  1597. PlayerTextDrawSetShadow(playerid, StockTD[playerid][12], 0);
  1598. PlayerTextDrawAlignment(playerid, StockTD[playerid][12], 1);
  1599. PlayerTextDrawColor(playerid, StockTD[playerid][12], -5002753);
  1600. PlayerTextDrawBackgroundColor(playerid, StockTD[playerid][12], 255);
  1601. PlayerTextDrawBoxColor(playerid, StockTD[playerid][12], 50);
  1602. PlayerTextDrawUseBox(playerid, StockTD[playerid][12], 1);
  1603. PlayerTextDrawSetProportional(playerid, StockTD[playerid][12], 1);
  1604. PlayerTextDrawSetSelectable(playerid, StockTD[playerid][12], 0);
  1605.  
  1606. StockTD[playerid][13] = CreatePlayerTextDraw(playerid, 152.000000, 96.000000, "GOLD");
  1607. PlayerTextDrawFont(playerid, StockTD[playerid][13], 1);
  1608. PlayerTextDrawLetterSize(playerid, StockTD[playerid][13], 0.550000, 1.799998);
  1609. PlayerTextDrawTextSize(playerid, StockTD[playerid][13], 200.000000, 12.000000);
  1610. PlayerTextDrawSetOutline(playerid, StockTD[playerid][13], 0);
  1611. PlayerTextDrawSetShadow(playerid, StockTD[playerid][13], 0);
  1612. PlayerTextDrawAlignment(playerid, StockTD[playerid][13], 1);
  1613. PlayerTextDrawColor(playerid, StockTD[playerid][13], -134280961);
  1614. PlayerTextDrawBackgroundColor(playerid, StockTD[playerid][13], 0);
  1615. PlayerTextDrawBoxColor(playerid, StockTD[playerid][13], 255);
  1616. PlayerTextDrawUseBox(playerid, StockTD[playerid][13], 0);
  1617. PlayerTextDrawSetProportional(playerid, StockTD[playerid][13], 1);
  1618. PlayerTextDrawSetSelectable(playerid, StockTD[playerid][13], 1);
  1619.  
  1620. StockTD[playerid][14] = CreatePlayerTextDraw(playerid, 207.000000, 97.000000, "ld_dual:white");
  1621. PlayerTextDrawFont(playerid, StockTD[playerid][14], 4);
  1622. PlayerTextDrawLetterSize(playerid, StockTD[playerid][14], 0.600000, 2.000000);
  1623. PlayerTextDrawTextSize(playerid, StockTD[playerid][14], 84.000000, 15.500000);
  1624. PlayerTextDrawSetOutline(playerid, StockTD[playerid][14], 1);
  1625. PlayerTextDrawSetShadow(playerid, StockTD[playerid][14], 0);
  1626. PlayerTextDrawAlignment(playerid, StockTD[playerid][14], 1);
  1627. PlayerTextDrawColor(playerid, StockTD[playerid][14], 255);
  1628. PlayerTextDrawBackgroundColor(playerid, StockTD[playerid][14], 255);
  1629. PlayerTextDrawBoxColor(playerid, StockTD[playerid][14], 50);
  1630. PlayerTextDrawUseBox(playerid, StockTD[playerid][14], 1);
  1631. PlayerTextDrawSetProportional(playerid, StockTD[playerid][14], 1);
  1632. PlayerTextDrawSetSelectable(playerid, StockTD[playerid][14], 1);
  1633.  
  1634. StockTD[playerid][15] = CreatePlayerTextDraw(playerid, 208.000000, 96.000000, "G");
  1635. PlayerTextDrawFont(playerid, StockTD[playerid][15], 1);
  1636. PlayerTextDrawLetterSize(playerid, StockTD[playerid][15], 0.566666, 1.799998);
  1637. PlayerTextDrawTextSize(playerid, StockTD[playerid][15], 400.000000, 17.000000);
  1638. PlayerTextDrawSetOutline(playerid, StockTD[playerid][15], 1);
  1639. PlayerTextDrawSetShadow(playerid, StockTD[playerid][15], 0);
  1640. PlayerTextDrawAlignment(playerid, StockTD[playerid][15], 1);
  1641. PlayerTextDrawColor(playerid, StockTD[playerid][15], 1687547391);
  1642. PlayerTextDrawBackgroundColor(playerid, StockTD[playerid][15], 255);
  1643. PlayerTextDrawBoxColor(playerid, StockTD[playerid][15], 50);
  1644. PlayerTextDrawUseBox(playerid, StockTD[playerid][15], 0);
  1645. PlayerTextDrawSetProportional(playerid, StockTD[playerid][15], 1);
  1646. PlayerTextDrawSetSelectable(playerid, StockTD[playerid][15], 0);
  1647.  
  1648. StockTD[playerid][16] = CreatePlayerTextDraw(playerid, 223.000000, 96.000000, "O");
  1649. PlayerTextDrawFont(playerid, StockTD[playerid][16], 1);
  1650. PlayerTextDrawLetterSize(playerid, StockTD[playerid][16], 0.566666, 1.799998);
  1651. PlayerTextDrawTextSize(playerid, StockTD[playerid][16], 400.000000, 17.000000);
  1652. PlayerTextDrawSetOutline(playerid, StockTD[playerid][16], 1);
  1653. PlayerTextDrawSetShadow(playerid, StockTD[playerid][16], 0);
  1654. PlayerTextDrawAlignment(playerid, StockTD[playerid][16], 1);
  1655. PlayerTextDrawColor(playerid, StockTD[playerid][16], -16776961);
  1656. PlayerTextDrawBackgroundColor(playerid, StockTD[playerid][16], 255);
  1657. PlayerTextDrawBoxColor(playerid, StockTD[playerid][16], 50);
  1658. PlayerTextDrawUseBox(playerid, StockTD[playerid][16], 0);
  1659. PlayerTextDrawSetProportional(playerid, StockTD[playerid][16], 1);
  1660. PlayerTextDrawSetSelectable(playerid, StockTD[playerid][16], 0);
  1661.  
  1662. StockTD[playerid][17] = CreatePlayerTextDraw(playerid, 239.000000, 96.000000, "O");
  1663. PlayerTextDrawFont(playerid, StockTD[playerid][17], 1);
  1664. PlayerTextDrawLetterSize(playerid, StockTD[playerid][17], 0.566666, 1.799998);
  1665. PlayerTextDrawTextSize(playerid, StockTD[playerid][17], 400.000000, 17.000000);
  1666. PlayerTextDrawSetOutline(playerid, StockTD[playerid][17], 1);
  1667. PlayerTextDrawSetShadow(playerid, StockTD[playerid][17], 0);
  1668. PlayerTextDrawAlignment(playerid, StockTD[playerid][17], 1);
  1669. PlayerTextDrawColor(playerid, StockTD[playerid][17], -65281);
  1670. PlayerTextDrawBackgroundColor(playerid, StockTD[playerid][17], 255);
  1671. PlayerTextDrawBoxColor(playerid, StockTD[playerid][17], 50);
  1672. PlayerTextDrawUseBox(playerid, StockTD[playerid][17], 0);
  1673. PlayerTextDrawSetProportional(playerid, StockTD[playerid][17], 1);
  1674. PlayerTextDrawSetSelectable(playerid, StockTD[playerid][17], 0);
  1675.  
  1676. StockTD[playerid][18] = CreatePlayerTextDraw(playerid, 255.000000, 96.000000, "G");
  1677. PlayerTextDrawFont(playerid, StockTD[playerid][18], 1);
  1678. PlayerTextDrawLetterSize(playerid, StockTD[playerid][18], 0.566666, 1.799998);
  1679. PlayerTextDrawTextSize(playerid, StockTD[playerid][18], 400.000000, 17.000000);
  1680. PlayerTextDrawSetOutline(playerid, StockTD[playerid][18], 1);
  1681. PlayerTextDrawSetShadow(playerid, StockTD[playerid][18], 0);
  1682. PlayerTextDrawAlignment(playerid, StockTD[playerid][18], 1);
  1683. PlayerTextDrawColor(playerid, StockTD[playerid][18], 1687547391);
  1684. PlayerTextDrawBackgroundColor(playerid, StockTD[playerid][18], 255);
  1685. PlayerTextDrawBoxColor(playerid, StockTD[playerid][18], 50);
  1686. PlayerTextDrawUseBox(playerid, StockTD[playerid][18], 0);
  1687. PlayerTextDrawSetProportional(playerid, StockTD[playerid][18], 1);
  1688. PlayerTextDrawSetSelectable(playerid, StockTD[playerid][18], 0);
  1689.  
  1690. StockTD[playerid][19] = CreatePlayerTextDraw(playerid, 270.000000, 96.000000, "L");
  1691. PlayerTextDrawFont(playerid, StockTD[playerid][19], 1);
  1692. PlayerTextDrawLetterSize(playerid, StockTD[playerid][19], 0.566666, 1.799998);
  1693. PlayerTextDrawTextSize(playerid, StockTD[playerid][19], 400.000000, 17.000000);
  1694. PlayerTextDrawSetOutline(playerid, StockTD[playerid][19], 1);
  1695. PlayerTextDrawSetShadow(playerid, StockTD[playerid][19], 0);
  1696. PlayerTextDrawAlignment(playerid, StockTD[playerid][19], 1);
  1697. PlayerTextDrawColor(playerid, StockTD[playerid][19], 9109759);
  1698. PlayerTextDrawBackgroundColor(playerid, StockTD[playerid][19], 255);
  1699. PlayerTextDrawBoxColor(playerid, StockTD[playerid][19], 50);
  1700. PlayerTextDrawUseBox(playerid, StockTD[playerid][19], 0);
  1701. PlayerTextDrawSetProportional(playerid, StockTD[playerid][19], 1);
  1702. PlayerTextDrawSetSelectable(playerid, StockTD[playerid][19], 0);
  1703.  
  1704. StockTD[playerid][20] = CreatePlayerTextDraw(playerid, 280.000000, 96.000000, "E");
  1705. PlayerTextDrawFont(playerid, StockTD[playerid][20], 1);
  1706. PlayerTextDrawLetterSize(playerid, StockTD[playerid][20], 0.566666, 1.799998);
  1707. PlayerTextDrawTextSize(playerid, StockTD[playerid][20], 400.000000, 17.000000);
  1708. PlayerTextDrawSetOutline(playerid, StockTD[playerid][20], 1);
  1709. PlayerTextDrawSetShadow(playerid, StockTD[playerid][20], 0);
  1710. PlayerTextDrawAlignment(playerid, StockTD[playerid][20], 1);
  1711. PlayerTextDrawColor(playerid, StockTD[playerid][20], -16776961);
  1712. PlayerTextDrawBackgroundColor(playerid, StockTD[playerid][20], 255);
  1713. PlayerTextDrawBoxColor(playerid, StockTD[playerid][20], 50);
  1714. PlayerTextDrawUseBox(playerid, StockTD[playerid][20], 0);
  1715. PlayerTextDrawSetProportional(playerid, StockTD[playerid][20], 1);
  1716. PlayerTextDrawSetSelectable(playerid, StockTD[playerid][20], 0);
  1717.  
  1718. StockTD[playerid][21] = CreatePlayerTextDraw(playerid, 304.000000, 95.000000, "APPLE");
  1719. PlayerTextDrawFont(playerid, StockTD[playerid][21], 1);
  1720. PlayerTextDrawLetterSize(playerid, StockTD[playerid][21], 0.600000, 2.000000);
  1721. PlayerTextDrawTextSize(playerid, StockTD[playerid][21], 364.000000, 13.000000);
  1722. PlayerTextDrawSetOutline(playerid, StockTD[playerid][21], 1);
  1723. PlayerTextDrawSetShadow(playerid, StockTD[playerid][21], 0);
  1724. PlayerTextDrawAlignment(playerid, StockTD[playerid][21], 1);
  1725. PlayerTextDrawColor(playerid, StockTD[playerid][21], 1296911871);
  1726. PlayerTextDrawBackgroundColor(playerid, StockTD[playerid][21], 255);
  1727. PlayerTextDrawBoxColor(playerid, StockTD[playerid][21], 50);
  1728. PlayerTextDrawUseBox(playerid, StockTD[playerid][21], 0);
  1729. PlayerTextDrawSetProportional(playerid, StockTD[playerid][21], 1);
  1730. PlayerTextDrawSetSelectable(playerid, StockTD[playerid][21], 1);
  1731.  
  1732. StockTD[playerid][22] = CreatePlayerTextDraw(playerid, 375.000000, 95.000000, "AMAZON");
  1733. PlayerTextDrawFont(playerid, StockTD[playerid][22], 1);
  1734. PlayerTextDrawLetterSize(playerid, StockTD[playerid][22], 0.600000, 2.000000);
  1735. PlayerTextDrawTextSize(playerid, StockTD[playerid][22], 477.500000, 13.000000);
  1736. PlayerTextDrawSetOutline(playerid, StockTD[playerid][22], 1);
  1737. PlayerTextDrawSetShadow(playerid, StockTD[playerid][22], 0);
  1738. PlayerTextDrawAlignment(playerid, StockTD[playerid][22], 1);
  1739. PlayerTextDrawColor(playerid, StockTD[playerid][22], -764862721);
  1740. PlayerTextDrawBackgroundColor(playerid, StockTD[playerid][22], 255);
  1741. PlayerTextDrawBoxColor(playerid, StockTD[playerid][22], 50);
  1742. PlayerTextDrawUseBox(playerid, StockTD[playerid][22], 0);
  1743. PlayerTextDrawSetProportional(playerid, StockTD[playerid][22], 1);
  1744. PlayerTextDrawSetSelectable(playerid, StockTD[playerid][22], 1);
  1745.  
  1746. StockTD[playerid][23] = CreatePlayerTextDraw(playerid, 139.000000, 144.000000, "Preview_Model");
  1747. PlayerTextDrawFont(playerid, StockTD[playerid][23], 5);
  1748. PlayerTextDrawLetterSize(playerid, StockTD[playerid][23], 0.600000, 2.000000);
  1749. PlayerTextDrawTextSize(playerid, StockTD[playerid][23], 23.000000, 148.500000);
  1750. PlayerTextDrawSetOutline(playerid, StockTD[playerid][23], 0);
  1751. PlayerTextDrawSetShadow(playerid, StockTD[playerid][23], 0);
  1752. PlayerTextDrawAlignment(playerid, StockTD[playerid][23], 1);
  1753. PlayerTextDrawColor(playerid, StockTD[playerid][23], 255);
  1754. PlayerTextDrawBackgroundColor(playerid, StockTD[playerid][23], 0);
  1755. PlayerTextDrawBoxColor(playerid, StockTD[playerid][23], 255);
  1756. PlayerTextDrawUseBox(playerid, StockTD[playerid][23], 0);
  1757. PlayerTextDrawSetProportional(playerid, StockTD[playerid][23], 1);
  1758. PlayerTextDrawSetSelectable(playerid, StockTD[playerid][23], 0);
  1759. PlayerTextDrawSetPreviewModel(playerid, StockTD[playerid][23], 1133);
  1760. PlayerTextDrawSetPreviewRot(playerid, StockTD[playerid][23], 0.000000, 180.000000, 90.000000, 1.000000);
  1761. PlayerTextDrawSetPreviewVehCol(playerid, StockTD[playerid][23], 1, 1);
  1762.  
  1763. StockTD[playerid][24] = CreatePlayerTextDraw(playerid, 152.000000, 160.000000, "Preview_Model");
  1764. PlayerTextDrawFont(playerid, StockTD[playerid][24], 5);
  1765. PlayerTextDrawLetterSize(playerid, StockTD[playerid][24], 0.600000, 2.000000);
  1766. PlayerTextDrawTextSize(playerid, StockTD[playerid][24], 26.000000, 130.000000);
  1767. PlayerTextDrawSetOutline(playerid, StockTD[playerid][24], 0);
  1768. PlayerTextDrawSetShadow(playerid, StockTD[playerid][24], 0);
  1769. PlayerTextDrawAlignment(playerid, StockTD[playerid][24], 1);
  1770. PlayerTextDrawColor(playerid, StockTD[playerid][24], 255);
  1771. PlayerTextDrawBackgroundColor(playerid, StockTD[playerid][24], 0);
  1772. PlayerTextDrawBoxColor(playerid, StockTD[playerid][24], 255);
  1773. PlayerTextDrawUseBox(playerid, StockTD[playerid][24], 0);
  1774. PlayerTextDrawSetProportional(playerid, StockTD[playerid][24], 1);
  1775. PlayerTextDrawSetSelectable(playerid, StockTD[playerid][24], 0);
  1776. PlayerTextDrawSetPreviewModel(playerid, StockTD[playerid][24], 1133);
  1777. PlayerTextDrawSetPreviewRot(playerid, StockTD[playerid][24], 0.000000, 158.000000, 90.000000, 1.000000);
  1778. PlayerTextDrawSetPreviewVehCol(playerid, StockTD[playerid][24], 1, 1);
  1779.  
  1780. StockTD[playerid][25] = CreatePlayerTextDraw(playerid, 166.000000, 189.000000, "Preview_Model");
  1781. PlayerTextDrawFont(playerid, StockTD[playerid][25], 5);
  1782. PlayerTextDrawLetterSize(playerid, StockTD[playerid][25], 0.600000, 2.000000);
  1783. PlayerTextDrawTextSize(playerid, StockTD[playerid][25], 26.000000, 130.000000);
  1784. PlayerTextDrawSetOutline(playerid, StockTD[playerid][25], 0);
  1785. PlayerTextDrawSetShadow(playerid, StockTD[playerid][25], 0);
  1786. PlayerTextDrawAlignment(playerid, StockTD[playerid][25], 1);
  1787. PlayerTextDrawColor(playerid, StockTD[playerid][25], 255);
  1788. PlayerTextDrawBackgroundColor(playerid, StockTD[playerid][25], 0);
  1789. PlayerTextDrawBoxColor(playerid, StockTD[playerid][25], 255);
  1790. PlayerTextDrawUseBox(playerid, StockTD[playerid][25], 0);
  1791. PlayerTextDrawSetProportional(playerid, StockTD[playerid][25], 1);
  1792. PlayerTextDrawSetSelectable(playerid, StockTD[playerid][25], 0);
  1793. PlayerTextDrawSetPreviewModel(playerid, StockTD[playerid][25], 1133);
  1794. PlayerTextDrawSetPreviewRot(playerid, StockTD[playerid][25], 0.000000, 158.000000, 90.000000, 1.000000);
  1795. PlayerTextDrawSetPreviewVehCol(playerid, StockTD[playerid][25], 1, 1);
  1796.  
  1797. StockTD[playerid][26] = CreatePlayerTextDraw(playerid, 184.000000, 200.000000, "Preview_Model");
  1798. PlayerTextDrawFont(playerid, StockTD[playerid][26], 5);
  1799. PlayerTextDrawLetterSize(playerid, StockTD[playerid][26], 0.600000, 2.000000);
  1800. PlayerTextDrawTextSize(playerid, StockTD[playerid][26], 21.000000, 148.500000);
  1801. PlayerTextDrawSetOutline(playerid, StockTD[playerid][26], 0);
  1802. PlayerTextDrawSetShadow(playerid, StockTD[playerid][26], 0);
  1803. PlayerTextDrawAlignment(playerid, StockTD[playerid][26], 1);
  1804. PlayerTextDrawColor(playerid, StockTD[playerid][26], 255);
  1805. PlayerTextDrawBackgroundColor(playerid, StockTD[playerid][26], 0);
  1806. PlayerTextDrawBoxColor(playerid, StockTD[playerid][26], 255);
  1807. PlayerTextDrawUseBox(playerid, StockTD[playerid][26], 0);
  1808. PlayerTextDrawSetProportional(playerid, StockTD[playerid][26], 1);
  1809. PlayerTextDrawSetSelectable(playerid, StockTD[playerid][26], 0);
  1810. PlayerTextDrawSetPreviewModel(playerid, StockTD[playerid][26], 1133);
  1811. PlayerTextDrawSetPreviewRot(playerid, StockTD[playerid][26], 0.000000, 193.000000, 88.000000, 1.000000);
  1812. PlayerTextDrawSetPreviewVehCol(playerid, StockTD[playerid][26], 1, 1);
  1813.  
  1814. StockTD[playerid][27] = CreatePlayerTextDraw(playerid, 196.000000, 181.000000, "Preview_Model");
  1815. PlayerTextDrawFont(playerid, StockTD[playerid][27], 5);
  1816. PlayerTextDrawLetterSize(playerid, StockTD[playerid][27], 0.600000, 2.000000);
  1817. PlayerTextDrawTextSize(playerid, StockTD[playerid][27], 21.000000, 148.500000);
  1818. PlayerTextDrawSetOutline(playerid, StockTD[playerid][27], 0);
  1819. PlayerTextDrawSetShadow(playerid, StockTD[playerid][27], 0);
  1820. PlayerTextDrawAlignment(playerid, StockTD[playerid][27], 1);
  1821. PlayerTextDrawColor(playerid, StockTD[playerid][27], 255);
  1822. PlayerTextDrawBackgroundColor(playerid, StockTD[playerid][27], 0);
  1823. PlayerTextDrawBoxColor(playerid, StockTD[playerid][27], 255);
  1824. PlayerTextDrawUseBox(playerid, StockTD[playerid][27], 0);
  1825. PlayerTextDrawSetProportional(playerid, StockTD[playerid][27], 1);
  1826. PlayerTextDrawSetSelectable(playerid, StockTD[playerid][27], 0);
  1827. PlayerTextDrawSetPreviewModel(playerid, StockTD[playerid][27], 1133);
  1828. PlayerTextDrawSetPreviewRot(playerid, StockTD[playerid][27], 0.000000, 193.000000, 88.000000, 1.000000);
  1829. PlayerTextDrawSetPreviewVehCol(playerid, StockTD[playerid][27], 1, 1);
  1830.  
  1831. StockTD[playerid][28] = CreatePlayerTextDraw(playerid, 210.000000, 169.000000, "Preview_Model");
  1832. PlayerTextDrawFont(playerid, StockTD[playerid][28], 5);
  1833. PlayerTextDrawLetterSize(playerid, StockTD[playerid][28], 0.600000, 2.000000);
  1834. PlayerTextDrawTextSize(playerid, StockTD[playerid][28], 21.000000, 148.500000);
  1835. PlayerTextDrawSetOutline(playerid, StockTD[playerid][28], 0);
  1836. PlayerTextDrawSetShadow(playerid, StockTD[playerid][28], 0);
  1837. PlayerTextDrawAlignment(playerid, StockTD[playerid][28], 1);
  1838. PlayerTextDrawColor(playerid, StockTD[playerid][28], 255);
  1839. PlayerTextDrawBackgroundColor(playerid, StockTD[playerid][28], 0);
  1840. PlayerTextDrawBoxColor(playerid, StockTD[playerid][28], 255);
  1841. PlayerTextDrawUseBox(playerid, StockTD[playerid][28], 0);
  1842. PlayerTextDrawSetProportional(playerid, StockTD[playerid][28], 1);
  1843. PlayerTextDrawSetSelectable(playerid, StockTD[playerid][28], 0);
  1844. PlayerTextDrawSetPreviewModel(playerid, StockTD[playerid][28], 1133);
  1845. PlayerTextDrawSetPreviewRot(playerid, StockTD[playerid][28], 0.000000, 167.000000, 88.000000, 1.000000);
  1846. PlayerTextDrawSetPreviewVehCol(playerid, StockTD[playerid][28], 1, 1);
  1847.  
  1848. StockTD[playerid][29] = CreatePlayerTextDraw(playerid, 224.000000, 181.000000, "Preview_Model");
  1849. PlayerTextDrawFont(playerid, StockTD[playerid][29], 5);
  1850. PlayerTextDrawLetterSize(playerid, StockTD[playerid][29], 0.600000, 2.000000);
  1851. PlayerTextDrawTextSize(playerid, StockTD[playerid][29], 20.500000, 149.000000);
  1852. PlayerTextDrawSetOutline(playerid, StockTD[playerid][29], 0);
  1853. PlayerTextDrawSetShadow(playerid, StockTD[playerid][29], 0);
  1854. PlayerTextDrawAlignment(playerid, StockTD[playerid][29], 1);
  1855. PlayerTextDrawColor(playerid, StockTD[playerid][29], 255);
  1856. PlayerTextDrawBackgroundColor(playerid, StockTD[playerid][29], 0);
  1857. PlayerTextDrawBoxColor(playerid, StockTD[playerid][29], 255);
  1858. PlayerTextDrawUseBox(playerid, StockTD[playerid][29], 0);
  1859. PlayerTextDrawSetProportional(playerid, StockTD[playerid][29], 1);
  1860. PlayerTextDrawSetSelectable(playerid, StockTD[playerid][29], 0);
  1861. PlayerTextDrawSetPreviewModel(playerid, StockTD[playerid][29], 1133);
  1862. PlayerTextDrawSetPreviewRot(playerid, StockTD[playerid][29], 0.000000, 193.000000, 88.000000, 1.000000);
  1863. PlayerTextDrawSetPreviewVehCol(playerid, StockTD[playerid][29], 1, 1);
  1864.  
  1865. StockTD[playerid][30] = CreatePlayerTextDraw(playerid, 237.000000, 159.000000, "Preview_Model");
  1866. PlayerTextDrawFont(playerid, StockTD[playerid][30], 5);
  1867. PlayerTextDrawLetterSize(playerid, StockTD[playerid][30], 0.600000, 2.000000);
  1868. PlayerTextDrawTextSize(playerid, StockTD[playerid][30], 20.500000, 149.000000);
  1869. PlayerTextDrawSetOutline(playerid, StockTD[playerid][30], 0);
  1870. PlayerTextDrawSetShadow(playerid, StockTD[playerid][30], 0);
  1871. PlayerTextDrawAlignment(playerid, StockTD[playerid][30], 1);
  1872. PlayerTextDrawColor(playerid, StockTD[playerid][30], 255);
  1873. PlayerTextDrawBackgroundColor(playerid, StockTD[playerid][30], 0);
  1874. PlayerTextDrawBoxColor(playerid, StockTD[playerid][30], 255);
  1875. PlayerTextDrawUseBox(playerid, StockTD[playerid][30], 0);
  1876. PlayerTextDrawSetProportional(playerid, StockTD[playerid][30], 1);
  1877. PlayerTextDrawSetSelectable(playerid, StockTD[playerid][30], 0);
  1878. PlayerTextDrawSetPreviewModel(playerid, StockTD[playerid][30], 1133);
  1879. PlayerTextDrawSetPreviewRot(playerid, StockTD[playerid][30], 0.000000, 193.000000, 88.000000, 1.000000);
  1880. PlayerTextDrawSetPreviewVehCol(playerid, StockTD[playerid][30], 1, 1);
  1881.  
  1882. StockTD[playerid][31] = CreatePlayerTextDraw(playerid, 250.000000, 147.000000, "Preview_Model");
  1883. PlayerTextDrawFont(playerid, StockTD[playerid][31], 5);
  1884. PlayerTextDrawLetterSize(playerid, StockTD[playerid][31], 0.600000, 2.000000);
  1885. PlayerTextDrawTextSize(playerid, StockTD[playerid][31], 21.000000, 148.500000);
  1886. PlayerTextDrawSetOutline(playerid, StockTD[playerid][31], 0);
  1887. PlayerTextDrawSetShadow(playerid, StockTD[playerid][31], 0);
  1888. PlayerTextDrawAlignment(playerid, StockTD[playerid][31], 1);
  1889. PlayerTextDrawColor(playerid, StockTD[playerid][31], 255);
  1890. PlayerTextDrawBackgroundColor(playerid, StockTD[playerid][31], 0);
  1891. PlayerTextDrawBoxColor(playerid, StockTD[playerid][31], 255);
  1892. PlayerTextDrawUseBox(playerid, StockTD[playerid][31], 0);
  1893. PlayerTextDrawSetProportional(playerid, StockTD[playerid][31], 1);
  1894. PlayerTextDrawSetSelectable(playerid, StockTD[playerid][31], 0);
  1895. PlayerTextDrawSetPreviewModel(playerid, StockTD[playerid][31], 1133);
  1896. PlayerTextDrawSetPreviewRot(playerid, StockTD[playerid][31], 0.000000, 167.000000, 88.000000, 1.000000);
  1897. PlayerTextDrawSetPreviewVehCol(playerid, StockTD[playerid][31], 1, 1);
  1898.  
  1899. StockTD[playerid][32] = CreatePlayerTextDraw(playerid, 263.000000, 168.000000, "Preview_Model");
  1900. PlayerTextDrawFont(playerid, StockTD[playerid][32], 5);
  1901. PlayerTextDrawLetterSize(playerid, StockTD[playerid][32], 0.600000, 2.000000);
  1902. PlayerTextDrawTextSize(playerid, StockTD[playerid][32], 21.000000, 148.500000);
  1903. PlayerTextDrawSetOutline(playerid, StockTD[playerid][32], 0);
  1904. PlayerTextDrawSetShadow(playerid, StockTD[playerid][32], 0);
  1905. PlayerTextDrawAlignment(playerid, StockTD[playerid][32], 1);
  1906. PlayerTextDrawColor(playerid, StockTD[playerid][32], 255);
  1907. PlayerTextDrawBackgroundColor(playerid, StockTD[playerid][32], 0);
  1908. PlayerTextDrawBoxColor(playerid, StockTD[playerid][32], 255);
  1909. PlayerTextDrawUseBox(playerid, StockTD[playerid][32], 0);
  1910. PlayerTextDrawSetProportional(playerid, StockTD[playerid][32], 1);
  1911. PlayerTextDrawSetSelectable(playerid, StockTD[playerid][32], 0);
  1912. PlayerTextDrawSetPreviewModel(playerid, StockTD[playerid][32], 1133);
  1913. PlayerTextDrawSetPreviewRot(playerid, StockTD[playerid][32], 0.000000, 167.000000, 88.000000, 1.000000);
  1914. PlayerTextDrawSetPreviewVehCol(playerid, StockTD[playerid][32], 1, 1);
  1915.  
  1916. StockTD[playerid][33] = CreatePlayerTextDraw(playerid, 277.000000, 179.000000, "Preview_Model");
  1917. PlayerTextDrawFont(playerid, StockTD[playerid][33], 5);
  1918. PlayerTextDrawLetterSize(playerid, StockTD[playerid][33], 0.600000, 2.000000);
  1919. PlayerTextDrawTextSize(playerid, StockTD[playerid][33], 20.500000, 149.000000);
  1920. PlayerTextDrawSetOutline(playerid, StockTD[playerid][33], 0);
  1921. PlayerTextDrawSetShadow(playerid, StockTD[playerid][33], 0);
  1922. PlayerTextDrawAlignment(playerid, StockTD[playerid][33], 1);
  1923. PlayerTextDrawColor(playerid, StockTD[playerid][33], 255);
  1924. PlayerTextDrawBackgroundColor(playerid, StockTD[playerid][33], 0);
  1925. PlayerTextDrawBoxColor(playerid, StockTD[playerid][33], 255);
  1926. PlayerTextDrawUseBox(playerid, StockTD[playerid][33], 0);
  1927. PlayerTextDrawSetProportional(playerid, StockTD[playerid][33], 1);
  1928. PlayerTextDrawSetSelectable(playerid, StockTD[playerid][33], 0);
  1929. PlayerTextDrawSetPreviewModel(playerid, StockTD[playerid][33], 1133);
  1930. PlayerTextDrawSetPreviewRot(playerid, StockTD[playerid][33], 0.000000, 193.000000, 88.000000, 1.000000);
  1931. PlayerTextDrawSetPreviewVehCol(playerid, StockTD[playerid][33], 1, 1);
  1932.  
  1933. StockTD[playerid][34] = CreatePlayerTextDraw(playerid, 290.000000, 157.000000, "Preview_Model");
  1934. PlayerTextDrawFont(playerid, StockTD[playerid][34], 5);
  1935. PlayerTextDrawLetterSize(playerid, StockTD[playerid][34], 0.600000, 2.000000);
  1936. PlayerTextDrawTextSize(playerid, StockTD[playerid][34], 20.500000, 149.000000);
  1937. PlayerTextDrawSetOutline(playerid, StockTD[playerid][34], 0);
  1938. PlayerTextDrawSetShadow(playerid, StockTD[playerid][34], 0);
  1939. PlayerTextDrawAlignment(playerid, StockTD[playerid][34], 1);
  1940. PlayerTextDrawColor(playerid, StockTD[playerid][34], 255);
  1941. PlayerTextDrawBackgroundColor(playerid, StockTD[playerid][34], 0);
  1942. PlayerTextDrawBoxColor(playerid, StockTD[playerid][34], 255);
  1943. PlayerTextDrawUseBox(playerid, StockTD[playerid][34], 0);
  1944. PlayerTextDrawSetProportional(playerid, StockTD[playerid][34], 1);
  1945. PlayerTextDrawSetSelectable(playerid, StockTD[playerid][34], 0);
  1946. PlayerTextDrawSetPreviewModel(playerid, StockTD[playerid][34], 1133);
  1947. PlayerTextDrawSetPreviewRot(playerid, StockTD[playerid][34], 0.000000, 193.000000, 88.000000, 1.000000);
  1948. PlayerTextDrawSetPreviewVehCol(playerid, StockTD[playerid][34], 1, 1);
  1949.  
  1950. StockTD[playerid][35] = CreatePlayerTextDraw(playerid, 302.000000, 137.000000, "Preview_Model");
  1951. PlayerTextDrawFont(playerid, StockTD[playerid][35], 5);
  1952. PlayerTextDrawLetterSize(playerid, StockTD[playerid][35], 0.600000, 2.000000);
  1953. PlayerTextDrawTextSize(playerid, StockTD[playerid][35], 20.500000, 149.000000);
  1954. PlayerTextDrawSetOutline(playerid, StockTD[playerid][35], 0);
  1955. PlayerTextDrawSetShadow(playerid, StockTD[playerid][35], 0);
  1956. PlayerTextDrawAlignment(playerid, StockTD[playerid][35], 1);
  1957. PlayerTextDrawColor(playerid, StockTD[playerid][35], 255);
  1958. PlayerTextDrawBackgroundColor(playerid, StockTD[playerid][35], 0);
  1959. PlayerTextDrawBoxColor(playerid, StockTD[playerid][35], 255);
  1960. PlayerTextDrawUseBox(playerid, StockTD[playerid][35], 0);
  1961. PlayerTextDrawSetProportional(playerid, StockTD[playerid][35], 1);
  1962. PlayerTextDrawSetSelectable(playerid, StockTD[playerid][35], 0);
  1963. PlayerTextDrawSetPreviewModel(playerid, StockTD[playerid][35], 1133);
  1964. PlayerTextDrawSetPreviewRot(playerid, StockTD[playerid][35], 0.000000, 193.000000, 88.000000, 1.000000);
  1965. PlayerTextDrawSetPreviewVehCol(playerid, StockTD[playerid][35], 1, 1);
  1966.  
  1967. StockTD[playerid][36] = CreatePlayerTextDraw(playerid, 315.000000, 126.000000, "Preview_Model");
  1968. PlayerTextDrawFont(playerid, StockTD[playerid][36], 5);
  1969. PlayerTextDrawLetterSize(playerid, StockTD[playerid][36], 0.600000, 2.000000);
  1970. PlayerTextDrawTextSize(playerid, StockTD[playerid][36], 21.000000, 148.500000);
  1971. PlayerTextDrawSetOutline(playerid, StockTD[playerid][36], 0);
  1972. PlayerTextDrawSetShadow(playerid, StockTD[playerid][36], 0);
  1973. PlayerTextDrawAlignment(playerid, StockTD[playerid][36], 1);
  1974. PlayerTextDrawColor(playerid, StockTD[playerid][36], 255);
  1975. PlayerTextDrawBackgroundColor(playerid, StockTD[playerid][36], 0);
  1976. PlayerTextDrawBoxColor(playerid, StockTD[playerid][36], 255);
  1977. PlayerTextDrawUseBox(playerid, StockTD[playerid][36], 0);
  1978. PlayerTextDrawSetProportional(playerid, StockTD[playerid][36], 1);
  1979. PlayerTextDrawSetSelectable(playerid, StockTD[playerid][36], 0);
  1980. PlayerTextDrawSetPreviewModel(playerid, StockTD[playerid][36], 1133);
  1981. PlayerTextDrawSetPreviewRot(playerid, StockTD[playerid][36], 0.000000, 167.000000, 88.000000, 1.000000);
  1982. PlayerTextDrawSetPreviewVehCol(playerid, StockTD[playerid][36], 1, 1);
  1983.  
  1984. StockTD[playerid][37] = CreatePlayerTextDraw(playerid, 328.000000, 137.000000, "Preview_Model");
  1985. PlayerTextDrawFont(playerid, StockTD[playerid][37], 5);
  1986. PlayerTextDrawLetterSize(playerid, StockTD[playerid][37], 0.600000, 2.000000);
  1987. PlayerTextDrawTextSize(playerid, StockTD[playerid][37], 20.500000, 149.000000);
  1988. PlayerTextDrawSetOutline(playerid, StockTD[playerid][37], 0);
  1989. PlayerTextDrawSetShadow(playerid, StockTD[playerid][37], 0);
  1990. PlayerTextDrawAlignment(playerid, StockTD[playerid][37], 1);
  1991. PlayerTextDrawColor(playerid, StockTD[playerid][37], 255);
  1992. PlayerTextDrawBackgroundColor(playerid, StockTD[playerid][37], 0);
  1993. PlayerTextDrawBoxColor(playerid, StockTD[playerid][37], 255);
  1994. PlayerTextDrawUseBox(playerid, StockTD[playerid][37], 0);
  1995. PlayerTextDrawSetProportional(playerid, StockTD[playerid][37], 1);
  1996. PlayerTextDrawSetSelectable(playerid, StockTD[playerid][37], 0);
  1997. PlayerTextDrawSetPreviewModel(playerid, StockTD[playerid][37], 1133);
  1998. PlayerTextDrawSetPreviewRot(playerid, StockTD[playerid][37], 0.000000, 193.000000, 88.000000, 1.000000);
  1999. PlayerTextDrawSetPreviewVehCol(playerid, StockTD[playerid][37], 1, 1);
  2000.  
  2001. StockTD[playerid][38] = CreatePlayerTextDraw(playerid, 339.000000, 118.000000, "Preview_Model");
  2002. PlayerTextDrawFont(playerid, StockTD[playerid][38], 5);
  2003. PlayerTextDrawLetterSize(playerid, StockTD[playerid][38], 0.600000, 2.000000);
  2004. PlayerTextDrawTextSize(playerid, StockTD[playerid][38], 20.500000, 149.000000);
  2005. PlayerTextDrawSetOutline(playerid, StockTD[playerid][38], 0);
  2006. PlayerTextDrawSetShadow(playerid, StockTD[playerid][38], 0);
  2007. PlayerTextDrawAlignment(playerid, StockTD[playerid][38], 1);
  2008. PlayerTextDrawColor(playerid, StockTD[playerid][38], 255);
  2009. PlayerTextDrawBackgroundColor(playerid, StockTD[playerid][38], 0);
  2010. PlayerTextDrawBoxColor(playerid, StockTD[playerid][38], 255);
  2011. PlayerTextDrawUseBox(playerid, StockTD[playerid][38], 0);
  2012. PlayerTextDrawSetProportional(playerid, StockTD[playerid][38], 1);
  2013. PlayerTextDrawSetSelectable(playerid, StockTD[playerid][38], 0);
  2014. PlayerTextDrawSetPreviewModel(playerid, StockTD[playerid][38], 1133);
  2015. PlayerTextDrawSetPreviewRot(playerid, StockTD[playerid][38], 0.000000, 193.000000, 88.000000, 1.000000);
  2016. PlayerTextDrawSetPreviewVehCol(playerid, StockTD[playerid][38], 1, 1);
  2017.  
  2018. StockTD[playerid][39] = CreatePlayerTextDraw(playerid, 352.000000, 107.000000, "Preview_Model");
  2019. PlayerTextDrawFont(playerid, StockTD[playerid][39], 5);
  2020. PlayerTextDrawLetterSize(playerid, StockTD[playerid][39], 0.600000, 2.000000);
  2021. PlayerTextDrawTextSize(playerid, StockTD[playerid][39], 21.000000, 148.500000);
  2022. PlayerTextDrawSetOutline(playerid, StockTD[playerid][39], 0);
  2023. PlayerTextDrawSetShadow(playerid, StockTD[playerid][39], 0);
  2024. PlayerTextDrawAlignment(playerid, StockTD[playerid][39], 1);
  2025. PlayerTextDrawColor(playerid, StockTD[playerid][39], 255);
  2026. PlayerTextDrawBackgroundColor(playerid, StockTD[playerid][39], 0);
  2027. PlayerTextDrawBoxColor(playerid, StockTD[playerid][39], 255);
  2028. PlayerTextDrawUseBox(playerid, StockTD[playerid][39], 0);
  2029. PlayerTextDrawSetProportional(playerid, StockTD[playerid][39], 1);
  2030. PlayerTextDrawSetSelectable(playerid, StockTD[playerid][39], 0);
  2031. PlayerTextDrawSetPreviewModel(playerid, StockTD[playerid][39], 1133);
  2032. PlayerTextDrawSetPreviewRot(playerid, StockTD[playerid][39], 0.000000, 167.000000, 88.000000, 1.000000);
  2033. PlayerTextDrawSetPreviewVehCol(playerid, StockTD[playerid][39], 1, 1);
  2034.  
  2035. StockTD[playerid][40] = CreatePlayerTextDraw(playerid, 364.000000, 127.000000, "Preview_Model");
  2036. PlayerTextDrawFont(playerid, StockTD[playerid][40], 5);
  2037. PlayerTextDrawLetterSize(playerid, StockTD[playerid][40], 0.600000, 2.000000);
  2038. PlayerTextDrawTextSize(playerid, StockTD[playerid][40], 21.000000, 148.500000);
  2039. PlayerTextDrawSetOutline(playerid, StockTD[playerid][40], 0);
  2040. PlayerTextDrawSetShadow(playerid, StockTD[playerid][40], 0);
  2041. PlayerTextDrawAlignment(playerid, StockTD[playerid][40], 1);
  2042. PlayerTextDrawColor(playerid, StockTD[playerid][40], 255);
  2043. PlayerTextDrawBackgroundColor(playerid, StockTD[playerid][40], 0);
  2044. PlayerTextDrawBoxColor(playerid, StockTD[playerid][40], 255);
  2045. PlayerTextDrawUseBox(playerid, StockTD[playerid][40], 0);
  2046. PlayerTextDrawSetProportional(playerid, StockTD[playerid][40], 1);
  2047. PlayerTextDrawSetSelectable(playerid, StockTD[playerid][40], 0);
  2048. PlayerTextDrawSetPreviewModel(playerid, StockTD[playerid][40], 1133);
  2049. PlayerTextDrawSetPreviewRot(playerid, StockTD[playerid][40], 0.000000, 167.000000, 88.000000, 1.000000);
  2050. PlayerTextDrawSetPreviewVehCol(playerid, StockTD[playerid][40], 1, 1);
  2051.  
  2052. StockTD[playerid][41] = CreatePlayerTextDraw(playerid, 380.000000, 144.000000, "Preview_Model");
  2053. PlayerTextDrawFont(playerid, StockTD[playerid][41], 5);
  2054. PlayerTextDrawLetterSize(playerid, StockTD[playerid][41], 0.600000, 2.000000);
  2055. PlayerTextDrawTextSize(playerid, StockTD[playerid][41], 15.000000, 148.500000);
  2056. PlayerTextDrawSetOutline(playerid, StockTD[playerid][41], 0);
  2057. PlayerTextDrawSetShadow(playerid, StockTD[playerid][41], 0);
  2058. PlayerTextDrawAlignment(playerid, StockTD[playerid][41], 1);
  2059. PlayerTextDrawColor(playerid, StockTD[playerid][41], 255);
  2060. PlayerTextDrawBackgroundColor(playerid, StockTD[playerid][41], 0);
  2061. PlayerTextDrawBoxColor(playerid, StockTD[playerid][41], 255);
  2062. PlayerTextDrawUseBox(playerid, StockTD[playerid][41], 0);
  2063. PlayerTextDrawSetProportional(playerid, StockTD[playerid][41], 1);
  2064. PlayerTextDrawSetSelectable(playerid, StockTD[playerid][41], 0);
  2065. PlayerTextDrawSetPreviewModel(playerid, StockTD[playerid][41], 1133);
  2066. PlayerTextDrawSetPreviewRot(playerid, StockTD[playerid][41], 0.000000, 180.000000, 90.000000, 1.000000);
  2067. PlayerTextDrawSetPreviewVehCol(playerid, StockTD[playerid][41], 1, 1);
  2068.  
  2069. StockTD[playerid][42] = CreatePlayerTextDraw(playerid, 395.000000, 114.000000, "ld_dual:white");
  2070. PlayerTextDrawFont(playerid, StockTD[playerid][42], 4);
  2071. PlayerTextDrawLetterSize(playerid, StockTD[playerid][42], 0.600000, 2.000000);
  2072. PlayerTextDrawTextSize(playerid, StockTD[playerid][42], 5.000000, 220.000000);
  2073. PlayerTextDrawSetOutline(playerid, StockTD[playerid][42], 1);
  2074. PlayerTextDrawSetShadow(playerid, StockTD[playerid][42], 0);
  2075. PlayerTextDrawAlignment(playerid, StockTD[playerid][42], 1);
  2076. PlayerTextDrawColor(playerid, StockTD[playerid][42], -5002753);
  2077. PlayerTextDrawBackgroundColor(playerid, StockTD[playerid][42], 255);
  2078. PlayerTextDrawBoxColor(playerid, StockTD[playerid][42], 50);
  2079. PlayerTextDrawUseBox(playerid, StockTD[playerid][42], 1);
  2080. PlayerTextDrawSetProportional(playerid, StockTD[playerid][42], 1);
  2081. PlayerTextDrawSetSelectable(playerid, StockTD[playerid][42], 0);
  2082.  
  2083. StockTD[playerid][43] = CreatePlayerTextDraw(playerid, 224.000000, 114.500000, "ld_dual:white");
  2084. PlayerTextDrawFont(playerid, StockTD[playerid][43], 4);
  2085. PlayerTextDrawLetterSize(playerid, StockTD[playerid][43], 0.600000, 2.000000);
  2086. PlayerTextDrawTextSize(playerid, StockTD[playerid][43], 100.000000, 20.000000);
  2087. PlayerTextDrawSetOutline(playerid, StockTD[playerid][43], 0);
  2088. PlayerTextDrawSetShadow(playerid, StockTD[playerid][43], 0);
  2089. PlayerTextDrawAlignment(playerid, StockTD[playerid][43], 1);
  2090. PlayerTextDrawColor(playerid, StockTD[playerid][43], -1777764191);
  2091. PlayerTextDrawBackgroundColor(playerid, StockTD[playerid][43], 255);
  2092. PlayerTextDrawBoxColor(playerid, StockTD[playerid][43], 50);
  2093. PlayerTextDrawUseBox(playerid, StockTD[playerid][43], 1);
  2094. PlayerTextDrawSetProportional(playerid, StockTD[playerid][43], 1);
  2095. PlayerTextDrawSetSelectable(playerid, StockTD[playerid][43], 0);
  2096.  
  2097. StockTD[playerid][44] = CreatePlayerTextDraw(playerid, 227.000000, 116.000000, "Trading View");
  2098. PlayerTextDrawFont(playerid, StockTD[playerid][44], 1);
  2099. PlayerTextDrawLetterSize(playerid, StockTD[playerid][44], 0.416666, 1.549998);
  2100. PlayerTextDrawTextSize(playerid, StockTD[playerid][44], 400.000000, 17.000000);
  2101. PlayerTextDrawSetOutline(playerid, StockTD[playerid][44], 1);
  2102. PlayerTextDrawSetShadow(playerid, StockTD[playerid][44], 1);
  2103. PlayerTextDrawAlignment(playerid, StockTD[playerid][44], 1);
  2104. PlayerTextDrawColor(playerid, StockTD[playerid][44], -1);
  2105. PlayerTextDrawBackgroundColor(playerid, StockTD[playerid][44], 255);
  2106. PlayerTextDrawBoxColor(playerid, StockTD[playerid][44], 50);
  2107. PlayerTextDrawUseBox(playerid, StockTD[playerid][44], 0);
  2108. PlayerTextDrawSetProportional(playerid, StockTD[playerid][44], 1);
  2109. PlayerTextDrawSetSelectable(playerid, StockTD[playerid][44], 0);
  2110.  
  2111. StockTD[playerid][45] = CreatePlayerTextDraw(playerid, 411.000000, 114.500000, "ld_dual:white");
  2112. PlayerTextDrawFont(playerid, StockTD[playerid][45], 4);
  2113. PlayerTextDrawLetterSize(playerid, StockTD[playerid][45], 0.600000, 2.000000);
  2114. PlayerTextDrawTextSize(playerid, StockTD[playerid][45], 69.500000, 20.000000);
  2115. PlayerTextDrawSetOutline(playerid, StockTD[playerid][45], 0);
  2116. PlayerTextDrawSetShadow(playerid, StockTD[playerid][45], 0);
  2117. PlayerTextDrawAlignment(playerid, StockTD[playerid][45], 1);
  2118. PlayerTextDrawColor(playerid, StockTD[playerid][45], -1777764191);
  2119. PlayerTextDrawBackgroundColor(playerid, StockTD[playerid][45], 255);
  2120. PlayerTextDrawBoxColor(playerid, StockTD[playerid][45], 50);
  2121. PlayerTextDrawUseBox(playerid, StockTD[playerid][45], 1);
  2122. PlayerTextDrawSetProportional(playerid, StockTD[playerid][45], 1);
  2123. PlayerTextDrawSetSelectable(playerid, StockTD[playerid][45], 0);
  2124.  
  2125. StockTD[playerid][46] = CreatePlayerTextDraw(playerid, 478.000000, 117.000000, "Price & History");
  2126. PlayerTextDrawFont(playerid, StockTD[playerid][46], 1);
  2127. PlayerTextDrawLetterSize(playerid, StockTD[playerid][46], 0.245829, 1.399996);
  2128. PlayerTextDrawTextSize(playerid, StockTD[playerid][46], 400.000000, 17.000000);
  2129. PlayerTextDrawSetOutline(playerid, StockTD[playerid][46], 1);
  2130. PlayerTextDrawSetShadow(playerid, StockTD[playerid][46], 1);
  2131. PlayerTextDrawAlignment(playerid, StockTD[playerid][46], 3);
  2132. PlayerTextDrawColor(playerid, StockTD[playerid][46], -1);
  2133. PlayerTextDrawBackgroundColor(playerid, StockTD[playerid][46], 255);
  2134. PlayerTextDrawBoxColor(playerid, StockTD[playerid][46], 50);
  2135. PlayerTextDrawUseBox(playerid, StockTD[playerid][46], 0);
  2136. PlayerTextDrawSetProportional(playerid, StockTD[playerid][46], 1);
  2137. PlayerTextDrawSetSelectable(playerid, StockTD[playerid][46], 0);
  2138.  
  2139. StockTD[playerid][47] = CreatePlayerTextDraw(playerid, 404.000000, 315.000000, "Buy");
  2140. PlayerTextDrawFont(playerid, StockTD[playerid][47], 1);
  2141. PlayerTextDrawLetterSize(playerid, StockTD[playerid][47], 0.583333, 1.950000);
  2142. PlayerTextDrawTextSize(playerid, StockTD[playerid][47], 400.000000, 17.000000);
  2143. PlayerTextDrawSetOutline(playerid, StockTD[playerid][47], 1);
  2144. PlayerTextDrawSetShadow(playerid, StockTD[playerid][47], 0);
  2145. PlayerTextDrawAlignment(playerid, StockTD[playerid][47], 1);
  2146. PlayerTextDrawColor(playerid, StockTD[playerid][47], -1);
  2147. PlayerTextDrawBackgroundColor(playerid, StockTD[playerid][47], 255);
  2148. PlayerTextDrawBoxColor(playerid, StockTD[playerid][47], 50);
  2149. PlayerTextDrawUseBox(playerid, StockTD[playerid][47], 0);
  2150. PlayerTextDrawSetProportional(playerid, StockTD[playerid][47], 1);
  2151. PlayerTextDrawSetSelectable(playerid, StockTD[playerid][47], 0);
  2152.  
  2153. StockTD[playerid][48] = CreatePlayerTextDraw(playerid, 400.000000, 317.000000, "ld_dual:white");
  2154. PlayerTextDrawFont(playerid, StockTD[playerid][48], 4);
  2155. PlayerTextDrawLetterSize(playerid, StockTD[playerid][48], 0.600000, 2.000000);
  2156. PlayerTextDrawTextSize(playerid, StockTD[playerid][48], 44.000000, 17.000000);
  2157. PlayerTextDrawSetOutline(playerid, StockTD[playerid][48], 1);
  2158. PlayerTextDrawSetShadow(playerid, StockTD[playerid][48], 0);
  2159. PlayerTextDrawAlignment(playerid, StockTD[playerid][48], 1);
  2160. PlayerTextDrawColor(playerid, StockTD[playerid][48], 852308735);
  2161. PlayerTextDrawBackgroundColor(playerid, StockTD[playerid][48], 255);
  2162. PlayerTextDrawBoxColor(playerid, StockTD[playerid][48], 50);
  2163. PlayerTextDrawUseBox(playerid, StockTD[playerid][48], 1);
  2164. PlayerTextDrawSetProportional(playerid, StockTD[playerid][48], 1);
  2165. PlayerTextDrawSetSelectable(playerid, StockTD[playerid][48], 1);
  2166.  
  2167. StockTD[playerid][49] = CreatePlayerTextDraw(playerid, 447.000000, 317.000000, "ld_dual:white");
  2168. PlayerTextDrawFont(playerid, StockTD[playerid][49], 4);
  2169. PlayerTextDrawLetterSize(playerid, StockTD[playerid][49], 0.600000, 2.000000);
  2170. PlayerTextDrawTextSize(playerid, StockTD[playerid][49], 44.000000, 17.000000);
  2171. PlayerTextDrawSetOutline(playerid, StockTD[playerid][49], 1);
  2172. PlayerTextDrawSetShadow(playerid, StockTD[playerid][49], 0);
  2173. PlayerTextDrawAlignment(playerid, StockTD[playerid][49], 1);
  2174. PlayerTextDrawColor(playerid, StockTD[playerid][49], -1962934017);
  2175. PlayerTextDrawBackgroundColor(playerid, StockTD[playerid][49], 255);
  2176. PlayerTextDrawBoxColor(playerid, StockTD[playerid][49], 50);
  2177. PlayerTextDrawUseBox(playerid, StockTD[playerid][49], 1);
  2178. PlayerTextDrawSetProportional(playerid, StockTD[playerid][49], 1);
  2179. PlayerTextDrawSetSelectable(playerid, StockTD[playerid][49], 1);
  2180.  
  2181. StockTD[playerid][50] = CreatePlayerTextDraw(playerid, 452.000000, 316.000000, "Sell");
  2182. PlayerTextDrawFont(playerid, StockTD[playerid][50], 1);
  2183. PlayerTextDrawLetterSize(playerid, StockTD[playerid][50], 0.583333, 1.950000);
  2184. PlayerTextDrawTextSize(playerid, StockTD[playerid][50], 400.000000, 17.000000);
  2185. PlayerTextDrawSetOutline(playerid, StockTD[playerid][50], 1);
  2186. PlayerTextDrawSetShadow(playerid, StockTD[playerid][50], 0);
  2187. PlayerTextDrawAlignment(playerid, StockTD[playerid][50], 1);
  2188. PlayerTextDrawColor(playerid, StockTD[playerid][50], -1);
  2189. PlayerTextDrawBackgroundColor(playerid, StockTD[playerid][50], 255);
  2190. PlayerTextDrawBoxColor(playerid, StockTD[playerid][50], 50);
  2191. PlayerTextDrawUseBox(playerid, StockTD[playerid][50], 0);
  2192. PlayerTextDrawSetProportional(playerid, StockTD[playerid][50], 1);
  2193. PlayerTextDrawSetSelectable(playerid, StockTD[playerid][50], 0);
  2194.  
  2195. StockTD[playerid][51] = CreatePlayerTextDraw(playerid, 416.000000, 144.000000, "09:20");
  2196. PlayerTextDrawFont(playerid, StockTD[playerid][51], 2);
  2197. PlayerTextDrawLetterSize(playerid, StockTD[playerid][51], 0.233331, 1.299999);
  2198. PlayerTextDrawTextSize(playerid, StockTD[playerid][51], 399.000000, 17.000000);
  2199. PlayerTextDrawSetOutline(playerid, StockTD[playerid][51], 1);
  2200. PlayerTextDrawSetShadow(playerid, StockTD[playerid][51], 0);
  2201. PlayerTextDrawAlignment(playerid, StockTD[playerid][51], 2);
  2202. PlayerTextDrawColor(playerid, StockTD[playerid][51], -1);
  2203. PlayerTextDrawBackgroundColor(playerid, StockTD[playerid][51], 255);
  2204. PlayerTextDrawBoxColor(playerid, StockTD[playerid][51], 50);
  2205. PlayerTextDrawUseBox(playerid, StockTD[playerid][51], 0);
  2206. PlayerTextDrawSetProportional(playerid, StockTD[playerid][51], 1);
  2207. PlayerTextDrawSetSelectable(playerid, StockTD[playerid][51], 0);
  2208.  
  2209. StockTD[playerid][52] = CreatePlayerTextDraw(playerid, 431.000000, 143.500000, "-12%");
  2210. PlayerTextDrawFont(playerid, StockTD[playerid][52], 1);
  2211. PlayerTextDrawLetterSize(playerid, StockTD[playerid][52], 0.200000, 1.500000);
  2212. PlayerTextDrawTextSize(playerid, StockTD[playerid][52], 400.000000, 17.000000);
  2213. PlayerTextDrawSetOutline(playerid, StockTD[playerid][52], 0);
  2214. PlayerTextDrawSetShadow(playerid, StockTD[playerid][52], 0);
  2215. PlayerTextDrawAlignment(playerid, StockTD[playerid][52], 1);
  2216. PlayerTextDrawColor(playerid, StockTD[playerid][52], -1962934017);
  2217. PlayerTextDrawBackgroundColor(playerid, StockTD[playerid][52], 255);
  2218. PlayerTextDrawBoxColor(playerid, StockTD[playerid][52], 50);
  2219. PlayerTextDrawUseBox(playerid, StockTD[playerid][52], 0);
  2220. PlayerTextDrawSetProportional(playerid, StockTD[playerid][52], 1);
  2221. PlayerTextDrawSetSelectable(playerid, StockTD[playerid][52], 0);
  2222.  
  2223. StockTD[playerid][53] = CreatePlayerTextDraw(playerid, 462.000000, 143.000000, "12.2Mil");
  2224. PlayerTextDrawFont(playerid, StockTD[playerid][53], 1);
  2225. PlayerTextDrawLetterSize(playerid, StockTD[playerid][53], 0.199999, 1.500000);
  2226. PlayerTextDrawTextSize(playerid, StockTD[playerid][53], 400.000000, 17.000000);
  2227. PlayerTextDrawSetOutline(playerid, StockTD[playerid][53], 1);
  2228. PlayerTextDrawSetShadow(playerid, StockTD[playerid][53], 0);
  2229. PlayerTextDrawAlignment(playerid, StockTD[playerid][53], 1);
  2230. PlayerTextDrawColor(playerid, StockTD[playerid][53], -764862721);
  2231. PlayerTextDrawBackgroundColor(playerid, StockTD[playerid][53], 255);
  2232. PlayerTextDrawBoxColor(playerid, StockTD[playerid][53], 50);
  2233. PlayerTextDrawUseBox(playerid, StockTD[playerid][53], 0);
  2234. PlayerTextDrawSetProportional(playerid, StockTD[playerid][53], 1);
  2235. PlayerTextDrawSetSelectable(playerid, StockTD[playerid][53], 0);
  2236.  
  2237. StockTD[playerid][54] = CreatePlayerTextDraw(playerid, 400.000000, 156.000000, "ld_dual:black");
  2238. PlayerTextDrawFont(playerid, StockTD[playerid][54], 4);
  2239. PlayerTextDrawLetterSize(playerid, StockTD[playerid][54], 0.600000, 2.000000);
  2240. PlayerTextDrawTextSize(playerid, StockTD[playerid][54], 91.000000, 2.000000);
  2241. PlayerTextDrawSetOutline(playerid, StockTD[playerid][54], 1);
  2242. PlayerTextDrawSetShadow(playerid, StockTD[playerid][54], 0);
  2243. PlayerTextDrawAlignment(playerid, StockTD[playerid][54], 1);
  2244. PlayerTextDrawColor(playerid, StockTD[playerid][54], -1);
  2245. PlayerTextDrawBackgroundColor(playerid, StockTD[playerid][54], 255);
  2246. PlayerTextDrawBoxColor(playerid, StockTD[playerid][54], 50);
  2247. PlayerTextDrawUseBox(playerid, StockTD[playerid][54], 1);
  2248. PlayerTextDrawSetProportional(playerid, StockTD[playerid][54], 1);
  2249. PlayerTextDrawSetSelectable(playerid, StockTD[playerid][54], 0);
  2250.  
  2251. StockTD[playerid][55] = CreatePlayerTextDraw(playerid, 416.000000, 161.000000, "02:20");
  2252. PlayerTextDrawFont(playerid, StockTD[playerid][55], 2);
  2253. PlayerTextDrawLetterSize(playerid, StockTD[playerid][55], 0.233331, 1.299999);
  2254. PlayerTextDrawTextSize(playerid, StockTD[playerid][55], 399.000000, 17.000000);
  2255. PlayerTextDrawSetOutline(playerid, StockTD[playerid][55], 1);
  2256. PlayerTextDrawSetShadow(playerid, StockTD[playerid][55], 0);
  2257. PlayerTextDrawAlignment(playerid, StockTD[playerid][55], 2);
  2258. PlayerTextDrawColor(playerid, StockTD[playerid][55], -1);
  2259. PlayerTextDrawBackgroundColor(playerid, StockTD[playerid][55], 255);
  2260. PlayerTextDrawBoxColor(playerid, StockTD[playerid][55], 50);
  2261. PlayerTextDrawUseBox(playerid, StockTD[playerid][55], 0);
  2262. PlayerTextDrawSetProportional(playerid, StockTD[playerid][55], 1);
  2263. PlayerTextDrawSetSelectable(playerid, StockTD[playerid][55], 0);
  2264.  
  2265. StockTD[playerid][56] = CreatePlayerTextDraw(playerid, 431.000000, 160.000000, "+$12380");
  2266. PlayerTextDrawFont(playerid, StockTD[playerid][56], 1);
  2267. PlayerTextDrawLetterSize(playerid, StockTD[playerid][56], 0.200000, 1.500000);
  2268. PlayerTextDrawTextSize(playerid, StockTD[playerid][56], 400.000000, 17.000000);
  2269. PlayerTextDrawSetOutline(playerid, StockTD[playerid][56], 0);
  2270. PlayerTextDrawSetShadow(playerid, StockTD[playerid][56], 0);
  2271. PlayerTextDrawAlignment(playerid, StockTD[playerid][56], 1);
  2272. PlayerTextDrawColor(playerid, StockTD[playerid][56], 9109759);
  2273. PlayerTextDrawBackgroundColor(playerid, StockTD[playerid][56], 255);
  2274. PlayerTextDrawBoxColor(playerid, StockTD[playerid][56], 50);
  2275. PlayerTextDrawUseBox(playerid, StockTD[playerid][56], 0);
  2276. PlayerTextDrawSetProportional(playerid, StockTD[playerid][56], 1);
  2277. PlayerTextDrawSetSelectable(playerid, StockTD[playerid][56], 0);
  2278.  
  2279. StockTD[playerid][57] = CreatePlayerTextDraw(playerid, 462.000000, 160.000000, "12.2Mil");
  2280. PlayerTextDrawFont(playerid, StockTD[playerid][57], 1);
  2281. PlayerTextDrawLetterSize(playerid, StockTD[playerid][57], 0.199999, 1.500000);
  2282. PlayerTextDrawTextSize(playerid, StockTD[playerid][57], 400.000000, 17.000000);
  2283. PlayerTextDrawSetOutline(playerid, StockTD[playerid][57], 1);
  2284. PlayerTextDrawSetShadow(playerid, StockTD[playerid][57], 0);
  2285. PlayerTextDrawAlignment(playerid, StockTD[playerid][57], 1);
  2286. PlayerTextDrawColor(playerid, StockTD[playerid][57], -764862721);
  2287. PlayerTextDrawBackgroundColor(playerid, StockTD[playerid][57], 255);
  2288. PlayerTextDrawBoxColor(playerid, StockTD[playerid][57], 50);
  2289. PlayerTextDrawUseBox(playerid, StockTD[playerid][57], 0);
  2290. PlayerTextDrawSetProportional(playerid, StockTD[playerid][57], 1);
  2291. PlayerTextDrawSetSelectable(playerid, StockTD[playerid][57], 0);
  2292.  
  2293. StockTD[playerid][58] = CreatePlayerTextDraw(playerid, 400.000000, 173.000000, "ld_dual:black");
  2294. PlayerTextDrawFont(playerid, StockTD[playerid][58], 4);
  2295. PlayerTextDrawLetterSize(playerid, StockTD[playerid][58], 0.600000, 2.000000);
  2296. PlayerTextDrawTextSize(playerid, StockTD[playerid][58], 91.000000, 2.000000);
  2297. PlayerTextDrawSetOutline(playerid, StockTD[playerid][58], 1);
  2298. PlayerTextDrawSetShadow(playerid, StockTD[playerid][58], 0);
  2299. PlayerTextDrawAlignment(playerid, StockTD[playerid][58], 1);
  2300. PlayerTextDrawColor(playerid, StockTD[playerid][58], -1);
  2301. PlayerTextDrawBackgroundColor(playerid, StockTD[playerid][58], 255);
  2302. PlayerTextDrawBoxColor(playerid, StockTD[playerid][58], 50);
  2303. PlayerTextDrawUseBox(playerid, StockTD[playerid][58], 0);
  2304. PlayerTextDrawSetProportional(playerid, StockTD[playerid][58], 1);
  2305. PlayerTextDrawSetSelectable(playerid, StockTD[playerid][58], 0);
  2306.  
  2307. StockTD[playerid][59] = CreatePlayerTextDraw(playerid, 416.000000, 178.000000, "02:20");
  2308. PlayerTextDrawFont(playerid, StockTD[playerid][59], 2);
  2309. PlayerTextDrawLetterSize(playerid, StockTD[playerid][59], 0.233331, 1.299999);
  2310. PlayerTextDrawTextSize(playerid, StockTD[playerid][59], 399.000000, 17.000000);
  2311. PlayerTextDrawSetOutline(playerid, StockTD[playerid][59], 1);
  2312. PlayerTextDrawSetShadow(playerid, StockTD[playerid][59], 0);
  2313. PlayerTextDrawAlignment(playerid, StockTD[playerid][59], 2);
  2314. PlayerTextDrawColor(playerid, StockTD[playerid][59], -1);
  2315. PlayerTextDrawBackgroundColor(playerid, StockTD[playerid][59], 255);
  2316. PlayerTextDrawBoxColor(playerid, StockTD[playerid][59], 50);
  2317. PlayerTextDrawUseBox(playerid, StockTD[playerid][59], 0);
  2318. PlayerTextDrawSetProportional(playerid, StockTD[playerid][59], 1);
  2319. PlayerTextDrawSetSelectable(playerid, StockTD[playerid][59], 0);
  2320.  
  2321. StockTD[playerid][60] = CreatePlayerTextDraw(playerid, 431.000000, 177.000000, "+$12380");
  2322. PlayerTextDrawFont(playerid, StockTD[playerid][60], 1);
  2323. PlayerTextDrawLetterSize(playerid, StockTD[playerid][60], 0.200000, 1.500000);
  2324. PlayerTextDrawTextSize(playerid, StockTD[playerid][60], 400.000000, 17.000000);
  2325. PlayerTextDrawSetOutline(playerid, StockTD[playerid][60], 0);
  2326. PlayerTextDrawSetShadow(playerid, StockTD[playerid][60], 0);
  2327. PlayerTextDrawAlignment(playerid, StockTD[playerid][60], 1);
  2328. PlayerTextDrawColor(playerid, StockTD[playerid][60], 9109759);
  2329. PlayerTextDrawBackgroundColor(playerid, StockTD[playerid][60], 255);
  2330. PlayerTextDrawBoxColor(playerid, StockTD[playerid][60], 50);
  2331. PlayerTextDrawUseBox(playerid, StockTD[playerid][60], 0);
  2332. PlayerTextDrawSetProportional(playerid, StockTD[playerid][60], 1);
  2333. PlayerTextDrawSetSelectable(playerid, StockTD[playerid][60], 0);
  2334.  
  2335. StockTD[playerid][61] = CreatePlayerTextDraw(playerid, 462.000000, 177.000000, "12.2Mil");
  2336. PlayerTextDrawFont(playerid, StockTD[playerid][61], 1);
  2337. PlayerTextDrawLetterSize(playerid, StockTD[playerid][61], 0.199999, 1.500000);
  2338. PlayerTextDrawTextSize(playerid, StockTD[playerid][61], 400.000000, 17.000000);
  2339. PlayerTextDrawSetOutline(playerid, StockTD[playerid][61], 1);
  2340. PlayerTextDrawSetShadow(playerid, StockTD[playerid][61], 0);
  2341. PlayerTextDrawAlignment(playerid, StockTD[playerid][61], 1);
  2342. PlayerTextDrawColor(playerid, StockTD[playerid][61], -764862721);
  2343. PlayerTextDrawBackgroundColor(playerid, StockTD[playerid][61], 255);
  2344. PlayerTextDrawBoxColor(playerid, StockTD[playerid][61], 50);
  2345. PlayerTextDrawUseBox(playerid, StockTD[playerid][61], 0);
  2346. PlayerTextDrawSetProportional(playerid, StockTD[playerid][61], 1);
  2347. PlayerTextDrawSetSelectable(playerid, StockTD[playerid][61], 0);
  2348.  
  2349. StockTD[playerid][62] = CreatePlayerTextDraw(playerid, 400.000000, 190.000000, "ld_dual:black");
  2350. PlayerTextDrawFont(playerid, StockTD[playerid][62], 4);
  2351. PlayerTextDrawLetterSize(playerid, StockTD[playerid][62], 0.600000, 2.000000);
  2352. PlayerTextDrawTextSize(playerid, StockTD[playerid][62], 91.000000, 2.000000);
  2353. PlayerTextDrawSetOutline(playerid, StockTD[playerid][62], 1);
  2354. PlayerTextDrawSetShadow(playerid, StockTD[playerid][62], 0);
  2355. PlayerTextDrawAlignment(playerid, StockTD[playerid][62], 1);
  2356. PlayerTextDrawColor(playerid, StockTD[playerid][62], -1);
  2357. PlayerTextDrawBackgroundColor(playerid, StockTD[playerid][62], 255);
  2358. PlayerTextDrawBoxColor(playerid, StockTD[playerid][62], 50);
  2359. PlayerTextDrawUseBox(playerid, StockTD[playerid][62], 1);
  2360. PlayerTextDrawSetProportional(playerid, StockTD[playerid][62], 1);
  2361. PlayerTextDrawSetSelectable(playerid, StockTD[playerid][62], 0);
  2362.  
  2363. StockTD[playerid][63] = CreatePlayerTextDraw(playerid, 416.000000, 196.000000, "02:20");
  2364. PlayerTextDrawFont(playerid, StockTD[playerid][63], 2);
  2365. PlayerTextDrawLetterSize(playerid, StockTD[playerid][63], 0.233331, 1.299999);
  2366. PlayerTextDrawTextSize(playerid, StockTD[playerid][63], 399.000000, 17.000000);
  2367. PlayerTextDrawSetOutline(playerid, StockTD[playerid][63], 1);
  2368. PlayerTextDrawSetShadow(playerid, StockTD[playerid][63], 0);
  2369. PlayerTextDrawAlignment(playerid, StockTD[playerid][63], 2);
  2370. PlayerTextDrawColor(playerid, StockTD[playerid][63], -1);
  2371. PlayerTextDrawBackgroundColor(playerid, StockTD[playerid][63], 255);
  2372. PlayerTextDrawBoxColor(playerid, StockTD[playerid][63], 50);
  2373. PlayerTextDrawUseBox(playerid, StockTD[playerid][63], 0);
  2374. PlayerTextDrawSetProportional(playerid, StockTD[playerid][63], 1);
  2375. PlayerTextDrawSetSelectable(playerid, StockTD[playerid][63], 0);
  2376.  
  2377. StockTD[playerid][64] = CreatePlayerTextDraw(playerid, 400.000000, 208.000000, "ld_dual:black");
  2378. PlayerTextDrawFont(playerid, StockTD[playerid][64], 4);
  2379. PlayerTextDrawLetterSize(playerid, StockTD[playerid][64], 0.600000, 2.000000);
  2380. PlayerTextDrawTextSize(playerid, StockTD[playerid][64], 91.000000, 2.000000);
  2381. PlayerTextDrawSetOutline(playerid, StockTD[playerid][64], 1);
  2382. PlayerTextDrawSetShadow(playerid, StockTD[playerid][64], 0);
  2383. PlayerTextDrawAlignment(playerid, StockTD[playerid][64], 1);
  2384. PlayerTextDrawColor(playerid, StockTD[playerid][64], -1);
  2385. PlayerTextDrawBackgroundColor(playerid, StockTD[playerid][64], 255);
  2386. PlayerTextDrawBoxColor(playerid, StockTD[playerid][64], 50);
  2387. PlayerTextDrawUseBox(playerid, StockTD[playerid][64], 1);
  2388. PlayerTextDrawSetProportional(playerid, StockTD[playerid][64], 1);
  2389. PlayerTextDrawSetSelectable(playerid, StockTD[playerid][64], 0);
  2390.  
  2391. StockTD[playerid][65] = CreatePlayerTextDraw(playerid, 431.000000, 195.000000, "+$12380");
  2392. PlayerTextDrawFont(playerid, StockTD[playerid][65], 1);
  2393. PlayerTextDrawLetterSize(playerid, StockTD[playerid][65], 0.200000, 1.500000);
  2394. PlayerTextDrawTextSize(playerid, StockTD[playerid][65], 400.000000, 17.000000);
  2395. PlayerTextDrawSetOutline(playerid, StockTD[playerid][65], 0);
  2396. PlayerTextDrawSetShadow(playerid, StockTD[playerid][65], 0);
  2397. PlayerTextDrawAlignment(playerid, StockTD[playerid][65], 1);
  2398. PlayerTextDrawColor(playerid, StockTD[playerid][65], 9109759);
  2399. PlayerTextDrawBackgroundColor(playerid, StockTD[playerid][65], 255);
  2400. PlayerTextDrawBoxColor(playerid, StockTD[playerid][65], 50);
  2401. PlayerTextDrawUseBox(playerid, StockTD[playerid][65], 0);
  2402. PlayerTextDrawSetProportional(playerid, StockTD[playerid][65], 1);
  2403. PlayerTextDrawSetSelectable(playerid, StockTD[playerid][65], 0);
  2404.  
  2405. StockTD[playerid][66] = CreatePlayerTextDraw(playerid, 462.000000, 195.000000, "12.2Mil");
  2406. PlayerTextDrawFont(playerid, StockTD[playerid][66], 1);
  2407. PlayerTextDrawLetterSize(playerid, StockTD[playerid][66], 0.199999, 1.500000);
  2408. PlayerTextDrawTextSize(playerid, StockTD[playerid][66], 400.000000, 17.000000);
  2409. PlayerTextDrawSetOutline(playerid, StockTD[playerid][66], 1);
  2410. PlayerTextDrawSetShadow(playerid, StockTD[playerid][66], 0);
  2411. PlayerTextDrawAlignment(playerid, StockTD[playerid][66], 1);
  2412. PlayerTextDrawColor(playerid, StockTD[playerid][66], -764862721);
  2413. PlayerTextDrawBackgroundColor(playerid, StockTD[playerid][66], 255);
  2414. PlayerTextDrawBoxColor(playerid, StockTD[playerid][66], 50);
  2415. PlayerTextDrawUseBox(playerid, StockTD[playerid][66], 0);
  2416. PlayerTextDrawSetProportional(playerid, StockTD[playerid][66], 1);
  2417. PlayerTextDrawSetSelectable(playerid, StockTD[playerid][66], 0);
  2418.  
  2419. StockTD[playerid][67] = CreatePlayerTextDraw(playerid, 416.000000, 213.000000, "02:20");
  2420. PlayerTextDrawFont(playerid, StockTD[playerid][67], 2);
  2421. PlayerTextDrawLetterSize(playerid, StockTD[playerid][67], 0.233331, 1.299999);
  2422. PlayerTextDrawTextSize(playerid, StockTD[playerid][67], 399.000000, 17.000000);
  2423. PlayerTextDrawSetOutline(playerid, StockTD[playerid][67], 1);
  2424. PlayerTextDrawSetShadow(playerid, StockTD[playerid][67], 0);
  2425. PlayerTextDrawAlignment(playerid, StockTD[playerid][67], 2);
  2426. PlayerTextDrawColor(playerid, StockTD[playerid][67], -1);
  2427. PlayerTextDrawBackgroundColor(playerid, StockTD[playerid][67], 255);
  2428. PlayerTextDrawBoxColor(playerid, StockTD[playerid][67], 50);
  2429. PlayerTextDrawUseBox(playerid, StockTD[playerid][67], 0);
  2430. PlayerTextDrawSetProportional(playerid, StockTD[playerid][67], 1);
  2431. PlayerTextDrawSetSelectable(playerid, StockTD[playerid][67], 0);
  2432.  
  2433. StockTD[playerid][68] = CreatePlayerTextDraw(playerid, 400.000000, 225.000000, "ld_dual:black");
  2434. PlayerTextDrawFont(playerid, StockTD[playerid][68], 4);
  2435. PlayerTextDrawLetterSize(playerid, StockTD[playerid][68], 0.600000, 2.000000);
  2436. PlayerTextDrawTextSize(playerid, StockTD[playerid][68], 91.000000, 2.000000);
  2437. PlayerTextDrawSetOutline(playerid, StockTD[playerid][68], 1);
  2438. PlayerTextDrawSetShadow(playerid, StockTD[playerid][68], 0);
  2439. PlayerTextDrawAlignment(playerid, StockTD[playerid][68], 1);
  2440. PlayerTextDrawColor(playerid, StockTD[playerid][68], -1);
  2441. PlayerTextDrawBackgroundColor(playerid, StockTD[playerid][68], 255);
  2442. PlayerTextDrawBoxColor(playerid, StockTD[playerid][68], 50);
  2443. PlayerTextDrawUseBox(playerid, StockTD[playerid][68], 1);
  2444. PlayerTextDrawSetProportional(playerid, StockTD[playerid][68], 1);
  2445. PlayerTextDrawSetSelectable(playerid, StockTD[playerid][68], 0);
  2446.  
  2447. StockTD[playerid][69] = CreatePlayerTextDraw(playerid, 431.000000, 212.000000, "+$12380");
  2448. PlayerTextDrawFont(playerid, StockTD[playerid][69], 1);
  2449. PlayerTextDrawLetterSize(playerid, StockTD[playerid][69], 0.200000, 1.500000);
  2450. PlayerTextDrawTextSize(playerid, StockTD[playerid][69], 400.000000, 17.000000);
  2451. PlayerTextDrawSetOutline(playerid, StockTD[playerid][69], 0);
  2452. PlayerTextDrawSetShadow(playerid, StockTD[playerid][69], 0);
  2453. PlayerTextDrawAlignment(playerid, StockTD[playerid][69], 1);
  2454. PlayerTextDrawColor(playerid, StockTD[playerid][69], 9109759);
  2455. PlayerTextDrawBackgroundColor(playerid, StockTD[playerid][69], 255);
  2456. PlayerTextDrawBoxColor(playerid, StockTD[playerid][69], 50);
  2457. PlayerTextDrawUseBox(playerid, StockTD[playerid][69], 0);
  2458. PlayerTextDrawSetProportional(playerid, StockTD[playerid][69], 1);
  2459. PlayerTextDrawSetSelectable(playerid, StockTD[playerid][69], 0);
  2460.  
  2461. StockTD[playerid][70] = CreatePlayerTextDraw(playerid, 462.000000, 212.000000, "12.2Mil");
  2462. PlayerTextDrawFont(playerid, StockTD[playerid][70], 1);
  2463. PlayerTextDrawLetterSize(playerid, StockTD[playerid][70], 0.199999, 1.500000);
  2464. PlayerTextDrawTextSize(playerid, StockTD[playerid][70], 400.000000, 17.000000);
  2465. PlayerTextDrawSetOutline(playerid, StockTD[playerid][70], 1);
  2466. PlayerTextDrawSetShadow(playerid, StockTD[playerid][70], 0);
  2467. PlayerTextDrawAlignment(playerid, StockTD[playerid][70], 1);
  2468. PlayerTextDrawColor(playerid, StockTD[playerid][70], -764862721);
  2469. PlayerTextDrawBackgroundColor(playerid, StockTD[playerid][70], 255);
  2470. PlayerTextDrawBoxColor(playerid, StockTD[playerid][70], 50);
  2471. PlayerTextDrawUseBox(playerid, StockTD[playerid][70], 0);
  2472. PlayerTextDrawSetProportional(playerid, StockTD[playerid][70], 1);
  2473. PlayerTextDrawSetSelectable(playerid, StockTD[playerid][70], 0);
  2474. return 1;
  2475. }
  2476.  
  2477. public OnPlayerDisconnect(playerid, reason)
  2478. {
  2479. return 1;
  2480. }
  2481.  
  2482. public OnPlayerSpawn(playerid)
  2483. {
  2484. return 1;
  2485. }
  2486.  
  2487. public OnPlayerDeath(playerid, killerid, reason)
  2488. {
  2489. return 1;
  2490. }
  2491.  
  2492. public OnVehicleSpawn(vehicleid)
  2493. {
  2494. return 1;
  2495. }
  2496.  
  2497. public OnVehicleDeath(vehicleid, killerid)
  2498. {
  2499. return 1;
  2500. }
  2501.  
  2502. public OnPlayerText(playerid, text[])
  2503. {
  2504. return 1;
  2505. }
  2506.  
  2507. public OnPlayerCommandText(playerid, cmdtext[])
  2508. {
  2509. return 0;
  2510. }
  2511.  
  2512. public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
  2513. {
  2514. return 1;
  2515. }
  2516.  
  2517. public OnPlayerExitVehicle(playerid, vehicleid)
  2518. {
  2519. return 1;
  2520. }
  2521.  
  2522. public OnPlayerStateChange(playerid, newstate, oldstate)
  2523. {
  2524. return 1;
  2525. }
  2526.  
  2527. public OnPlayerEnterCheckpoint(playerid)
  2528. {
  2529. return 1;
  2530. }
  2531.  
  2532. public OnPlayerLeaveCheckpoint(playerid)
  2533. {
  2534. return 1;
  2535. }
  2536.  
  2537. public OnPlayerEnterRaceCheckpoint(playerid)
  2538. {
  2539. return 1;
  2540. }
  2541.  
  2542. public OnPlayerLeaveRaceCheckpoint(playerid)
  2543. {
  2544. return 1;
  2545. }
  2546.  
  2547. public OnRconCommand(cmd[])
  2548. {
  2549. return 1;
  2550. }
  2551.  
  2552. public OnPlayerRequestSpawn(playerid)
  2553. {
  2554. return 1;
  2555. }
  2556.  
  2557. public OnObjectMoved(objectid)
  2558. {
  2559. return 1;
  2560. }
  2561.  
  2562. public OnPlayerObjectMoved(playerid, objectid)
  2563. {
  2564. return 1;
  2565. }
  2566.  
  2567. public OnPlayerPickUpPickup(playerid, pickupid)
  2568. {
  2569. return 1;
  2570. }
  2571.  
  2572. public OnVehicleMod(playerid, vehicleid, componentid)
  2573. {
  2574. return 1;
  2575. }
  2576.  
  2577. public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
  2578. {
  2579. return 1;
  2580. }
  2581.  
  2582. public OnVehicleRespray(playerid, vehicleid, color1, color2)
  2583. {
  2584. return 1;
  2585. }
  2586.  
  2587. public OnPlayerSelectedMenuRow(playerid, row)
  2588. {
  2589. return 1;
  2590. }
  2591.  
  2592. public OnPlayerExitedMenu(playerid)
  2593. {
  2594. return 1;
  2595. }
  2596.  
  2597. public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
  2598. {
  2599. return 1;
  2600. }
  2601.  
  2602. public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
  2603. {
  2604. return 1;
  2605. }
  2606.  
  2607. public OnRconLoginAttempt(ip[], password[], success)
  2608. {
  2609. return 1;
  2610. }
  2611.  
  2612. public OnPlayerUpdate(playerid)
  2613. {
  2614. return 1;
  2615. }
  2616.  
  2617. public OnPlayerStreamIn(playerid, forplayerid)
  2618. {
  2619. return 1;
  2620. }
  2621.  
  2622. public OnPlayerStreamOut(playerid, forplayerid)
  2623. {
  2624. return 1;
  2625. }
  2626.  
  2627. public OnVehicleStreamIn(vehicleid, forplayerid)
  2628. {
  2629. return 1;
  2630. }
  2631.  
  2632. public OnVehicleStreamOut(vehicleid, forplayerid)
  2633. {
  2634. return 1;
  2635. }
  2636.  
  2637. public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
  2638. {
  2639. switch(dialogid)
  2640. {
  2641. case DIALOG_REGISTER:
  2642. {
  2643. if(!response)
  2644. {
  2645. KickPlayer(playerid);
  2646. }
  2647. else{
  2648. if(isnull(inputtext))
  2649. {
  2650. SCM(playerid, COLOR_LIGHTRED, "Password Cannot Be Empty");
  2651. return ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_PASSWORD, "Scripting Tutorials Server", "Welcome To Scripting Tutorials Server\nEnter Your Password To Join!", "Register", "Close");
  2652. }
  2653. if(strlen(inputtext) < 5)
  2654. {
  2655. SCM(playerid, COLOR_LIGHTRED, "Password Must Be More Than 5 Characters");
  2656. ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_PASSWORD, "Scripting Tutorials Server", "Welcome To Scripting Tutorials Server\nEnter Your Password To Join!", "Register", "Close");
  2657. }
  2658. WP_Hash(PlayerInfo[playerid][pPassword], 129, inputtext);
  2659.  
  2660. mysql_format(connectionID, queryBuffer, sizeof(queryBuffer), "INSERT INTO users (username, password, ip) VALUES ('%s', '%s', '%s')", GetPlayerNameEx(playerid), PlayerInfo[playerid][pPassword], GetPlayerIP(playerid));
  2661. mysql_tquery(connectionID, queryBuffer, "OnPlayerRegister", "i", playerid);
  2662. }
  2663. }
  2664. case DIALOG_LOGIN:
  2665. {
  2666. if(!response)
  2667. {
  2668. KickPlayer(playerid);
  2669. }
  2670. else{
  2671. new password[129];
  2672. if(isnull(inputtext))
  2673. {
  2674. ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_PASSWORD, "Scripting Tutorials Server", "Welcome To Scripting Tutorials Server\nForgot Your Password Ask Any Admins In Discord", "Login", "Close");
  2675. }
  2676. WP_Hash(password, sizeof(password), inputtext);
  2677.  
  2678. mysql_format(connectionID, queryBuffer, sizeof(queryBuffer), "SELECT * FROM users WHERE username = '%s' AND password = '%s'", GetPlayerNameEx(playerid), password);
  2679. mysql_tquery(connectionID, queryBuffer, "OnPlayerLogin", "i", playerid);
  2680. }
  2681. }
  2682. }
  2683. return 1;
  2684. }
  2685.  
  2686. public OnPlayerClickPlayer(playerid, clickedplayerid, source)
  2687. {
  2688. return 1;
  2689. }
  2690. CMD:sethp(playerid, params[])
  2691. {
  2692. new targetid, Float:amount;
  2693. if(sscanf(params, "ud", targetid, amount))
  2694. {
  2695. return SCM(playerid, COLOR_SYNTAX, "Usage: /sethp [playerid] [amount]");
  2696. }
  2697. if(!IsPlayerConnected(targetid))
  2698. {
  2699. return SCM(playerid, COLOR_SYNTAX, "Selected player is not connected to the server");
  2700. }
  2701. if(amount > 255.0)
  2702. {
  2703. return SCM(playerid, COLOR_SYNTAX, "Amount can't be more than 255");
  2704. }
  2705. SetPlayerHealthEx(targetid, amount);
  2706. return 1;
  2707. }
  2708. CMD:tp(playerid, params[])
  2709. {
  2710. SetPlayerPos(playerid, 1323.912,1565.212,10.820);
  2711. SetPlayerFacingAngle(playerid, 300.142);
  2712. return 1;
  2713. }
  2714. CMD:playertd(playerid, params[])
  2715. {
  2716. for(new i=0;i<70;i++)
  2717. {
  2718. PlayerTextDrawShow(playerid, StockTD[playerid][i]);
  2719. }
  2720. return 1;
  2721. }
  2722. CMD:globaltd(playerid, params[])
  2723. {
  2724. for(new i=0;i<80;i++)
  2725. {
  2726. TextDrawShowForPlayer(playerid, InventoryTD[i]);
  2727. }
  2728. return 1;
  2729. }
  2730.  
  2731. forward SetPlayerCamera(playerid);
  2732. public SetPlayerCamera(playerid)
  2733. {
  2734. SetPlayerPos(playerid,1964.020629, -1746.168457, 21.459442);
  2735. InterpolateCameraPos(playerid, 1964.020629, -1746.168457, 21.459442, 1970.416503, -1819.768920, 22.540792, 8000);
  2736. InterpolateCameraLookAt(playerid, 1960.333129, -1749.514892, 21.008031, 1966.392456, -1816.848754, 22.012056, 8000);
  2737. TogglePlayerControllable(playerid, 0);
  2738.  
  2739. mysql_format(connectionID, queryBuffer, sizeof(queryBuffer), "SELECT * FROM users WHERE username = BINARY'%e'", GetPlayerNameEx(playerid));
  2740. mysql_tquery(connectionID, queryBuffer, "PlayerAccountCheck", "i", playerid);
  2741. }
  2742. forward SetPlayerHealthEx(playerid, Float:amount);
  2743. public SetPlayerHealthEx(playerid, Float:amount)
  2744. {
  2745. SetPlayerHealth(playerid, amount);
  2746. }
  2747. forward KickPlayer(playerid);
  2748. public KickPlayer(playerid)
  2749. {
  2750. Kick(playerid);
  2751. PlayerInfo[playerid][pKicked] = 1;
  2752. }
  2753. forward PlayerAccountCheck(playerid);
  2754. public PlayerAccountCheck(playerid)
  2755. {
  2756. new rows,fields;
  2757. cache_get_data(rows, fields, connectionID);
  2758. if(rows)
  2759. {
  2760. ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_PASSWORD, "Scripting Tutorials Server", "Welcome To Scripting Tutorials Server\nForgot Your Password Ask Any Admins In Discord", "Login", "Close");
  2761. }
  2762. else{
  2763. ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_PASSWORD, "Scripting Tutorials Server", "Welcome To Scripting Tutorials Server\nEnter Your Password To Join!", "Register", "Close");
  2764. }
  2765. }
  2766. forward OnPlayerRegister(playerid);
  2767. public OnPlayerRegister(playerid)
  2768. {
  2769. new id = cache_insert_id(connectionID);
  2770.  
  2771. if(id)
  2772. {
  2773. mysql_format(connectionID, queryBuffer, sizeof(queryBuffer), "SELECT * FROM users WHERE uid = '%d'", id);
  2774. mysql_tquery(connectionID, queryBuffer, "OnPlayerLogin", "i", playerid);
  2775. }
  2776. }
  2777. forward OnPlayerLogin(playerid);
  2778. public OnPlayerLogin(playerid)
  2779. {
  2780. new rows = cache_get_row_count(connectionID);
  2781.  
  2782. if(!rows)
  2783. {
  2784. LoginTries++;
  2785. if(LoginTries < 3)
  2786. {
  2787. ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_PASSWORD, "Scripting Tutorials Server", "Welcome To Scripting Tutorials Server\nForgot Your Password Ask Any Admins In Discord", "Login", "Close");
  2788. SM(playerid, COLOR_LIGHTRED, "Incorrect Password %i Attempts Left", 3 - LoginTries);
  2789. }
  2790. else{
  2791. KickPlayer(playerid);
  2792. }
  2793. }
  2794. else{
  2795. PlayerInfo[playerid][pLogged] = 1;
  2796. TogglePlayerSpectating(playerid, false);
  2797. SetSpawnInfo(playerid, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
  2798. }
  2799. }
Add Comment
Please, Sign In to add comment