PageRenderTime 48ms CodeModel.GetById 18ms RepoModel.GetById 0ms app.codeStats 0ms

/resources/DD/race-[dd]destructionderby/client.lua

https://bitbucket.org/anylastwords/skc-wip
Lua | 299 lines | 285 code | 8 blank | 6 comment | 3 complexity | 22c8ba8396fa255589422245b58ebfab MD5 | raw file
  1. ----------------------
  2. -- Invisible Object --
  3. ----------------------
  4. addEventHandler("onClientResourceStart",resourceRoot,
  5. function ()
  6. for i,obj in ipairs (getElementsByType("object")) do
  7. if getElementModel(obj) == 8558 then
  8. setElementAlpha (obj, 0)
  9. end
  10. end
  11. end
  12. )
  13. ----------
  14. -- Ring --
  15. ----------
  16. function createLine ()
  17. dxDrawLine3D (1979.0999755859, -160.69999694824, 30, 1979.2758789063, -165.79136657715, 30, tocolor (0, 255, 255, 255), 20)
  18. dxDrawLine3D (1979.8024902344, -170.85845947266, 30, 1980.6774902344, -175.87715148926, 30, tocolor (0, 255, 255, 255), 20)
  19. dxDrawLine3D (1981.8967285156, -180.82351684570, 30, 1983.4542236328, -185.67399597168, 30, tocolor (0, 255, 255, 255), 20)
  20. dxDrawLine3D (1985.3426513672, -190.40544128418, 30, 1987.5529785156, -194.99534606934, 30, tocolor (0, 255, 255, 255), 20)
  21. dxDrawLine3D (1990.0748291016, -199.42179870605, 30, 1992.8959960938, -203.66374206543, 30, tocolor (0, 255, 255, 255), 20)
  22. dxDrawLine3D (1996.0030517578, -207.70092773438, 30, 1999.3812255859, -211.51414489746, 30, tocolor (0, 255, 255, 255), 20)
  23. dxDrawLine3D (2003.0145263672, -215.08520507813, 30, 2006.8853759766, -218.39709472656, 30, tocolor (0, 255, 255, 255), 20)
  24. dxDrawLine3D (2010.9757080078, -221.43403625488, 30, 2015.2656250000, -224.18154907227, 30, tocolor (0, 255, 255, 255), 20)
  25. dxDrawLine3D (2019.7349853516, -226.62652587891, 30, 2024.3623046875, -228.75735473633, 30, tocolor (0, 255, 255, 255), 20)
  26. dxDrawLine3D (2029.1257324219, -230.56387329102, 30, 2034.0023193359, -232.03742980957, 30, tocolor (0, 255, 255, 255), 20)
  27. dxDrawLine3D (2038.9689941406, -233.17105102539, 30, 2044.0020751953, -233.95928955078, 30, tocolor (0, 255, 255, 255), 20)
  28. dxDrawLine3D (2049.0773925781, -234.39843750000, 30, 2054.1711425781, -234.48635864258, 30, tocolor (0, 255, 255, 255), 20)
  29. dxDrawLine3D (2059.2587890625, -234.22267150879, 30, 2064.3159179688, -233.60861206055, 30, tocolor (0, 255, 255, 255), 20)
  30. dxDrawLine3D (2069.3188476563, -232.64709472656, 30, 2074.2434082030, -231.34274291992, 30, tocolor (0, 255, 255, 255), 20)
  31. dxDrawLine3D (2079.0661621094, -229.70172119141, 30, 2083.7644042969, -227.73187255859, 30, tocolor (0, 255, 255, 255), 20)
  32. dxDrawLine3D (2088.3154296875, -225.44259643555, 30, 2092.6977539063, -222.84478759766, 30, tocolor (0, 255, 255, 255), 20)
  33. dxDrawLine3D (2096.8903808594, -219.95083618164, 30, 2100.8732910156, -216.77453613281, 30, tocolor (0, 255, 255, 255), 20)
  34. dxDrawLine3D (2104.6276855469, -213.33100891113, 30, 2108.1354980469, -209.63667297363, 30, tocolor (0, 255, 255, 255), 20)
  35. dxDrawLine3D (2111.3801269530, -205.70913696289, 30, 2114.3459472656, -201.56710815430, 30, tocolor (0, 255, 255, 255), 20)
  36. dxDrawLine3D (2117.0190429688, -197.23033142090, 30, 2119.3864746094, -192.71946716309, 30, tocolor (0, 255, 255, 255), 20)
  37. dxDrawLine3D (2121.4370117188, -188.05603027344, 30, 2123.1611328125, -183.26220703125, 30, tocolor (0, 255, 255, 255), 20)
  38. dxDrawLine3D (2124.5502929688, -178.36087036133, 30, 2125.5979003906, -173.37538146973, 30, tocolor (0, 255, 255, 255), 20)
  39. dxDrawLine3D (2126.2993164063, -168.32946777344, 30, 2126.6506347656, -163.24722290039, 30, tocolor (0, 255, 255, 255), 20)
  40. dxDrawLine3D (2126.6506347656, -158.15283203125, 30, 2126.2993164063, -153.07057189941, 30, tocolor (0, 255, 255, 255), 20)
  41. dxDrawLine3D (2125.5979003906, -148.02467346191, 30, 2124.5502929688, -143.03918457030, 30, tocolor (0, 255, 255, 255), 20)
  42. dxDrawLine3D (2123.1611328125, -138.13784790039, 30, 2121.4370117188, -133.34403991699, 30, tocolor (0, 255, 255, 255), 20)
  43. dxDrawLine3D (2119.3864746094, -128.68058776855, 30, 2117.0190429688, -124.16970825195, 30, tocolor (0, 255, 255, 255), 20)
  44. dxDrawLine3D (2114.3459472656, -119.83293914795, 30, 2111.3801269530, -115.69090270996, 30, tocolor (0, 255, 255, 255), 20)
  45. dxDrawLine3D (2108.1354980469, -111.76336669922, 30, 2104.6276855469, -108.06901550293, 30, tocolor (0, 255, 255, 255), 20)
  46. dxDrawLine3D (2100.8732910156, -104.62548828125, 30, 2096.8903808594, -101.44919586182, 30, tocolor (0, 255, 255, 255), 20)
  47. dxDrawLine3D (2092.6977539063, -98.555236816406, 30, 2088.3156738281, -95.957427978516, 30, tocolor (0, 255, 255, 255), 20)
  48. dxDrawLine3D (2083.7644042969, -93.668144226074, 30, 2079.0664062500, -91.698303222656, 30, tocolor (0, 255, 255, 255), 20)
  49. dxDrawLine3D (2074.2434082030, -90.057296752930, 30, 2069.3188476563, -88.752914428711, 30, tocolor (0, 255, 255, 255), 20)
  50. dxDrawLine3D (2064.3161621094, -87.791397094727, 30, 2059.2587890625, -87.177330017090, 30, tocolor (0, 255, 255, 255), 20)
  51. dxDrawLine3D (2054.1711425781, -86.913627624512, 30, 2049.0776367188, -87.001556396484, 30, tocolor (0, 255, 255, 255), 20)
  52. dxDrawLine3D (2044.0020751953, -87.440689086914, 30, 2038.9689941406, -88.228950500488, 30, tocolor (0, 255, 255, 255), 20)
  53. dxDrawLine3D (2034.0023193359, -89.362556457520, 30, 2029.1257324219, -90.836120605469, 30, tocolor (0, 255, 255, 255), 20)
  54. dxDrawLine3D (2024.3623046875, -92.642631530762, 30, 2019.7349853516, -94.773460388184, 30, tocolor (0, 255, 255, 255), 20)
  55. dxDrawLine3D (2015.2656250000, -97.218452453613, 30, 2010.9755859375, -99.965988159180, 30, tocolor (0, 255, 255, 255), 20)
  56. dxDrawLine3D (2006.8853759766, -103.00292968750, 30, 2003.0144042969, -106.31481933594, 30, tocolor (0, 255, 255, 255), 20)
  57. dxDrawLine3D (1999.3812255859, -109.88591003418, 30, 1996.0029296875, -113.69913482666, 30, tocolor (0, 255, 255, 255), 20)
  58. dxDrawLine3D (1992.8958740234, -117.73633575439, 30, 1990.0747070313, -121.97830200195, 30, tocolor (0, 255, 255, 255), 20)
  59. dxDrawLine3D (1987.5529785156, -126.40476989746, 30, 1985.3425292969, -130.99467468262, 30, tocolor (0, 255, 255, 255), 20)
  60. dxDrawLine3D (1983.4541015625, -135.72616577148, 30, 1981.8966064453, -140.57664489746, 30, tocolor (0, 255, 255, 255), 20)
  61. dxDrawLine3D (1980.6774902344, -145.52301025391, 30, 1979.8024902344, -150.54174804688, 30, tocolor (0, 255, 255, 255), 20)
  62. dxDrawLine3D (1979.2757568359, -155.60885620117, 30, 1979.0999755859, -160.69999694824, 30, tocolor (0, 255, 255, 255), 20)
  63. dxDrawLine3D (1979.2758789063, -165.79136657715, 30, 1979.8024902344, -170.85845947266, 30, tocolor (0, 255, 255, 255), 20)
  64. dxDrawLine3D (1980.6774902344, -175.87715148926, 30, 1981.8967285156, -180.82351684570, 30, tocolor (0, 255, 255, 255), 20)
  65. dxDrawLine3D (1983.4542236328, -185.67399597168, 30, 1985.3426513672, -190.40544128418, 30, tocolor (0, 255, 255, 255), 20)
  66. dxDrawLine3D (1987.5529785156, -194.99534606934, 30, 1990.0748291016, -199.42179870605, 30, tocolor (0, 255, 255, 255), 20)
  67. dxDrawLine3D (1992.8959960938, -203.66374206543, 30, 1996.0030517578, -207.70092773438, 30, tocolor (0, 255, 255, 255), 20)
  68. dxDrawLine3D (1999.3812255859, -211.51414489746, 30, 2003.0145263672, -215.08520507813, 30, tocolor (0, 255, 255, 255), 20)
  69. dxDrawLine3D (2006.8853759766, -218.39709472656, 30, 2010.9757080078, -221.43403625488, 30, tocolor (0, 255, 255, 255), 20)
  70. dxDrawLine3D (2015.2656250000, -224.18154907227, 30, 2019.7349853516, -226.62652587891, 30, tocolor (0, 255, 255, 255), 20)
  71. dxDrawLine3D (2024.3623046875, -228.75735473633, 30, 2029.1257324219, -230.56387329102, 30, tocolor (0, 255, 255, 255), 20)
  72. dxDrawLine3D (2034.0023193359, -232.03742980957, 30, 2038.9689941406, -233.17105102539, 30, tocolor (0, 255, 255, 255), 20)
  73. dxDrawLine3D (2044.0020751953, -233.95928955078, 30, 2049.0773925781, -234.39843750000, 30, tocolor (0, 255, 255, 255), 20)
  74. dxDrawLine3D (2054.1711425781, -234.48635864258, 30, 2059.2587890625, -234.22267150879, 30, tocolor (0, 255, 255, 255), 20)
  75. dxDrawLine3D (2064.3159179688, -233.60861206055, 30, 2069.3188476563, -232.64709472656, 30, tocolor (0, 255, 255, 255), 20)
  76. dxDrawLine3D (2074.2434082030, -231.34274291992, 30, 2079.0661621094, -229.70172119141, 30, tocolor (0, 255, 255, 255), 20)
  77. dxDrawLine3D (2083.7644042969, -227.73187255859, 30, 2088.3154296875, -225.44259643555, 30, tocolor (0, 255, 255, 255), 20)
  78. dxDrawLine3D (2092.6977539063, -222.84478759766, 30, 2096.8903808594, -219.95083618164, 30, tocolor (0, 255, 255, 255), 20)
  79. dxDrawLine3D (2100.8732910156, -216.77453613281, 30, 2104.6276855469, -213.33100891113, 30, tocolor (0, 255, 255, 255), 20)
  80. dxDrawLine3D (2108.1354980469, -209.63667297363, 30, 2111.3801269530, -205.70913696289, 30, tocolor (0, 255, 255, 255), 20)
  81. dxDrawLine3D (2114.3459472656, -201.56710815430, 30, 2117.0190429688, -197.23033142090, 30, tocolor (0, 255, 255, 255), 20)
  82. dxDrawLine3D (2119.3864746094, -192.71946716309, 30, 2121.4370117188, -188.05603027344, 30, tocolor (0, 255, 255, 255), 20)
  83. dxDrawLine3D (2123.1611328125, -183.26220703125, 30, 2124.5502929688, -178.36087036133, 30, tocolor (0, 255, 255, 255), 20)
  84. dxDrawLine3D (2125.5979003906, -173.37538146973, 30, 2126.2993164063, -168.32946777344, 30, tocolor (0, 255, 255, 255), 20)
  85. dxDrawLine3D (2126.6506347656, -163.24722290039, 30, 2126.6506347656, -158.15283203125, 30, tocolor (0, 255, 255, 255), 20)
  86. dxDrawLine3D (2126.2993164063, -153.07057189941, 30, 2125.5979003906, -148.02467346191, 30, tocolor (0, 255, 255, 255), 20)
  87. dxDrawLine3D (2124.5502929688, -143.03918457030, 30, 2123.1611328125, -138.13784790039, 30, tocolor (0, 255, 255, 255), 20)
  88. dxDrawLine3D (2121.4370117188, -133.34403991699, 30, 2119.3864746094, -128.68058776855, 30, tocolor (0, 255, 255, 255), 20)
  89. dxDrawLine3D (2117.0190429688, -124.16970825195, 30, 2114.3459472656, -119.83293914795, 30, tocolor (0, 255, 255, 255), 20)
  90. dxDrawLine3D (2111.3801269530, -115.69090270996, 30, 2108.1354980469, -111.76336669922, 30, tocolor (0, 255, 255, 255), 20)
  91. dxDrawLine3D (2104.6276855469, -108.06901550293, 30, 2100.8732910156, -104.62548828125, 30, tocolor (0, 255, 255, 255), 20)
  92. dxDrawLine3D (2096.8903808594, -101.44919586182, 30, 2092.6977539063, -98.555236816406, 30, tocolor (0, 255, 255, 255), 20)
  93. dxDrawLine3D (2088.3156738281, -95.957427978516, 30, 2083.7644042969, -93.668144226074, 30, tocolor (0, 255, 255, 255), 20)
  94. dxDrawLine3D (2079.0664062500, -91.698303222656, 30, 2074.2434082030, -90.057296752930, 30, tocolor (0, 255, 255, 255), 20)
  95. dxDrawLine3D (2069.3188476563, -88.752914428711, 30, 2064.3161621094, -87.791397094727, 30, tocolor (0, 255, 255, 255), 20)
  96. dxDrawLine3D (2059.2587890625, -87.177330017090, 30, 2054.1711425781, -86.913627624512, 30, tocolor (0, 255, 255, 255), 20)
  97. dxDrawLine3D (2049.0776367188, -87.001556396484, 30, 2044.0020751953, -87.440689086914, 30, tocolor (0, 255, 255, 255), 20)
  98. dxDrawLine3D (2038.9689941406, -88.228950500488, 30, 2034.0023193359, -89.362556457520, 30, tocolor (0, 255, 255, 255), 20)
  99. dxDrawLine3D (2029.1257324219, -90.836120605469, 30, 2024.3623046875, -92.642631530762, 30, tocolor (0, 255, 255, 255), 20)
  100. dxDrawLine3D (2019.7349853516, -94.773460388184, 30, 2015.2656250000, -97.218452453613, 30, tocolor (0, 255, 255, 255), 20)
  101. dxDrawLine3D (2010.9755859375, -99.965988159180, 30, 2006.8853759766, -103.00292968750, 30, tocolor (0, 255, 255, 255), 20)
  102. dxDrawLine3D (2003.0144042969, -106.31481933594, 30, 1999.3812255859, -109.88591003418, 30, tocolor (0, 255, 255, 255), 20)
  103. dxDrawLine3D (1996.0029296875, -113.69913482666, 30, 1992.8958740234, -117.73633575439, 30, tocolor (0, 255, 255, 255), 20)
  104. dxDrawLine3D (1990.0747070313, -121.97830200195, 30, 1987.5529785156, -126.40476989746, 30, tocolor (0, 255, 255, 255), 20)
  105. dxDrawLine3D (1985.3425292969, -130.99467468262, 30, 1983.4541015625, -135.72616577148, 30, tocolor (0, 255, 255, 255), 20)
  106. dxDrawLine3D (1981.8966064453, -140.57664489746, 30, 1980.6774902344, -145.52301025391, 30, tocolor (0, 255, 255, 255), 20)
  107. dxDrawLine3D (1979.8024902344, -150.54174804688, 30, 1979.2757568359, -155.60885620117, 30, tocolor (0, 255, 255, 255), 20)
  108. dxDrawLine3D (1979.0999755859, -160.69999694824, 33, 1979.2758789063, -165.79136657715, 33, tocolor (0, 255, 255, 255), 20)
  109. dxDrawLine3D (1979.8024902344, -170.85845947266, 33, 1980.6774902344, -175.87715148926, 33, tocolor (0, 255, 255, 255), 20)
  110. dxDrawLine3D (1981.8967285156, -180.82351684570, 33, 1983.4542236328, -185.67399597168, 33, tocolor (0, 255, 255, 255), 20)
  111. dxDrawLine3D (1985.3426513672, -190.40544128418, 33, 1987.5529785156, -194.99534606934, 33, tocolor (0, 255, 255, 255), 20)
  112. dxDrawLine3D (1990.0748291016, -199.42179870605, 33, 1992.8959960938, -203.66374206543, 33, tocolor (0, 255, 255, 255), 20)
  113. dxDrawLine3D (1996.0030517578, -207.70092773438, 33, 1999.3812255859, -211.51414489746, 33, tocolor (0, 255, 255, 255), 20)
  114. dxDrawLine3D (2003.0145263672, -215.08520507813, 33, 2006.8853759766, -218.39709472656, 33, tocolor (0, 255, 255, 255), 20)
  115. dxDrawLine3D (2010.9757080078, -221.43403625488, 33, 2015.2656250000, -224.18154907227, 33, tocolor (0, 255, 255, 255), 20)
  116. dxDrawLine3D (2019.7349853516, -226.62652587891, 33, 2024.3623046875, -228.75735473633, 33, tocolor (0, 255, 255, 255), 20)
  117. dxDrawLine3D (2029.1257324219, -230.56387329102, 33, 2034.0023193359, -232.03742980957, 33, tocolor (0, 255, 255, 255), 20)
  118. dxDrawLine3D (2038.9689941406, -233.17105102539, 33, 2044.0020751953, -233.95928955078, 33, tocolor (0, 255, 255, 255), 20)
  119. dxDrawLine3D (2049.0773925781, -234.39843750000, 33, 2054.1711425781, -234.48635864258, 33, tocolor (0, 255, 255, 255), 20)
  120. dxDrawLine3D (2059.2587890625, -234.22267150879, 33, 2064.3159179688, -233.60861206055, 33, tocolor (0, 255, 255, 255), 20)
  121. dxDrawLine3D (2069.3188476563, -232.64709472656, 33, 2074.2434082033, -231.34274291992, 33, tocolor (0, 255, 255, 255), 20)
  122. dxDrawLine3D (2079.0661621094, -229.70172119141, 33, 2083.7644042969, -227.73187255859, 33, tocolor (0, 255, 255, 255), 20)
  123. dxDrawLine3D (2088.3154296875, -225.44259643555, 33, 2092.6977539063, -222.84478759766, 33, tocolor (0, 255, 255, 255), 20)
  124. dxDrawLine3D (2096.8903808594, -219.95083618164, 33, 2100.8732910156, -216.77453613281, 33, tocolor (0, 255, 255, 255), 20)
  125. dxDrawLine3D (2104.6276855469, -213.33100891113, 33, 2108.1354980469, -209.63667297363, 33, tocolor (0, 255, 255, 255), 20)
  126. dxDrawLine3D (2111.3801269533, -205.70913696289, 33, 2114.3459472656, -201.56710815433, 33, tocolor (0, 255, 255, 255), 20)
  127. dxDrawLine3D (2117.0190429688, -197.23033142090, 33, 2119.3864746094, -192.71946716309, 33, tocolor (0, 255, 255, 255), 20)
  128. dxDrawLine3D (2121.4370117188, -188.05603027344, 33, 2123.1611328125, -183.26220703125, 33, tocolor (0, 255, 255, 255), 20)
  129. dxDrawLine3D (2124.5502929688, -178.36087036133, 33, 2125.5979003906, -173.37538146973, 33, tocolor (0, 255, 255, 255), 20)
  130. dxDrawLine3D (2126.2993164063, -168.32946777344, 33, 2126.6506347656, -163.24722290039, 33, tocolor (0, 255, 255, 255), 20)
  131. dxDrawLine3D (2126.6506347656, -158.15283203125, 33, 2126.2993164063, -153.07057189941, 33, tocolor (0, 255, 255, 255), 20)
  132. dxDrawLine3D (2125.5979003906, -148.02467346191, 33, 2124.5502929688, -143.03918457033, 33, tocolor (0, 255, 255, 255), 20)
  133. dxDrawLine3D (2123.1611328125, -138.13784790039, 33, 2121.4370117188, -133.34403991699, 33, tocolor (0, 255, 255, 255), 20)
  134. dxDrawLine3D (2119.3864746094, -128.68058776855, 33, 2117.0190429688, -124.16970825195, 33, tocolor (0, 255, 255, 255), 20)
  135. dxDrawLine3D (2114.3459472656, -119.83293914795, 33, 2111.3801269533, -115.69090270996, 33, tocolor (0, 255, 255, 255), 20)
  136. dxDrawLine3D (2108.1354980469, -111.76336669922, 33, 2104.6276855469, -108.06901550293, 33, tocolor (0, 255, 255, 255), 20)
  137. dxDrawLine3D (2100.8732910156, -104.62548828125, 33, 2096.8903808594, -101.44919586182, 33, tocolor (0, 255, 255, 255), 20)
  138. dxDrawLine3D (2092.6977539063, -98.555236816406, 33, 2088.3156738281, -95.957427978516, 33, tocolor (0, 255, 255, 255), 20)
  139. dxDrawLine3D (2083.7644042969, -93.668144226074, 33, 2079.0664062500, -91.698303222656, 33, tocolor (0, 255, 255, 255), 20)
  140. dxDrawLine3D (2074.2434082033, -90.057296752933, 33, 2069.3188476563, -88.752914428711, 33, tocolor (0, 255, 255, 255), 20)
  141. dxDrawLine3D (2064.3161621094, -87.791397094727, 33, 2059.2587890625, -87.177330017090, 33, tocolor (0, 255, 255, 255), 20)
  142. dxDrawLine3D (2054.1711425781, -86.913627624512, 33, 2049.0776367188, -87.001556396484, 33, tocolor (0, 255, 255, 255), 20)
  143. dxDrawLine3D (2044.0020751953, -87.440689086914, 33, 2038.9689941406, -88.228950500488, 33, tocolor (0, 255, 255, 255), 20)
  144. dxDrawLine3D (2034.0023193359, -89.362556457520, 33, 2029.1257324219, -90.836120605469, 33, tocolor (0, 255, 255, 255), 20)
  145. dxDrawLine3D (2024.3623046875, -92.642631530762, 33, 2019.7349853516, -94.773460388184, 33, tocolor (0, 255, 255, 255), 20)
  146. dxDrawLine3D (2015.2656250000, -97.218452453613, 33, 2010.9755859375, -99.965988159180, 33, tocolor (0, 255, 255, 255), 20)
  147. dxDrawLine3D (2006.8853759766, -103.00292968750, 33, 2003.0144042969, -106.31481933594, 33, tocolor (0, 255, 255, 255), 20)
  148. dxDrawLine3D (1999.3812255859, -109.88591003418, 33, 1996.0029296875, -113.69913482666, 33, tocolor (0, 255, 255, 255), 20)
  149. dxDrawLine3D (1992.8958740234, -117.73633575439, 33, 1990.0747070313, -121.97830200195, 33, tocolor (0, 255, 255, 255), 20)
  150. dxDrawLine3D (1987.5529785156, -126.40476989746, 33, 1985.3425292969, -130.99467468262, 33, tocolor (0, 255, 255, 255), 20)
  151. dxDrawLine3D (1983.4541015625, -135.72616577148, 33, 1981.8966064453, -140.57664489746, 33, tocolor (0, 255, 255, 255), 20)
  152. dxDrawLine3D (1980.6774902344, -145.52301025391, 33, 1979.8024902344, -150.54174804688, 33, tocolor (0, 255, 255, 255), 20)
  153. dxDrawLine3D (1979.2757568359, -155.60885620117, 33, 1979.0999755859, -160.69999694824, 33, tocolor (0, 255, 255, 255), 20)
  154. dxDrawLine3D (1979.2758789063, -165.79136657715, 33, 1979.8024902344, -170.85845947266, 33, tocolor (0, 255, 255, 255), 20)
  155. dxDrawLine3D (1980.6774902344, -175.87715148926, 33, 1981.8967285156, -180.82351684570, 33, tocolor (0, 255, 255, 255), 20)
  156. dxDrawLine3D (1983.4542236328, -185.67399597168, 33, 1985.3426513672, -190.40544128418, 33, tocolor (0, 255, 255, 255), 20)
  157. dxDrawLine3D (1987.5529785156, -194.99534606934, 33, 1990.0748291016, -199.42179870605, 33, tocolor (0, 255, 255, 255), 20)
  158. dxDrawLine3D (1992.8959960938, -203.66374206543, 33, 1996.0030517578, -207.70092773438, 33, tocolor (0, 255, 255, 255), 20)
  159. dxDrawLine3D (1999.3812255859, -211.51414489746, 33, 2003.0145263672, -215.08520507813, 33, tocolor (0, 255, 255, 255), 20)
  160. dxDrawLine3D (2006.8853759766, -218.39709472656, 33, 2010.9757080078, -221.43403625488, 33, tocolor (0, 255, 255, 255), 20)
  161. dxDrawLine3D (2015.2656250000, -224.18154907227, 33, 2019.7349853516, -226.62652587891, 33, tocolor (0, 255, 255, 255), 20)
  162. dxDrawLine3D (2024.3623046875, -228.75735473633, 33, 2029.1257324219, -230.56387329102, 33, tocolor (0, 255, 255, 255), 20)
  163. dxDrawLine3D (2034.0023193359, -232.03742980957, 33, 2038.9689941406, -233.17105102539, 33, tocolor (0, 255, 255, 255), 20)
  164. dxDrawLine3D (2044.0020751953, -233.95928955078, 33, 2049.0773925781, -234.39843750000, 33, tocolor (0, 255, 255, 255), 20)
  165. dxDrawLine3D (2054.1711425781, -234.48635864258, 33, 2059.2587890625, -234.22267150879, 33, tocolor (0, 255, 255, 255), 20)
  166. dxDrawLine3D (2064.3159179688, -233.60861206055, 33, 2069.3188476563, -232.64709472656, 33, tocolor (0, 255, 255, 255), 20)
  167. dxDrawLine3D (2074.2434082033, -231.34274291992, 33, 2079.0661621094, -229.70172119141, 33, tocolor (0, 255, 255, 255), 20)
  168. dxDrawLine3D (2083.7644042969, -227.73187255859, 33, 2088.3154296875, -225.44259643555, 33, tocolor (0, 255, 255, 255), 20)
  169. dxDrawLine3D (2092.6977539063, -222.84478759766, 33, 2096.8903808594, -219.95083618164, 33, tocolor (0, 255, 255, 255), 20)
  170. dxDrawLine3D (2100.8732910156, -216.77453613281, 33, 2104.6276855469, -213.33100891113, 33, tocolor (0, 255, 255, 255), 20)
  171. dxDrawLine3D (2108.1354980469, -209.63667297363, 33, 2111.3801269533, -205.70913696289, 33, tocolor (0, 255, 255, 255), 20)
  172. dxDrawLine3D (2114.3459472656, -201.56710815433, 33, 2117.0190429688, -197.23033142090, 33, tocolor (0, 255, 255, 255), 20)
  173. dxDrawLine3D (2119.3864746094, -192.71946716309, 33, 2121.4370117188, -188.05603027344, 33, tocolor (0, 255, 255, 255), 20)
  174. dxDrawLine3D (2123.1611328125, -183.26220703125, 33, 2124.5502929688, -178.36087036133, 33, tocolor (0, 255, 255, 255), 20)
  175. dxDrawLine3D (2125.5979003906, -173.37538146973, 33, 2126.2993164063, -168.32946777344, 33, tocolor (0, 255, 255, 255), 20)
  176. dxDrawLine3D (2126.6506347656, -163.24722290039, 33, 2126.6506347656, -158.15283203125, 33, tocolor (0, 255, 255, 255), 20)
  177. dxDrawLine3D (2126.2993164063, -153.07057189941, 33, 2125.5979003906, -148.02467346191, 33, tocolor (0, 255, 255, 255), 20)
  178. dxDrawLine3D (2124.5502929688, -143.03918457033, 33, 2123.1611328125, -138.13784790039, 33, tocolor (0, 255, 255, 255), 20)
  179. dxDrawLine3D (2121.4370117188, -133.34403991699, 33, 2119.3864746094, -128.68058776855, 33, tocolor (0, 255, 255, 255), 20)
  180. dxDrawLine3D (2117.0190429688, -124.16970825195, 33, 2114.3459472656, -119.83293914795, 33, tocolor (0, 255, 255, 255), 20)
  181. dxDrawLine3D (2111.3801269533, -115.69090270996, 33, 2108.1354980469, -111.76336669922, 33, tocolor (0, 255, 255, 255), 20)
  182. dxDrawLine3D (2104.6276855469, -108.06901550293, 33, 2100.8732910156, -104.62548828125, 33, tocolor (0, 255, 255, 255), 20)
  183. dxDrawLine3D (2096.8903808594, -101.44919586182, 33, 2092.6977539063, -98.555236816406, 33, tocolor (0, 255, 255, 255), 20)
  184. dxDrawLine3D (2088.3156738281, -95.957427978516, 33, 2083.7644042969, -93.668144226074, 33, tocolor (0, 255, 255, 255), 20)
  185. dxDrawLine3D (2079.0664062500, -91.698303222656, 33, 2074.2434082033, -90.057296752933, 33, tocolor (0, 255, 255, 255), 20)
  186. dxDrawLine3D (2069.3188476563, -88.752914428711, 33, 2064.3161621094, -87.791397094727, 33, tocolor (0, 255, 255, 255), 20)
  187. dxDrawLine3D (2059.2587890625, -87.177330017090, 33, 2054.1711425781, -86.913627624512, 33, tocolor (0, 255, 255, 255), 20)
  188. dxDrawLine3D (2049.0776367188, -87.001556396484, 33, 2044.0020751953, -87.440689086914, 33, tocolor (0, 255, 255, 255), 20)
  189. dxDrawLine3D (2038.9689941406, -88.228950500488, 33, 2034.0023193359, -89.362556457520, 33, tocolor (0, 255, 255, 255), 20)
  190. dxDrawLine3D (2029.1257324219, -90.836120605469, 33, 2024.3623046875, -92.642631530762, 33, tocolor (0, 255, 255, 255), 20)
  191. dxDrawLine3D (2019.7349853516, -94.773460388184, 33, 2015.2656250000, -97.218452453613, 33, tocolor (0, 255, 255, 255), 20)
  192. dxDrawLine3D (2010.9755859375, -99.965988159180, 33, 2006.8853759766, -103.00292968750, 33, tocolor (0, 255, 255, 255), 20)
  193. dxDrawLine3D (2003.0144042969, -106.31481933594, 33, 1999.3812255859, -109.88591003418, 33, tocolor (0, 255, 255, 255), 20)
  194. dxDrawLine3D (1996.0029296875, -113.69913482666, 33, 1992.8958740234, -117.73633575439, 33, tocolor (0, 255, 255, 255), 20)
  195. dxDrawLine3D (1990.0747070313, -121.97830200195, 33, 1987.5529785156, -126.40476989746, 33, tocolor (0, 255, 255, 255), 20)
  196. dxDrawLine3D (1985.3425292969, -130.99467468262, 33, 1983.4541015625, -135.72616577148, 33, tocolor (0, 255, 255, 255), 20)
  197. dxDrawLine3D (1981.8966064453, -140.57664489746, 33, 1980.6774902344, -145.52301025391, 33, tocolor (0, 255, 255, 255), 20)
  198. dxDrawLine3D (1979.8024902344, -150.54174804688, 33, 1979.2757568359, -155.60885620117, 33, tocolor (0, 255, 255, 255), 20)
  199. dxDrawLine3D (1979.0999755859, -160.69999694824, 36, 1979.2758789063, -165.79136657715, 36, tocolor (0, 255, 255, 255), 20)
  200. dxDrawLine3D (1979.8024902344, -170.85845947266, 36, 1980.6774902344, -175.87715148926, 36, tocolor (0, 255, 255, 255), 20)
  201. dxDrawLine3D (1981.8967285156, -180.82351684570, 36, 1983.4542236328, -185.67399597168, 36, tocolor (0, 255, 255, 255), 20)
  202. dxDrawLine3D (1985.3426513672, -190.40544128418, 36, 1987.5529785156, -194.99534606934, 36, tocolor (0, 255, 255, 255), 20)
  203. dxDrawLine3D (1990.0748291016, -199.42179870605, 36, 1992.8959960938, -203.66374206543, 36, tocolor (0, 255, 255, 255), 20)
  204. dxDrawLine3D (1996.0030517578, -207.70092773438, 36, 1999.3812255859, -211.51414489746, 36, tocolor (0, 255, 255, 255), 20)
  205. dxDrawLine3D (2003.0145263672, -215.08520507813, 36, 2006.8853759766, -218.39709472656, 36, tocolor (0, 255, 255, 255), 20)
  206. dxDrawLine3D (2010.9757080078, -221.43403625488, 36, 2015.2656250000, -224.18154907227, 36, tocolor (0, 255, 255, 255), 20)
  207. dxDrawLine3D (2019.7349853516, -226.62652587891, 36, 2024.3623046875, -228.75735473636, 36, tocolor (0, 255, 255, 255), 20)
  208. dxDrawLine3D (2029.1257324219, -230.56387329102, 36, 2034.0023193359, -232.03742980957, 36, tocolor (0, 255, 255, 255), 20)
  209. dxDrawLine3D (2038.9689941406, -233.17105102539, 36, 2044.0020751953, -233.95928955078, 36, tocolor (0, 255, 255, 255), 20)
  210. dxDrawLine3D (2049.0773925781, -234.39843750000, 36, 2054.1711425781, -234.48635864258, 36, tocolor (0, 255, 255, 255), 20)
  211. dxDrawLine3D (2059.2587890625, -234.22267150879, 36, 2064.3159179688, -233.60861206055, 36, tocolor (0, 255, 255, 255), 20)
  212. dxDrawLine3D (2069.3188476563, -232.64709472656, 36, 2074.2434082036, -231.34274291992, 36, tocolor (0, 255, 255, 255), 20)
  213. dxDrawLine3D (2079.0661621094, -229.70172119141, 36, 2083.7644042969, -227.73187255859, 36, tocolor (0, 255, 255, 255), 20)
  214. dxDrawLine3D (2088.3154296875, -225.44259643555, 36, 2092.6977539063, -222.84478759766, 36, tocolor (0, 255, 255, 255), 20)
  215. dxDrawLine3D (2096.8903808594, -219.95083618164, 36, 2100.8732910156, -216.77453613281, 36, tocolor (0, 255, 255, 255), 20)
  216. dxDrawLine3D (2104.6276855469, -213.33100891113, 36, 2108.1354980469, -209.63667297363, 36, tocolor (0, 255, 255, 255), 20)
  217. dxDrawLine3D (2111.3801269536, -205.70913696289, 36, 2114.3459472656, -201.56710815436, 36, tocolor (0, 255, 255, 255), 20)
  218. dxDrawLine3D (2117.0190429688, -197.23033142090, 36, 2119.3864746094, -192.71946716309, 36, tocolor (0, 255, 255, 255), 20)
  219. dxDrawLine3D (2121.4370117188, -188.05603027344, 36, 2123.1611328125, -183.26220703125, 36, tocolor (0, 255, 255, 255), 20)
  220. dxDrawLine3D (2124.5502929688, -178.36087036136, 36, 2125.5979003906, -173.37538146973, 36, tocolor (0, 255, 255, 255), 20)
  221. dxDrawLine3D (2126.2993164063, -168.32946777344, 36, 2126.6506347656, -163.24722290039, 36, tocolor (0, 255, 255, 255), 20)
  222. dxDrawLine3D (2126.6506347656, -158.15283203125, 36, 2126.2993164063, -153.07057189941, 36, tocolor (0, 255, 255, 255), 20)
  223. dxDrawLine3D (2125.5979003906, -148.02467346191, 36, 2124.5502929688, -143.03918457036, 36, tocolor (0, 255, 255, 255), 20)
  224. dxDrawLine3D (2123.1611328125, -138.13784790039, 36, 2121.4370117188, -133.34403991699, 36, tocolor (0, 255, 255, 255), 20)
  225. dxDrawLine3D (2119.3864746094, -128.68058776855, 36, 2117.0190429688, -124.16970825195, 36, tocolor (0, 255, 255, 255), 20)
  226. dxDrawLine3D (2114.3459472656, -119.83293914795, 36, 2111.3801269536, -115.69090270996, 36, tocolor (0, 255, 255, 255), 20)
  227. dxDrawLine3D (2108.1354980469, -111.76336669922, 36, 2104.6276855469, -108.06901550293, 36, tocolor (0, 255, 255, 255), 20)
  228. dxDrawLine3D (2100.8732910156, -104.62548828125, 36, 2096.8903808594, -101.44919586182, 36, tocolor (0, 255, 255, 255), 20)
  229. dxDrawLine3D (2092.6977539063, -98.555236816406, 36, 2088.3156738281, -95.957427978516, 36, tocolor (0, 255, 255, 255), 20)
  230. dxDrawLine3D (2083.7644042969, -93.668144226074, 36, 2079.0664062500, -91.698303222656, 36, tocolor (0, 255, 255, 255), 20)
  231. dxDrawLine3D (2074.2434082036, -90.057296752936, 36, 2069.3188476563, -88.752914428711, 36, tocolor (0, 255, 255, 255), 20)
  232. dxDrawLine3D (2064.3161621094, -87.791397094727, 36, 2059.2587890625, -87.177330017090, 36, tocolor (0, 255, 255, 255), 20)
  233. dxDrawLine3D (2054.1711425781, -86.913627624512, 36, 2049.0776367188, -87.001556396484, 36, tocolor (0, 255, 255, 255), 20)
  234. dxDrawLine3D (2044.0020751953, -87.440689086914, 36, 2038.9689941406, -88.228950500488, 36, tocolor (0, 255, 255, 255), 20)
  235. dxDrawLine3D (2034.0023193359, -89.362556457520, 36, 2029.1257324219, -90.836120605469, 36, tocolor (0, 255, 255, 255), 20)
  236. dxDrawLine3D (2024.3623046875, -92.642631530762, 36, 2019.7349853516, -94.773460388184, 36, tocolor (0, 255, 255, 255), 20)
  237. dxDrawLine3D (2015.2656250000, -97.218452453613, 36, 2010.9755859375, -99.965988159180, 36, tocolor (0, 255, 255, 255), 20)
  238. dxDrawLine3D (2006.8853759766, -103.00292968750, 36, 2003.0144042969, -106.31481933594, 36, tocolor (0, 255, 255, 255), 20)
  239. dxDrawLine3D (1999.3812255859, -109.88591003418, 36, 1996.0029296875, -113.69913482666, 36, tocolor (0, 255, 255, 255), 20)
  240. dxDrawLine3D (1992.8958740234, -117.73633575439, 36, 1990.0747070313, -121.97830200195, 36, tocolor (0, 255, 255, 255), 20)
  241. dxDrawLine3D (1987.5529785156, -126.40476989746, 36, 1985.3425292969, -130.99467468262, 36, tocolor (0, 255, 255, 255), 20)
  242. dxDrawLine3D (1983.4541015625, -135.72616577148, 36, 1981.8966064453, -140.57664489746, 36, tocolor (0, 255, 255, 255), 20)
  243. dxDrawLine3D (1980.6774902344, -145.52301025391, 36, 1979.8024902344, -150.54174804688, 36, tocolor (0, 255, 255, 255), 20)
  244. dxDrawLine3D (1979.2757568359, -155.60885620117, 36, 1979.0999755859, -160.69999694824, 36, tocolor (0, 255, 255, 255), 20)
  245. dxDrawLine3D (1979.2758789063, -165.79136657715, 36, 1979.8024902344, -170.85845947266, 36, tocolor (0, 255, 255, 255), 20)
  246. dxDrawLine3D (1980.6774902344, -175.87715148926, 36, 1981.8967285156, -180.82351684570, 36, tocolor (0, 255, 255, 255), 20)
  247. dxDrawLine3D (1983.4542236328, -185.67399597168, 36, 1985.3426513672, -190.40544128418, 36, tocolor (0, 255, 255, 255), 20)
  248. dxDrawLine3D (1987.5529785156, -194.99534606934, 36, 1990.0748291016, -199.42179870605, 36, tocolor (0, 255, 255, 255), 20)
  249. dxDrawLine3D (1992.8959960938, -203.66374206543, 36, 1996.0030517578, -207.70092773438, 36, tocolor (0, 255, 255, 255), 20)
  250. dxDrawLine3D (1999.3812255859, -211.51414489746, 36, 2003.0145263672, -215.08520507813, 36, tocolor (0, 255, 255, 255), 20)
  251. dxDrawLine3D (2006.8853759766, -218.39709472656, 36, 2010.9757080078, -221.43403625488, 36, tocolor (0, 255, 255, 255), 20)
  252. dxDrawLine3D (2015.2656250000, -224.18154907227, 36, 2019.7349853516, -226.62652587891, 36, tocolor (0, 255, 255, 255), 20)
  253. dxDrawLine3D (2024.3623046875, -228.75735473636, 36, 2029.1257324219, -230.56387329102, 36, tocolor (0, 255, 255, 255), 20)
  254. dxDrawLine3D (2034.0023193359, -232.03742980957, 36, 2038.9689941406, -233.17105102539, 36, tocolor (0, 255, 255, 255), 20)
  255. dxDrawLine3D (2044.0020751953, -233.95928955078, 36, 2049.0773925781, -234.39843750000, 36, tocolor (0, 255, 255, 255), 20)
  256. dxDrawLine3D (2054.1711425781, -234.48635864258, 36, 2059.2587890625, -234.22267150879, 36, tocolor (0, 255, 255, 255), 20)
  257. dxDrawLine3D (2064.3159179688, -233.60861206055, 36, 2069.3188476563, -232.64709472656, 36, tocolor (0, 255, 255, 255), 20)
  258. dxDrawLine3D (2074.2434082036, -231.34274291992, 36, 2079.0661621094, -229.70172119141, 36, tocolor (0, 255, 255, 255), 20)
  259. dxDrawLine3D (2083.7644042969, -227.73187255859, 36, 2088.3154296875, -225.44259643555, 36, tocolor (0, 255, 255, 255), 20)
  260. dxDrawLine3D (2092.6977539063, -222.84478759766, 36, 2096.8903808594, -219.95083618164, 36, tocolor (0, 255, 255, 255), 20)
  261. dxDrawLine3D (2100.8732910156, -216.77453613281, 36, 2104.6276855469, -213.33100891113, 36, tocolor (0, 255, 255, 255), 20)
  262. dxDrawLine3D (2108.1354980469, -209.63667297363, 36, 2111.3801269536, -205.70913696289, 36, tocolor (0, 255, 255, 255), 20)
  263. dxDrawLine3D (2114.3459472656, -201.56710815436, 36, 2117.0190429688, -197.23033142090, 36, tocolor (0, 255, 255, 255), 20)
  264. dxDrawLine3D (2119.3864746094, -192.71946716309, 36, 2121.4370117188, -188.05603027344, 36, tocolor (0, 255, 255, 255), 20)
  265. dxDrawLine3D (2123.1611328125, -183.26220703125, 36, 2124.5502929688, -178.36087036136, 36, tocolor (0, 255, 255, 255), 20)
  266. dxDrawLine3D (2125.5979003906, -173.37538146973, 36, 2126.2993164063, -168.32946777344, 36, tocolor (0, 255, 255, 255), 20)
  267. dxDrawLine3D (2126.6506347656, -163.24722290039, 36, 2126.6506347656, -158.15283203125, 36, tocolor (0, 255, 255, 255), 20)
  268. dxDrawLine3D (2126.2993164063, -153.07057189941, 36, 2125.5979003906, -148.02467346191, 36, tocolor (0, 255, 255, 255), 20)
  269. dxDrawLine3D (2124.5502929688, -143.03918457036, 36, 2123.1611328125, -138.13784790039, 36, tocolor (0, 255, 255, 255), 20)
  270. dxDrawLine3D (2121.4370117188, -133.34403991699, 36, 2119.3864746094, -128.68058776855, 36, tocolor (0, 255, 255, 255), 20)
  271. dxDrawLine3D (2117.0190429688, -124.16970825195, 36, 2114.3459472656, -119.83293914795, 36, tocolor (0, 255, 255, 255), 20)
  272. dxDrawLine3D (2111.3801269536, -115.69090270996, 36, 2108.1354980469, -111.76336669922, 36, tocolor (0, 255, 255, 255), 20)
  273. dxDrawLine3D (2104.6276855469, -108.06901550293, 36, 2100.8732910156, -104.62548828125, 36, tocolor (0, 255, 255, 255), 20)
  274. dxDrawLine3D (2096.8903808594, -101.44919586182, 36, 2092.6977539063, -98.555236816406, 36, tocolor (0, 255, 255, 255), 20)
  275. dxDrawLine3D (2088.3156738281, -95.957427978516, 36, 2083.7644042969, -93.668144226074, 36, tocolor (0, 255, 255, 255), 20)
  276. dxDrawLine3D (2079.0664062500, -91.698303222656, 36, 2074.2434082036, -90.057296752936, 36, tocolor (0, 255, 255, 255), 20)
  277. dxDrawLine3D (2069.3188476563, -88.752914428711, 36, 2064.3161621094, -87.791397094727, 36, tocolor (0, 255, 255, 255), 20)
  278. dxDrawLine3D (2059.2587890625, -87.177330017090, 36, 2054.1711425781, -86.913627624512, 36, tocolor (0, 255, 255, 255), 20)
  279. dxDrawLine3D (2049.0776367188, -87.001556396484, 36, 2044.0020751953, -87.440689086914, 36, tocolor (0, 255, 255, 255), 20)
  280. dxDrawLine3D (2038.9689941406, -88.228950500488, 36, 2034.0023193359, -89.362556457520, 36, tocolor (0, 255, 255, 255), 20)
  281. dxDrawLine3D (2029.1257324219, -90.836120605469, 36, 2024.3623046875, -92.642631530762, 36, tocolor (0, 255, 255, 255), 20)
  282. dxDrawLine3D (2019.7349853516, -94.773460388184, 36, 2015.2656250000, -97.218452453613, 36, tocolor (0, 255, 255, 255), 20)
  283. dxDrawLine3D (2010.9755859375, -99.965988159180, 36, 2006.8853759766, -103.00292968750, 36, tocolor (0, 255, 255, 255), 20)
  284. dxDrawLine3D (2003.0144042969, -106.31481933594, 36, 1999.3812255859, -109.88591003418, 36, tocolor (0, 255, 255, 255), 20)
  285. dxDrawLine3D (1996.0029296875, -113.69913482666, 36, 1992.8958740234, -117.73633575439, 36, tocolor (0, 255, 255, 255), 20)
  286. dxDrawLine3D (1990.0747070313, -121.97830200195, 36, 1987.5529785156, -126.40476989746, 36, tocolor (0, 255, 255, 255), 20)
  287. dxDrawLine3D (1985.3425292969, -130.99467468262, 36, 1983.4541015625, -135.72616577148, 36, tocolor (0, 255, 255, 255), 20)
  288. dxDrawLine3D (1981.8966064453, -140.57664489746, 36, 1980.6774902344, -145.52301025391, 36, tocolor (0, 255, 255, 255), 20)
  289. dxDrawLine3D (1979.8024902344, -150.54174804688, 36, 1979.2757568359, -155.60885620117, 36, tocolor (0, 255, 255, 255), 20)
  290. end
  291. addEventHandler("onClientRender", getRootElement(), createLine)