AwayTitan098

How To Create Injured System In Samp Part-1

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