Guest User

Untitled

a guest
Apr 20th, 2013
41
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 100.23 KB | None | 0 0
  1. /*
  2.     This filterscript was created by adri1 ( SA-MP Forums Member User ) : ( http://forum.sa-mp.com/member.php?u=106967 )
  3.    
  4.     Incognito's streamer version
  5.    
  6.     Don't remove credit's
  7.  
  8.                                  _______     _______
  9.                         |       |       |   |
  10.                         |       |       |   |
  11.                         |       |       |   |_______
  12.                         |       |       |           |
  13.                         |       |       |           |
  14.                         |______ |_______|    _______|
  15.  
  16.          _______     _______     _           _______     _______     _______
  17.         |           |       |   | \     |       |       |       |   |
  18.         |           |       |   |  \    |       |       |       |   |
  19.         |_______    |_______|   |   \   |       |       |       |   |_______
  20.                 |   |       |   |    \  |       |       |       |           |
  21.                 |   |       |   |     \ |       |       |       |           |
  22.          _______|   |       |   |      \|       |       |_______|    _______|
  23.  
  24.      _______                 _           _______     _______     _______     _______
  25.     |           |       |   | \     |   |           |       |       |       |       |
  26.     |           |       |   |  \    |   |           |       |       |       |       |
  27.     |_______    |       |   |   \   |   |_______    |_______|       |       |_______|
  28.     |           |       |   |    \  |   |           |       |       |       |\
  29.     |           |       |   |     \ |   |           |       |       |       |   \
  30.     |           |_______|   |      \|   |           |       |    ___|___    |      |
  31.  
  32.    
  33. */
  34. #include <a_samp>
  35. #include <streamer>
  36.  
  37. new
  38. //Karts
  39.     Kart_Vehs[9]            ,
  40. //Karts
  41.  
  42. //Quads
  43.     Quad_Vehs[9]            ,
  44. //Quads
  45.  
  46. //Roller
  47.     Roller_Platform         ,
  48.     Roller_Unused[37]       ,
  49.     Roller_Unused2[76]      ,
  50.     Roller_Veh              ,
  51. //Roller
  52.  
  53. //Carousel
  54.     Carousel_Base           ,
  55.     Carousel_Base2          ,
  56.     Carousel_Seats[4]       ,
  57.     Carousel_Unused[12]     ,
  58. //Carousel
  59.  
  60. //Revolution
  61.     Revolution_Base         ,
  62.     Revolution_Base2        ,
  63.     Revolution_Platforms[4] ,
  64.     Revolution_Seats[4]     ,
  65.     Revolution_Statue       ,
  66.     Revolution_Unused[5]    ,
  67. //Revolution
  68.  
  69. //TopGun
  70.     Topgun_Base             ,
  71.     Topgun_Platforms[7]     ,
  72.     Topgun_Unused[24]       ,
  73.     Topgun_Stairs[2]        ,
  74.     bool:stair              ,
  75. //TopGun
  76.  
  77. //TheJail
  78.     Jail_Base               ,
  79.     Jail_BasePlatform       ,
  80.     Jail_Plataforms[29]     ,
  81.     Jail_Doors[2]           ,
  82.     Jail_Unused[4]          ,
  83.     Jail[5]                 ,
  84.     Jail_Base2              ,
  85.     bool:door               ,
  86. //TheJail
  87.  
  88. //Projekt
  89.     Projekt_Base[3]         ,
  90.     Projekt_Platform[3]     ,
  91.     Projekt_Seats[12]       ,
  92.     Projekt_Unused[10]      ,
  93.     SuperProjekt_Base[4]    ,
  94.     Projekt_Letters[5]      ,
  95. //Projekt
  96.  
  97. //Observer
  98.     Observer_Base           ,
  99.     Observer_Seats[2]       ,
  100. //Observer
  101.  
  102. //FerrisWheel
  103.     FerrisWheel_Base        ,
  104.     FerrisWheel_Seats[10]   ,
  105. //FerrisWheel
  106.  
  107. //Cars
  108.     Cars_Base[3]            ,
  109.     Cars_Unused[25]         ,
  110.     Cars_Vehs[4]            ,
  111. //Cars
  112.  
  113. //Caida Libre
  114.     Caida_Base[2]           ,
  115.     Caida_Seats[12]         ,
  116.     Caida_Unused[34]        ,
  117. //Caida Libre
  118.  
  119. //Crazy Cow
  120.     Cow_Seats[4]            ,
  121.     ret = -1
  122. ;
  123. #define BULL_TIME   (30000) //30 seconds
  124. ////Crazy Cow
  125.  
  126. public OnFilterScriptInit()
  127. {
  128.     print("--------------------------");
  129.     print("--- Los Santos Funfair ---");
  130.     print("--- ADRI1 FilterScript ---");
  131.     print("--- FilterScriptLoaded ---");
  132.     print("--------------------------");
  133.     //Karts
  134.     CreateDynamicObject(18765, 986.25751, -1990.19666, 3.31570,   0.00000, 0.00000, 0.00000);
  135.     CreateDynamicObject(18765, 976.25751, -1990.19666, 3.31570,   0.00000, 0.00000, 0.00000);
  136.     CreateDynamicObject(18765, 966.25751, -1990.19666, 3.31570,   0.00000, 0.00000, 0.00000);
  137.     CreateDynamicObject(18765, 986.25751, -2000.19666, 3.31570,   0.00000, 0.00000, 0.00000);
  138.     CreateDynamicObject(18765, 986.25751, -2010.19666, 3.31327,   0.00000, 0.00000, 0.00000);
  139.     CreateDynamicObject(18765, 986.25751, -2020.19666, 3.31570,   0.00000, 0.00000, 0.00000);
  140.     CreateDynamicObject(18765, 976.25751, -2000.19666, 3.31570,   0.00000, 0.00000, 0.00000);
  141.     CreateDynamicObject(18765, 976.25751, -2010.19666, 3.31570,   0.00000, 0.00000, 0.00000);
  142.     CreateDynamicObject(18765, 976.25751, -2020.19666, 3.31570,   0.00000, 0.00000, 0.00000);
  143.     CreateDynamicObject(18765, 966.25751, -2000.19666, 3.31570,   0.00000, 0.00000, 0.00000);
  144.     CreateDynamicObject(18765, 966.25751, -2010.19666, 3.31570,   0.00000, 0.00000, 0.00000);
  145.     CreateDynamicObject(18765, 966.25751, -2020.19666, 3.31570,   0.00000, 0.00000, 0.00000);
  146.     CreateDynamicObject(18765, 976.25751, -1990.19666, -1.59869,   0.00000, 0.00000, 0.00000);
  147.     CreateDynamicObject(18765, 966.25751, -1990.19666, -1.59870,   0.00000, 0.00000, 0.00000);
  148.     CreateDynamicObject(18765, 966.25751, -2000.19666, -1.59870,   0.00000, 0.00000, 0.00000);
  149.     CreateDynamicObject(18765, 966.25751, -2010.19666, -1.59870,   0.00000, 0.00000, 0.00000);
  150.     CreateDynamicObject(18765, 966.25751, -2020.19666, -1.59870,   0.00000, 0.00000, 0.00000);
  151.     CreateDynamicObject(18765, 976.25751, -2020.19666, -1.59870,   0.00000, 0.00000, 0.00000);
  152.     CreateDynamicObject(978, 989.18512, -2002.44910, 6.48500,   0.00000, 0.00000, 90.00000);
  153.     CreateDynamicObject(978, 989.18512, -2011.44910, 6.48500,   0.00000, 0.00000, 90.00000);
  154.     CreateDynamicObject(978, 984.40649, -2016.19604, 6.48500,   0.00000, 0.00000, 0.00000);
  155.     CreateDynamicObject(979, 984.40063, -2006.00903, 6.48500,   0.00000, 0.00000, -90.00000);
  156.     CreateDynamicObject(978, 979.68512, -2011.44910, 6.48500,   0.00000, 0.00000, -90.00000);
  157.     CreateDynamicObject(979, 984.40057, -2006.00903, 6.48500,   0.00000, 0.00000, 90.00000);
  158.     CreateDynamicObject(979, 979.72046, -2001.30835, 6.48500,   0.00000, 0.00000, 180.00000);
  159.     CreateDynamicObject(979, 974.94873, -2006.21753, 6.48500,   0.00000, 0.00000, -90.00000);
  160.     CreateDynamicObject(979, 974.94873, -2015.71753, 6.48500,   0.00000, 0.00000, -90.00000);
  161.     CreateDynamicObject(978, 974.84045, -2023.99561, 6.48500,   0.00000, 0.00000, 0.00000);
  162.     CreateDynamicObject(979, 979.68512, -2019.21753, 6.48500,   0.00000, 0.00000, 90.00000);
  163.     CreateDynamicObject(978, 970.02325, -2019.16553, 6.48500,   0.00000, 0.00000, -90.00000);
  164.     CreateDynamicObject(979, 970.30939, -2009.77966, 6.48500,   0.00000, 0.00000, 180.00000);
  165.     CreateDynamicObject(979, 965.54352, -2014.47925, 6.48500,   0.00000, 0.00000, -90.00000);
  166.     CreateDynamicObject(978, 966.60413, -2023.99561, 6.48500,   0.00000, 0.00000, 0.00000);
  167.     CreateDynamicObject(978, 961.95697, -2019.11511, 6.48500,   0.00000, 0.00000, -90.00000);
  168.     CreateDynamicObject(978, 961.95697, -2009.61511, 6.48500,   0.00000, 0.00000, -90.00000);
  169.     CreateDynamicObject(978, 961.95697, -2000.11511, 6.48500,   0.00000, 0.00000, -90.00000);
  170.     CreateDynamicObject(978, 961.95697, -1990.61511, 6.48500,   0.00000, 0.00000, -90.00000);
  171.     CreateDynamicObject(979, 965.54352, -2009.61511, 6.48500,   0.00000, 0.00000, 90.00000);
  172.     CreateDynamicObject(979, 965.54352, -2000.11511, 6.48500,   0.00000, 0.00000, 90.00000);
  173.     CreateDynamicObject(979, 965.54352, -1994.61511, 6.48500,   0.00000, 0.00000, 90.00000);
  174.     CreateDynamicObject(978, 966.63574, -1985.87036, 6.48500,   0.00000, 0.00000, 180.00000);
  175.     CreateDynamicObject(978, 971.39581, -1990.73413, 6.48500,   0.00000, 0.00000, 90.00000);
  176.     CreateDynamicObject(979, 970.30939, -2001.30835, 6.48500,   0.00000, 0.00000, 0.00000);
  177.     CreateDynamicObject(979, 975.04352, -1996.61511, 6.48500,   0.00000, 0.00000, 90.00000);
  178.     CreateDynamicObject(978, 976.01642, -1985.90137, 6.48500,   0.00000, 0.00000, 180.00000);
  179.     CreateDynamicObject(978, 984.51642, -1985.90137, 6.48500,   0.00000, 0.00000, 180.00000);
  180.     CreateDynamicObject(978, 989.18512, -1991.76025, 6.48500,   0.00000, 0.00000, 90.00000);
  181.     CreateDynamicObject(979, 979.49670, -1991.89783, 6.48500,   0.00000, 0.00000, 0.00000);
  182.     CreateDynamicObject(979, 984.28693, -1996.62146, 6.48500,   0.00000, 0.00000, -90.00000);
  183.  
  184.     Kart_Vehs[0] = CreateVehicle(571, 983.0297, -1999.7695, 6.0669, 0.0000, -1, -1, 100);
  185.     Kart_Vehs[1] = CreateVehicle(571, 981.5297, -1999.7695, 6.0669, 0.0000, -1, -1, 100);
  186.     Kart_Vehs[2] = CreateVehicle(571, 980.0297, -1999.7695, 6.0669, 0.0000, -1, -1, 100);
  187.     Kart_Vehs[3] = CreateVehicle(571, 978.5297, -1999.7695, 6.0669, 0.0000, -1, -1, 100);
  188.     Kart_Vehs[4] = CreateVehicle(571, 977.0297, -1999.7695, 6.0669, 0.0000, -1, -1, 100);
  189.     Kart_Vehs[5] = CreateVehicle(571, 987.9070, -1999.2396, 6.0669, 180.0000, -1, -1, 100);
  190.     Kart_Vehs[6] = CreateVehicle(571, 985.9070, -1999.2396, 6.0669, 180.0000, -1, -1, 100);
  191.     Kart_Vehs[7] = CreateVehicle(571, 985.9070, -1997.2396, 6.0669, 180.0000, -1, -1, 100);
  192.     Kart_Vehs[8] = CreateVehicle(571, 987.9070, -1997.2396, 6.0669, 180.0000, -1, -1, 100);
  193.     for(new i = 0; i != 9; i++) SetVehicleHealth(Kart_Vehs[i], 99999999);
  194.     //Karts
  195.    
  196.     //Quads
  197.     CreateDynamicObject(973, 978.18152, -1937.30115, 4.13970,   0.00000, -14.00000, 0.00000);
  198.     CreateDynamicObject(973, 987.27844, -1937.26526, 6.38287,   0.00000, -14.00000, 0.00000);
  199.     CreateDynamicObject(973, 973.88135, -1941.85059, 2.80475,   0.00000, -2.00000, 90.00000);
  200.     CreateDynamicObject(973, 973.88129, -1951.35059, 2.19532,   0.00000, -3.00000, 90.00000);
  201.     CreateDynamicObject(973, 973.88129, -1960.85059, 1.68635,   0.00000, -3.50000, 90.00000);
  202.     CreateDynamicObject(973, 978.53253, -1965.78027, 2.84011,   0.00000, 15.00000, 180.00000);
  203.     CreateDynamicObject(973, 987.54639, -1966.15564, 5.12711,   0.00000, 15.00000, 180.00000);
  204.     CreateDynamicObject(973, 992.23163, -1961.51367, 6.59243,   0.00000, 2.00000, -90.00000);
  205.     CreateDynamicObject(973, 992.23163, -1952.01367, 6.92406,   0.00000, 2.00000, -90.00000);
  206.     CreateDynamicObject(973, 992.23163, -1942.01367, 7.25504,   0.00000, 2.00000, -90.00000);
  207.  
  208.     Quad_Vehs[0] = CreateVehicle(471, 991.0148, -1940.9045, 6.9977, 0.0000, -1, -1, 100);
  209.     Quad_Vehs[1] = CreateVehicle(471, 991.0148, -1943.9045, 6.9977, 0.0000, -1, -1, 100);
  210.     Quad_Vehs[2] = CreateVehicle(471, 991.0148, -1946.4045, 6.9977, 0.0000, -1, -1, 100);
  211.     Quad_Vehs[3] = CreateVehicle(471, 991.0148, -1948.9045, 6.9977, 0.0000, -1, -1, 100);
  212.     Quad_Vehs[4] = CreateVehicle(471, 991.0148, -1951.4045, 6.9977, 0.0000, -1, -1, 100);
  213.     Quad_Vehs[5] = CreateVehicle(471, 991.0148, -1953.9045, 6.9977, 0.0000, -1, -1, 100);
  214.     Quad_Vehs[6] = CreateVehicle(471, 991.0148, -1956.9045, 6.9977, 0.0000, -1, -1, 100);
  215.     Quad_Vehs[7] = CreateVehicle(471, 991.0148, -1959.9045, 6.9977, 0.0000, -1, -1, 100);
  216.     Quad_Vehs[8] = CreateVehicle(471, 991.0148, -1962.9045, 6.9977, 0.0000, -1, -1, 100);
  217.     for(new i = 0; i != 9; i++) SetVehicleHealth(Quad_Vehs[i], 99999999);
  218.     //Quads
  219.    
  220.     //Roller
  221.     CreateDynamicObject(18765, 939.09448, -1883.77051, 4.98010,   0.00000, 0.00000, 0.00000);
  222.     CreateDynamicObject(18765, 939.09448, -1883.77051, 0.03976,   0.00000, 0.00000, 0.00000);
  223.     CreateDynamicObject(18980, 944.65936, -1881.75574, 15.74265,   0.00000, 0.00000, 0.00000);
  224.     CreateDynamicObject(18980, 948.65942, -1881.75574, 15.74270,   0.00000, 0.00000, 0.00000);
  225.     CreateDynamicObject(18980, 948.65942, -1885.75574, 15.74270,   0.00000, 0.00000, 0.00000);
  226.     CreateDynamicObject(18980, 944.65942, -1885.75574, 15.74270,   0.00000, 0.00000, 0.00000);
  227.     //Roller_Unused[0] = CreateDynamicObject(18763, 946.62622, -1883.74084, 25.56243,   90.00000, 0.00000, 90.00000);
  228.     Roller_Unused[1] = CreateDynamicObject(18763, 951.62622, -1883.74084, 25.56240,   90.00000, 0.00000, 90.00000);
  229.     Roller_Unused[2] = CreateDynamicObject(18763, 956.32819, -1883.74084, 25.13470,   100.00000, 0.00000, 90.00000);
  230.     Roller_Unused[3] = CreateDynamicObject(18763, 960.44019, -1883.74084, 23.63512,   120.00000, 0.00000, 90.00000);
  231.     Roller_Unused[4] = CreateDynamicObject(18763, 963.80621, -1883.74084, 20.79988,   140.00000, 0.00000, 90.00000);
  232.     Roller_Unused[5] = CreateDynamicObject(18763, 967.93018, -1883.74084, 17.34300,   120.00000, 0.00000, 90.00000);
  233.     Roller_Unused[6] = CreateDynamicObject(18763, 965.98218, -1883.74084, 18.73766,   130.00000, 0.00000, 90.00000);
  234.     Roller_Unused[7] = CreateDynamicObject(18763, 972.96222, -1883.74084, 15.50106,   100.00000, 0.00000, 90.00000);
  235.     Roller_Unused[8] = CreateDynamicObject(18763, 970.78619, -1883.74084, 16.09898,   110.00000, 0.00000, 90.00000);
  236.     Roller_Unused[9] = CreateDynamicObject(18763, 977.58618, -1883.74084, 15.10216,   90.00000, 0.00000, 90.00000);
  237.     Roller_Unused[10] = CreateDynamicObject(18763, 982.61823, -1883.74084, 15.10220,   90.00000, 0.00000, 90.00000);
  238.     Roller_Unused[11] = CreateDynamicObject(18763, 986.86383, -1884.44348, 15.10220,   90.00000, 0.00000, 70.00000);
  239.     Roller_Unused[12] = CreateDynamicObject(18763, 990.60205, -1886.58801, 15.10220,   90.00000, 0.00000, 50.00000);
  240.     Roller_Unused[13] = CreateDynamicObject(18763, 993.31451, -1889.81384, 15.10220,   90.00000, 0.00000, 30.00000);
  241.     Roller_Unused[14] = CreateDynamicObject(18763, 994.74469, -1893.89795, 15.10220,   90.00000, 0.00000, 10.00000);
  242.     Roller_Unused[15] = CreateDynamicObject(18763, 994.12146, -1897.51135, 15.10220,   90.00000, 0.00000, -30.00000);
  243.     Roller_Unused[16] = CreateDynamicObject(18763, 991.32495, -1900.82092, 15.10220,   90.00000, 0.00000, -50.00000);
  244.     Roller_Unused[17] = CreateDynamicObject(18763, 987.53528, -1902.99988, 15.10220,   90.00000, 0.00000, -70.00000);
  245.     Roller_Unused[18] = CreateDynamicObject(18763, 983.21869, -1903.72949, 15.10220,   90.00000, 0.00000, 90.00000);
  246.     Roller_Unused[19] = CreateDynamicObject(18763, 978.32269, -1903.72949, 15.10220,   90.00000, 0.00000, 90.00000);
  247.     Roller_Unused[20] = CreateDynamicObject(18763, 973.42670, -1903.72949, 15.10220,   90.00000, 0.00000, 90.00000);
  248.     Roller_Unused[21] = CreateDynamicObject(18763, 968.39471, -1903.72949, 15.10220,   90.00000, 0.00000, 90.00000);
  249.     Roller_Unused[22] = CreateDynamicObject(18763, 963.49872, -1903.72949, 15.10220,   90.00000, 0.00000, 90.00000);
  250.     Roller_Unused[23] = CreateDynamicObject(18763, 958.60272, -1903.72949, 15.10220,   90.00000, 0.00000, 90.00000);
  251.     Roller_Unused[24] = CreateDynamicObject(18763, 953.70673, -1903.72949, 15.10220,   90.00000, 0.00000, 90.00000);
  252.     Roller_Unused[25] = CreateDynamicObject(18763, 948.81073, -1903.72949, 15.10220,   90.00000, 0.00000, 90.00000);
  253.     Roller_Unused[26] = CreateDynamicObject(18763, 943.91467, -1903.72949, 15.10220,   90.00000, 0.00000, 90.00000);
  254.     Roller_Unused[27] = CreateDynamicObject(18763, 939.01868, -1903.72949, 15.10220,   90.00000, 0.00000, 90.00000);
  255.     Roller_Unused[28] = CreateDynamicObject(18763, 938.03302, -1900.17139, 14.74232,   82.00000, 0.00000, 0.00000);
  256.     Roller_Unused[29] = CreateDynamicObject(18763, 938.03870, -1895.61304, 13.68268,   72.00000, 0.00000, 0.00000);
  257.     Roller_Unused[30] = CreateDynamicObject(18763, 938.06989, -1891.73145, 11.68325,   52.00000, 0.00000, 0.00000);
  258.     Roller_Unused[31] = CreateDynamicObject(18763, 938.07275, -1888.41235, 8.57151,   42.00000, 0.00000, 0.00000);
  259.     Roller_Unused[32] = CreateDynamicObject(18763, 938.10522, -1885.92908, 7.40855,   72.00000, 0.00000, 0.00000);
  260.     Roller_Unused[33] = CreateDynamicObject(18763, 938.10016, -1882.81494, 6.53630,   78.00000, 0.00000, 0.00000);
  261.     Roller_Unused[34] = CreateDynamicObject(18763, 938.10022, -1877.91895, 6.02390,   90.00000, 0.00000, 0.00000);
  262.     Roller_Unused[35] = CreateDynamicObject(18763, 941.66687, -1876.93127, 6.02390,   90.00000, 0.00000, 90.00000);
  263.     Roller_Unused[36] = CreateDynamicObject(18763, 942.66663, -1879.69263, 6.02390,   90.00000, 0.00000, 0.00000);
  264.     for(new i = 0; i != 37; i++) SetDynamicObjectMaterial(Roller_Unused[i], 0, 18646, "MatColours", "red", 0xFFFFFF10);
  265.    
  266.     Roller_Unused2[0] = CreateDynamicObject(18762, 951.64813, -1881.76379, 27.10643,   90.00000, 0.00000, 90.00000);
  267.     Roller_Unused2[1] = CreateDynamicObject(18762, 956.51886, -1881.76831, 26.64994,   100.00000, 0.00000, 90.00000);
  268.     Roller_Unused2[2] = CreateDynamicObject(18762, 961.00690, -1881.76831, 25.05888,   120.00000, 0.00000, 90.00000);
  269.     Roller_Unused2[3] = CreateDynamicObject(18762, 964.54291, -1881.76831, 22.05386,   140.00000, 0.00000, 90.00000);
  270.     Roller_Unused2[4] = CreateDynamicObject(18762, 969.43890, -1881.76831, 18.14202,   120.00000, 0.00000, 90.00000);
  271.     Roller_Unused2[5] = CreateDynamicObject(18762, 966.85492, -1881.76831, 19.78080,   130.00000, 0.00000, 90.00000);
  272.     Roller_Unused2[6] = CreateDynamicObject(18762, 971.88690, -1881.76831, 17.27161,   110.00000, 0.00000, 90.00000);
  273.     Roller_Unused2[7] = CreateDynamicObject(18762, 975.01489, -1881.76831, 16.52710,   100.00000, 0.00000, 90.00000);
  274.     Roller_Unused2[8] = CreateDynamicObject(18762, 977.32690, -1881.76831, 16.69397,   90.00000, 0.00000, 90.00000);
  275.     Roller_Unused2[9] = CreateDynamicObject(18762, 982.22290, -1881.76831, 16.69400,   90.00000, 0.00000, 90.00000);
  276.     Roller_Unused2[10] = CreateDynamicObject(18762, 987.41614, -1882.48718, 16.68307,   90.00000, 0.00000, 70.00000);
  277.     Roller_Unused2[11] = CreateDynamicObject(18762, 991.92761, -1885.02759, 16.68310,   90.00000, 0.00000, 50.00000);
  278.     Roller_Unused2[12] = CreateDynamicObject(18762, 995.12799, -1888.74170, 16.68310,   90.00000, 0.00000, 30.00000);
  279.     Roller_Unused2[13] = CreateDynamicObject(18762, 996.81372, -1893.47314, 16.68310,   90.00000, 0.00000, 10.00000);
  280.     Roller_Unused2[14] = CreateDynamicObject(18762, 995.91785, -1898.47717, 16.68310,   90.00000, 0.00000, -30.00000);
  281.     Roller_Unused2[15] = CreateDynamicObject(18762, 992.62354, -1902.33582, 16.68310,   90.00000, 0.00000, -50.00000);
  282.     Roller_Unused2[16] = CreateDynamicObject(18762, 988.24457, -1904.92651, 16.68310,   90.00000, 0.00000, -70.00000);
  283.     Roller_Unused2[17] = CreateDynamicObject(18762, 983.24182, -1905.74182, 16.68310,   90.00000, 0.00000, 90.00000);
  284.     Roller_Unused2[18] = CreateDynamicObject(18762, 978.20978, -1905.74182, 16.68310,   90.00000, 0.00000, 90.00000);
  285.     Roller_Unused2[19] = CreateDynamicObject(18762, 973.31378, -1905.74182, 16.68310,   90.00000, 0.00000, 90.00000);
  286.     Roller_Unused2[20] = CreateDynamicObject(18762, 968.41779, -1905.74182, 16.68310,   90.00000, 0.00000, 90.00000);
  287.     Roller_Unused2[21] = CreateDynamicObject(18762, 963.65778, -1905.74182, 16.68310,   90.00000, 0.00000, 90.00000);
  288.     Roller_Unused2[22] = CreateDynamicObject(18762, 958.76178, -1905.74182, 16.68310,   90.00000, 0.00000, 90.00000);
  289.     Roller_Unused2[23] = CreateDynamicObject(18762, 953.86578, -1905.74182, 16.68310,   90.00000, 0.00000, 90.00000);
  290.     Roller_Unused2[24] = CreateDynamicObject(18762, 949.10577, -1905.74182, 16.68310,   90.00000, 0.00000, 90.00000);
  291.     Roller_Unused2[25] = CreateDynamicObject(18762, 944.20978, -1905.74182, 16.68310,   90.00000, 0.00000, 90.00000);
  292.     Roller_Unused2[26] = CreateDynamicObject(18762, 939.17780, -1905.74182, 16.68310,   90.00000, 0.00000, 90.00000);
  293.     Roller_Unused2[27] = CreateDynamicObject(18762, 936.04132, -1903.72974, 16.68310,   90.00000, 0.00000, 0.00000);
  294.     Roller_Unused2[28] = CreateDynamicObject(18762, 936.04132, -1899.92175, 16.37538,   82.00000, 0.00000, 0.00000);
  295.     Roller_Unused2[29] = CreateDynamicObject(18762, 936.04132, -1895.16174, 15.25594,   72.00000, 0.00000, 0.00000);
  296.     Roller_Unused2[30] = CreateDynamicObject(18762, 936.04132, -1890.94568, 13.05960,   52.00000, 0.00000, 0.00000);
  297.     Roller_Unused2[31] = CreateDynamicObject(18762, 936.04132, -1887.40967, 9.76702,   42.00000, 0.00000, 0.00000);
  298.     Roller_Unused2[32] = CreateDynamicObject(18762, 936.04132, -1884.96167, 8.80804,   72.00000, 0.00000, 0.00000);
  299.     Roller_Unused2[33] = CreateDynamicObject(18762, 936.04132, -1880.88171, 7.76197,   78.00000, 0.00000, 0.00000);
  300.     Roller_Unused2[34] = CreateDynamicObject(18762, 936.04132, -1877.88965, 7.76200,   90.00000, 0.00000, 0.00000);
  301.     Roller_Unused2[35] = CreateDynamicObject(18762, 939.03644, -1874.88184, 7.76200,   90.00000, 0.00000, 90.00000);
  302.     Roller_Unused2[36] = CreateDynamicObject(18762, 941.89240, -1874.88184, 7.76200,   90.00000, 0.00000, 90.00000);
  303.     Roller_Unused2[37] = CreateDynamicObject(18762, 944.67462, -1878.04126, 7.76200,   90.00000, 0.00000, 0.00000);
  304.     Roller_Unused2[38] = CreateDynamicObject(18762, 940.63806, -1878.94751, 5.60867,   0.00000, 0.00000, 90.00000);
  305.     Roller_Unused2[39] = CreateDynamicObject(18762, 940.03802, -1878.93018, 5.60870,   0.00000, 0.00000, 90.00000);
  306.     Roller_Unused2[40] = CreateDynamicObject(18762, 940.63812, -1879.89954, 5.60870,   0.00000, 0.00000, 90.00000);
  307.     Roller_Unused2[41] = CreateDynamicObject(18762, 940.63812, -1880.85144, 5.60870,   0.00000, 0.00000, 90.00000);
  308.     Roller_Unused2[42] = CreateDynamicObject(18762, 940.09204, -1879.91199, 5.60870,   0.00000, 0.00000, 90.00000);
  309.     Roller_Unused2[43] = CreateDynamicObject(18762, 940.15179, -1880.85876, 5.60870,   0.00000, 0.00000, 90.00000);
  310.     Roller_Unused2[44] = CreateDynamicObject(18762, 940.09229, -1880.88171, 7.76200,   78.00000, 0.00000, 0.00000);
  311.     Roller_Unused2[45] = CreateDynamicObject(18762, 940.09229, -1884.96167, 8.80800,   72.00000, 0.00000, 0.00000);
  312.     Roller_Unused2[46] = CreateDynamicObject(18762, 940.09229, -1887.40967, 9.76700,   42.00000, 0.00000, 0.00000);
  313.     Roller_Unused2[47] = CreateDynamicObject(18762, 940.09229, -1890.94568, 13.05960,   52.00000, 0.00000, 0.00000);
  314.     Roller_Unused2[48] = CreateDynamicObject(18762, 940.09229, -1895.16174, 15.25590,   72.00000, 0.00000, 0.00000);
  315.     Roller_Unused2[49] = CreateDynamicObject(18762, 940.09229, -1899.92175, 16.37540,   82.00000, 0.00000, 0.00000);
  316.     Roller_Unused2[50] = CreateDynamicObject(18762, 944.20978, -1901.74353, 16.68310,   90.00000, 0.00000, 90.00000);
  317.     Roller_Unused2[51] = CreateDynamicObject(18762, 949.10577, -1901.74353, 16.68310,   90.00000, 0.00000, 90.00000);
  318.     Roller_Unused2[52] = CreateDynamicObject(18762, 953.86578, -1901.74353, 16.68310,   90.00000, 0.00000, 90.00000);
  319.     Roller_Unused2[53] = CreateDynamicObject(18762, 958.76178, -1901.74353, 16.68310,   90.00000, 0.00000, 90.00000);
  320.     Roller_Unused2[54] = CreateDynamicObject(18762, 963.65778, -1901.74353, 16.68310,   90.00000, 0.00000, 90.00000);
  321.     Roller_Unused2[55] = CreateDynamicObject(18762, 968.41779, -1901.74353, 16.68310,   90.00000, 0.00000, 90.00000);
  322.     Roller_Unused2[56] = CreateDynamicObject(18762, 973.31378, -1901.74353, 16.68310,   90.00000, 0.00000, 90.00000);
  323.     Roller_Unused2[57] = CreateDynamicObject(18762, 978.20978, -1901.74353, 16.68310,   90.00000, 0.00000, 90.00000);
  324.     Roller_Unused2[58] = CreateDynamicObject(18762, 983.24182, -1901.74353, 16.68310,   90.00000, 0.00000, 90.00000);
  325.     //Roller_Unused2[59] = CreateDynamicObject(18762, 986.83881, -1901.13696, 16.68310,   90.00000, 0.00000, -70.00000);
  326.     //Roller_Unused2[60] = CreateDynamicObject(18762, 989.81622, -1899.42200, 16.68310,   90.00000, 0.00000, -50.00000);
  327.     //Roller_Unused2[61] = CreateDynamicObject(18762, 992.26324, -1896.78784, 16.68310,   90.00000, 0.00000, -30.00000);
  328.     //Roller_Unused2[62] = CreateDynamicObject(18762, 992.73187, -1893.12891, 16.68310,   90.00000, 0.00000, 10.00000);
  329.     //Roller_Unused2[63] = CreateDynamicObject(18762, 991.54510, -1890.59839, 16.68310,   90.00000, 0.00000, 30.00000);
  330.     //Roller_Unused2[64] = CreateDynamicObject(18762, 989.40851, -1888.33936, 16.68310,   90.00000, 0.00000, 50.00000);
  331.     //Roller_Unused2[65] = CreateDynamicObject(18762, 986.31360, -1886.46533, 16.68307,   90.00000, 0.00000, 70.00000);
  332.     Roller_Unused2[66] = CreateDynamicObject(18762, 982.22290, -1885.71228, 16.69400,   90.00000, 0.00000, 90.00000);
  333.     Roller_Unused2[67] = CreateDynamicObject(18762, 977.32690, -1885.71228, 16.69400,   90.00000, 0.00000, 90.00000);
  334.     Roller_Unused2[68] = CreateDynamicObject(18762, 975.01489, -1885.71228, 16.52710,   100.00000, 0.00000, 90.00000);
  335.     Roller_Unused2[69] = CreateDynamicObject(18762, 971.88690, -1885.71228, 17.27160,   110.00000, 0.00000, 90.00000);
  336.     Roller_Unused2[70] = CreateDynamicObject(18762, 969.43890, -1885.71228, 18.14200,   120.00000, 0.00000, 90.00000);
  337.     Roller_Unused2[71] = CreateDynamicObject(18762, 966.85492, -1885.71228, 19.78080,   130.00000, 0.00000, 90.00000);
  338.     Roller_Unused2[72] = CreateDynamicObject(18762, 964.54291, -1885.71228, 22.05390,   140.00000, 0.00000, 90.00000);
  339.     Roller_Unused2[73] = CreateDynamicObject(18762, 961.00690, -1885.71228, 25.05890,   120.00000, 0.00000, 90.00000);
  340.     Roller_Unused2[74] = CreateDynamicObject(18762, 956.51892, -1885.71228, 26.64990,   100.00000, 0.00000, 90.00000);
  341.     Roller_Unused2[75] = CreateDynamicObject(18762, 951.64807, -1885.71228, 27.10640,   90.00000, 0.00000, 90.00000);
  342.     for(new i = 0; i != 76; i++) SetDynamicObjectMaterial(Roller_Unused2[i], 0, 18646, "MatColours", "samporange");
  343.    
  344.     Roller_Platform = CreateDynamicObject(18763, 946.62622, -1883.74084, 5.97849,   90.00000, 0.00000, 90.00000);
  345.     SetDynamicObjectMaterial(Roller_Platform, 0, 18646, "MatColours", "red", 0xFFFFFF10);
  346.     Roller_Veh = CreateVehicle(539, 942.7711, -1877.6741, 7.8697, 180.0000, -1, -1, 100);
  347.     SetVehicleHealth(Roller_Veh, 99999999);
  348.    
  349.     CreateDynamicObject(18762, 987.41614, -1882.48718, 17.69363,   90.00000, 0.00000, 70.00000);
  350.     CreateDynamicObject(18762, 991.92761, -1885.02759, 17.69360,   90.00000, 0.00000, 50.00000);
  351.     CreateDynamicObject(18762, 995.12799, -1888.74170, 17.69360,   90.00000, 0.00000, 30.00000);
  352.     CreateDynamicObject(18762, 996.81372, -1893.47314, 17.69360,   90.00000, 0.00000, 10.00000);
  353.     CreateDynamicObject(18762, 995.91779, -1898.47717, 17.69360,   90.00000, 0.00000, -30.00000);
  354.     CreateDynamicObject(18762, 992.62347, -1902.33582, 17.69360,   90.00000, 0.00000, -50.00000);
  355.     CreateDynamicObject(18762, 988.24463, -1904.92651, 17.69360,   90.00000, 0.00000, -70.00000);
  356.     CreateDynamicObject(18762, 983.24182, -1905.74182, 17.69360,   90.00000, 0.00000, 90.00000);
  357.    
  358.     CreateDynamicObject(18980, 951.28955, -1883.38281, 14.14821,   0.00000, 0.00000, 0.00000);
  359.     CreateDynamicObject(18980, 959.28961, -1883.38281, 12.90271,   0.00000, 0.00000, 0.00000);
  360.     CreateDynamicObject(18980, 969.28961, -1883.38281, 5.15340,   0.00000, 0.00000, 0.00000);
  361.     CreateDynamicObject(18980, 983.28961, -1883.38281, 3.93727,   0.00000, 0.00000, 0.00000);
  362.     CreateDynamicObject(18980, 994.28961, -1894.38281, 3.75210,   0.00000, 0.00000, 0.00000);
  363.     CreateDynamicObject(18980, 990.01013, -1884.97156, 3.75210,   0.00000, 0.00000, 0.00000);
  364.     CreateDynamicObject(18980, 988.83362, -1901.39954, 3.75210,   0.00000, 0.00000, 0.00000);
  365.     CreateDynamicObject(18980, 982.84314, -1904.01978, 3.50621,   0.00000, 0.00000, 0.00000);
  366.     CreateDynamicObject(18980, 971.34308, -1904.01978, 3.50620,   0.00000, 0.00000, 0.00000);
  367.     CreateDynamicObject(18980, 957.34308, -1904.01978, 3.50620,   0.00000, 0.00000, 0.00000);
  368.     CreateDynamicObject(18980, 937.84308, -1904.01978, 3.50620,   0.00000, 0.00000, 0.00000);
  369.     CreateDynamicObject(18980, 937.84308, -1896.01978, -0.03330,   0.00000, 0.00000, 0.00000);
  370.  
  371.     //Roller
  372.    
  373.     //Carousel
  374.     Carousel_Unused[0] = CreateDynamicObject(18765, 907.59454, -1876.77051, 4.98010,   0.00000, 0.00000, 0.00000);
  375.     Carousel_Unused[1] = CreateDynamicObject(18765, 897.59448, -1876.77051, 4.98010,   0.00000, 0.00000, 0.00000);
  376.     Carousel_Unused[2] = CreateDynamicObject(18765, 917.59448, -1876.77051, 4.98010,   0.00000, 0.00000, 0.00000);
  377.     Carousel_Unused[3] = CreateDynamicObject(18765, 907.59448, -1886.77051, 4.98010,   0.00000, 0.00000, 0.00000);
  378.     Carousel_Unused[4] = CreateDynamicObject(18765, 917.59448, -1886.77051, 4.98010,   0.00000, 0.00000, 0.00000);
  379.     Carousel_Unused[5] = CreateDynamicObject(18765, 897.59448, -1886.77051, 4.98010,   0.00000, 0.00000, 0.00000);
  380.     Carousel_Unused[6] = CreateDynamicObject(18765, 917.59448, -1866.77051, 4.98010,   0.00000, 0.00000, 0.00000);
  381.     Carousel_Unused[7] = CreateDynamicObject(18765, 907.59448, -1866.77051, 4.98010,   0.00000, 0.00000, 0.00000);
  382.     Carousel_Unused[8] = CreateDynamicObject(18765, 897.59448, -1866.77051, 4.98010,   0.00000, 0.00000, 0.00000);
  383.     Carousel_Unused[9] = CreateDynamicObject(18765, 897.59448, -1886.77051, 0.02220,   0.00000, 0.00000, 0.00000);
  384.     Carousel_Unused[10] = CreateDynamicObject(18765, 907.59448, -1886.77051, 0.02220,   0.00000, 0.00000, 0.00000);
  385.     Carousel_Unused[11] = CreateDynamicObject(18765, 917.59448, -1886.77051, 0.02220,   0.00000, 0.00000, 0.00000);
  386.     for(new i = 0; i != 12; i++) SetDynamicObjectMaterial(Carousel_Unused[i], 0, 18646, "MatColours", "green");
  387.  
  388.     Carousel_Base = CreateObject(19278, 907.63007, -1877.14453, -35.72582,   0.00000, 0.00000, 0.00000);
  389.     Carousel_Base2 = CreateObject(19278, 907.63007, -1877.14453, -41.37026,   0.00000, 0.00000, 0.00000);
  390.     AttachObjectToObject(Carousel_Base2, Carousel_Base, 0, 0, -5.6445, 0, 0, 0);
  391.    
  392.     Carousel_Seats[0] = CreateObject(16442, 908.34973, -1872.45020, 10.02538,   0.00000, 0.00000, 0.00000);
  393.     AttachObjectToObject(Carousel_Seats[0], Carousel_Base, 0.7196, 4.6943, 45.7512, 0, 0, 0);
  394.     Carousel_Seats[1] = CreateObject(16442, 908.34967, -1881.45020, 10.02540,   0.00000, 0.00000, 180.00000);
  395.     AttachObjectToObject(Carousel_Seats[1], Carousel_Base, -0.7196, -4.6943, 45.7512, 0, 0, 180);
  396.     Carousel_Seats[2] = CreateObject(16442, 912.34967, -1876.95020, 10.02540,   0.00000, 0.00000, -90.00000);
  397.     AttachObjectToObject(Carousel_Seats[2], Carousel_Base, 4.6943, 0.7196, 45.7512, 0, 0, -90);
  398.     Carousel_Seats[3] = CreateObject(16442, 902.84967, -1876.95020, 10.02540,   0.00000, 0.00000, 90.00000);
  399.     AttachObjectToObject(Carousel_Seats[3], Carousel_Base, -4.6943, -0.7196, 45.7512, 0, 0, 90);
  400.     //Carousel
  401.    
  402.     //Revolution
  403.     CreateDynamicObject(19128, 875.96594, -1867.31836, 7.53690,   0.00000, 0.00000, 0.00000);
  404.     CreateDynamicObject(19128, 865.89386, -1876.91614, 7.53690,   0.00000, 0.00000, 0.00000);
  405.     CreateDynamicObject(19128, 875.91583, -1886.70874, 7.53690,   0.00000, 0.00000, 0.00000);
  406.     CreateDynamicObject(19128, 885.87018, -1877.04871, 7.53690,   0.00000, 0.00000, 0.00000);
  407.  
  408.     Revolution_Unused[0] = CreateDynamicObject(18765, 875.91437, -1876.93079, 4.98012,   0.00000, 0.00000, 0.00000);
  409.     Revolution_Unused[1] = CreateDynamicObject(18765, 875.90234, -1886.87134, 4.98010,   0.00000, 0.00000, 0.00000);
  410.     Revolution_Unused[2] = CreateDynamicObject(18765, 875.91443, -1866.93079, 4.98010,   0.00000, 0.00000, 0.00000);
  411.     Revolution_Unused[3] = CreateDynamicObject(18765, 885.91443, -1876.93079, 4.98010,   0.00000, 0.00000, 0.00000);
  412.     Revolution_Unused[4] = CreateDynamicObject(18765, 865.91443, -1876.93079, 4.98010,   0.00000, 0.00000, 0.00000);
  413.     CreateDynamicObject(18765, 875.90234, -1886.87134, 0.10408,   0.00000, 0.00000, 0.00000);
  414.     for(new i = 0; i != 5; i++) SetDynamicObjectMaterial(Revolution_Unused[i], 0, 18646, "MatColours", "red");
  415.     CreateDynamicObject(18764, 875.9321,  -1876.9152,  5.8495,   0.00000, 0.00000, 0.00000);
  416.  
  417.     Revolution_Base = CreateObject(13649, 875.91345, -1877.00439, 8.06837,   0.00000, 0.00000, 0.00000);
  418.     Revolution_Base2 = CreateObject(13649, 875.91345, -1877.00439, 9.22711,   0.00000, 0.00000, 0.00000);
  419.     AttachObjectToObject(Revolution_Base2, Revolution_Base, 0, 0, 1.1587, 0, 0, 0);
  420.  
  421.     Revolution_Statue = CreateObject(14467, 876.17511, -1877.41479, 11.85857,   0.00000, 0.00000, 0.00000);
  422.     AttachObjectToObject(Revolution_Statue, Revolution_Base, 0.2616, -0.4104, 3.7902, 0, 0, 0);
  423.  
  424.     Revolution_Platforms[0] = CreateObject(1232, 875.99805, -1881.88306, 8.63261,   103.00000, 0.00000, 0.00000);
  425.     AttachObjectToObject(Revolution_Platforms[0], Revolution_Base, 0.0845, -4.8787, 0.5945, 103, 0, 0);
  426.     Revolution_Platforms[1] = CreateObject(1232, 871.03119, -1876.95117, 8.63260,   103.00000, 0.00000, -90.00000);
  427.     AttachObjectToObject(Revolution_Platforms[1], Revolution_Base, -4.8787, 0.0845, 0.5945, 103, 0, -90);
  428.     Revolution_Platforms[2] = CreateObject(1232, 875.99799, -1871.88306, 8.63260,   103.00000, 0.00000, 180.00000);
  429.     AttachObjectToObject(Revolution_Platforms[2], Revolution_Base, -0.0845, 4.8787, 0.5945, 103, 0, 180);
  430.     Revolution_Platforms[3] = CreateObject(1232, 881.03119, -1876.95117, 8.63260,   103.00000, 0.00000, 90.00000);
  431.     AttachObjectToObject(Revolution_Platforms[3], Revolution_Base, 4.8787, -0.0845, 0.5945, 103, 0, 90);
  432.    
  433.     Revolution_Seats[0] = CreateObject(1562, 875.53699, -1884.53552, 8.31260,   0.00000, -15.00000, -90.00000);
  434.     AttachObjectToObject(Revolution_Seats[0], Revolution_Base, -0.3765, -7.5311, 0.5, 0, -15, -90);
  435.     Revolution_Seats[1] = CreateObject(1562, 868.39508, -1876.50562, 8.31260,   0.00000, -15.00000, 180.00000);
  436.     AttachObjectToObject(Revolution_Seats[1], Revolution_Base, -7.5311, 0.3765, 0.5, 0, -15, 180);
  437.     Revolution_Seats[2] = CreateObject(1562, 876.43402, -1869.29211, 8.31260,   0.00000, -15.00000, 90.00000);
  438.     AttachObjectToObject(Revolution_Seats[2], Revolution_Base, 0.3765, 7.5311, 0.5, 0, -15, 90);
  439.     Revolution_Seats[3] = CreateObject(1562, 883.71088, -1877.38330, 8.31260,   0.00000, -15.00000, 0.00000);
  440.     AttachObjectToObject(Revolution_Seats[3], Revolution_Base, 7.5311, -0.3765, 0.5, 0, -15, 0);
  441.     //Revolution
  442.    
  443.     //TopGun
  444.     CreateDynamicObject(982, 834.34, -1888.07, 12.56,   0.00, 0.00, 0.00);
  445.     CreateDynamicObject(984, 842.77, -1904.43, 12.56,   0.00, 0.00, 90.00);
  446.     CreateDynamicObject(982, 834.34, -1888.07, 12.56,   0.00, 0.00, 180.00);
  447.     CreateDynamicObject(984, 842.77, -1904.43, 12.56,   0.00, 0.00, -90.00);
  448.     CreateDynamicObject(984, 842.77, -1870.93, 12.56,   0.00, 0.00, -90.00);
  449.     CreateDynamicObject(984, 842.77, -1870.93, 12.56,   0.00, 0.00, 90.00);
  450.     CreateDynamicObject(982, 850.84, -1888.07, 12.56,   0.00, 0.00, 180.00);
  451.     CreateDynamicObject(982, 850.84, -1888.07, 12.56,   0.00, 0.00, 0.00);
  452.     CreateDynamicObject(19425, 836.49, -1876.91, 11.86,   0.00, 0.00, 90.00);
  453.     CreateDynamicObject(19425, 836.49, -1880.91, 11.86,   0.00, 0.00, 90.00);
  454.     CreateDynamicObject(19425, 836.49, -1884.91, 11.86,   0.00, 0.00, 90.00);
  455.     CreateDynamicObject(19425, 836.49, -1888.91, 11.86,   0.00, 0.00, 90.00);
  456.     CreateDynamicObject(19425, 836.49, -1892.91, 11.86,   0.00, 0.00, 90.00);
  457.     CreateDynamicObject(19425, 836.49, -1896.91, 11.86,   0.00, 0.00, 90.00);
  458.     CreateDynamicObject(19425, 836.49, -1900.91, 11.86,   0.00, 0.00, 90.00);
  459.     Topgun_Stairs[0] = CreateDynamicObject(8614, 838.82, -1880.40, 14.40,   0.00, 0.00, -90.00);
  460.     Topgun_Stairs[1] = CreateDynamicObject(8614, 845.65, -1896.19, 14.40,   0.00, 0.00, 90.00);
  461.     stair = false;
  462.  
  463.     Topgun_Unused[0] = CreateDynamicObject(18762, 843.56, -1874.58, 28.09,   0.00, 0.00, 0.00);
  464.     Topgun_Unused[1] = CreateDynamicObject(18762, 842.56, -1874.58, 28.09,   0.00, 0.00, 0.00);
  465.     Topgun_Unused[2] = CreateDynamicObject(18762, 841.56, -1874.58, 28.09,   0.00, 0.00, 0.00);
  466.     Topgun_Unused[3] = CreateDynamicObject(18762, 841.56, -1874.58, 23.09,   0.00, 0.00, 0.00);
  467.     Topgun_Unused[4] = CreateDynamicObject(18762, 841.56, -1874.58, 18.09,   0.00, 0.00, 0.00);
  468.     Topgun_Unused[5] = CreateDynamicObject(18762, 841.56, -1874.58, 13.09,   0.00, 0.00, 0.00);
  469.     Topgun_Unused[6] = CreateDynamicObject(18762, 842.56, -1874.58, 23.09,   0.00, 0.00, 0.00);
  470.     Topgun_Unused[7] = CreateDynamicObject(18762, 842.56, -1874.58, 18.09,   0.00, 0.00, 0.00);
  471.     Topgun_Unused[8] = CreateDynamicObject(18762, 842.55, -1874.60, 13.09,   0.00, 0.00, 0.00);
  472.     Topgun_Unused[9] = CreateDynamicObject(18762, 843.56, -1874.58, 23.09,   0.00, 0.00, 0.00);
  473.     Topgun_Unused[10] = CreateDynamicObject(18762, 843.56, -1874.58, 18.09,   0.00, 0.00, 0.00);
  474.     Topgun_Unused[11] = CreateDynamicObject(18762, 843.56, -1874.58, 13.09,   0.00, 0.00, 0.00);
  475.     Topgun_Unused[12] = CreateDynamicObject(18762, 841.56, -1901.94, 28.09,   0.00, 0.00, 0.00);
  476.     Topgun_Unused[13] = CreateDynamicObject(18762, 842.56, -1901.94, 28.09,   0.00, 0.00, 0.00);
  477.     Topgun_Unused[14] = CreateDynamicObject(18762, 843.56, -1901.94, 28.09,   0.00, 0.00, 0.00);
  478.     Topgun_Unused[15] = CreateDynamicObject(18762, 843.56, -1901.94, 23.09,   0.00, 0.00, 0.00);
  479.     Topgun_Unused[16] = CreateDynamicObject(18762, 842.56, -1901.94, 23.09,   0.00, 0.00, 0.00);
  480.     Topgun_Unused[17] = CreateDynamicObject(18762, 841.56, -1901.94, 23.09,   0.00, 0.00, 0.00);
  481.     Topgun_Unused[18] = CreateDynamicObject(18762, 843.56, -1901.94, 18.09,   0.00, 0.00, 0.00);
  482.     Topgun_Unused[19] = CreateDynamicObject(18762, 842.56, -1901.94, 18.09,   0.00, 0.00, 0.00);
  483.     Topgun_Unused[20] = CreateDynamicObject(18762, 841.56, -1901.94, 18.09,   0.00, 0.00, 0.00);
  484.     Topgun_Unused[21] = CreateDynamicObject(18762, 841.56, -1901.94, 13.09,   0.00, 0.00, 0.00);
  485.     Topgun_Unused[22] = CreateDynamicObject(18762, 842.55, -1901.94, 13.09,   0.00, 0.00, 0.00);
  486.     Topgun_Unused[23] = CreateDynamicObject(18762, 843.56, -1901.94, 13.09,   0.00, 0.00, 0.00);
  487.     for(new i = 0; i != 24; i++) SetDynamicObjectMaterial(Topgun_Unused[i], 0, 18646, "MatColours", "samporange");
  488.  
  489.     Topgun_Base = CreateObject(18980, 842.24, -1888.27, 28.39,   0.00, 90.00, 90.00);
  490.     SetObjectMaterial(Topgun_Base, 0, 18646, "MatColours", "blue");
  491.  
  492.     Topgun_Platforms[0] = CreateObject(18980, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00);
  493.     SetObjectMaterial(Topgun_Platforms[0], 0, 18646, "MatColours", "yellow");
  494.     AttachObjectToObject(Topgun_Platforms[0], Topgun_Base, 1.23, 0.53, -12.56, 0.0000, -90.0000, 0.0000);
  495.  
  496.     Topgun_Platforms[1] = CreateObject(18980, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00);
  497.     SetObjectMaterial(Topgun_Platforms[1], 0, 18646, "MatColours", "yellow");
  498.     AttachObjectToObject(Topgun_Platforms[1], Topgun_Base, 1.23, -0.47, -12.56, 0.0000, -90.0000, 0.0000);
  499.  
  500.     Topgun_Platforms[2] = CreateObject(18980, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00);
  501.     SetObjectMaterial(Topgun_Platforms[2], 0, 18646, "MatColours", "yellow");
  502.     AttachObjectToObject(Topgun_Platforms[2], Topgun_Base, 1.23, -0.47, 12.44, 0.0000, -90.0000, 0.0000);
  503.  
  504.     Topgun_Platforms[3] = CreateObject(18980, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00);
  505.     SetObjectMaterial(Topgun_Platforms[3], 0, 18646, "MatColours", "yellow");
  506.     AttachObjectToObject(Topgun_Platforms[3], Topgun_Base, 1.23, 0.53, 12.44, 0.0000, -90.0000, 0.0000);
  507.  
  508.     Topgun_Platforms[4] = CreateObject(18766, 0.00, 0.00, 0.00,   90.00, 0.00, 90.00);
  509.     SetObjectMaterial(Topgun_Platforms[4], 0, 18646, "MatColours", "redlaser");
  510.     AttachObjectToObject(Topgun_Platforms[4], Topgun_Base, 13.24, 0, -3.03, 0.00, 90.00, 90.00, 0);
  511.                                               // z   x   y
  512.     Topgun_Platforms[5] = CreateObject(18766, 0.00, 0.00, 0.00,   90.00, 0.00, 90.00);
  513.     SetObjectMaterial(Topgun_Platforms[5], 0, 18646, "MatColours", "redlaser");
  514.     AttachObjectToObject(Topgun_Platforms[5], Topgun_Base, 13.24, 0, -7.03, 0.00, 90.00, 90.00, 0);
  515.  
  516.     Topgun_Platforms[6] = CreateObject(18766, 0.00, 0.00, 0.00,   90.00, 0.00, 90.00);
  517.     SetObjectMaterial(Topgun_Platforms[6], 0, 18646, "MatColours", "redlaser");
  518.     AttachObjectToObject(Topgun_Platforms[6], Topgun_Base, 13.24, 0, 6.97, 0.00, 90.00, 90.00, 0);
  519.     //TopGun
  520.    
  521.     //TheJail
  522.     CreateDynamicObject(19128, 840.91, -2064.93, 13.59,   -90.00, 0.00, 0.00);
  523.     CreateDynamicObject(19128, 841.91, -2064.95, 12.59,   -90.00, 0.00, 0.00);
  524.     CreateDynamicObject(19128, 842.91, -2064.97, 11.59,   -90.00, 0.00, 0.00);
  525.     CreateDynamicObject(19128, 834.41, -2064.93, 13.59,   -90.00, 0.00, 0.00);
  526.     CreateDynamicObject(19128, 833.41, -2064.95, 12.59,   -90.00, 0.00, 0.00);
  527.     CreateDynamicObject(19128, 832.41, -2064.96, 11.59,   -90.00, 0.00, 0.00);
  528.  
  529.  
  530.     Jail_Base2 = CreateDynamicObject(18878, 837.54, -2060.57, 27.11,   0.00, 0.00, 0.00);
  531.     SetDynamicObjectMaterial(Jail_Base2, 3, 0, "MatColours", "samporange");
  532.  
  533.     Jail_Unused[0] = CreateDynamicObject(18980, 838.52, -2064.80, 18.93,   0.00, 0.00, 0.00);
  534.     Jail_Unused[1] = CreateDynamicObject(18980, 837.52, -2064.80, 18.93,   0.00, 0.00, 0.00);
  535.     Jail_Unused[2] = CreateDynamicObject(18980, 836.52, -2064.80, 18.93,   0.00, 0.00, 0.00);
  536.     SetDynamicObjectMaterial(Jail_Unused[0], 0, 18646, "MatColours", "samporange");
  537.     SetDynamicObjectMaterial(Jail_Unused[1], 0, 18646, "MatColours", "red");
  538.     SetDynamicObjectMaterial(Jail_Unused[2], 0, 18646, "MatColours", "samporange");
  539.     Jail_Base = CreateObject(18980, 837.52, -2063.30, 26.06,   0.00, 0.00, 0.00);
  540.     SetObjectMaterial(Jail_Base, 0, 18646, "MatColours", "red-2");
  541.  
  542.     Jail[0] = CreateObject(19353, 0.00, 0.00, 0.00, 0.0000, 0.0000, 0);
  543.     SetObjectMaterialText(Jail[0], "J", 0, 10, "Impact", 29, 0, -1, 0, 1);
  544.     AttachObjectToObject(Jail[0], Jail_Base, -0.0307, 0.4546, 5.24, 0, 0, 90, 1);
  545.  
  546.     Jail[1] = CreateObject(19353, 0.00, 0.00, 0.00, 0.0000, 0.0000, 0);
  547.     SetObjectMaterialText(Jail[1], "A", 0, 10, "Impact", 29, 0, -1, 0, 1);
  548.     AttachObjectToObject(Jail[1], Jail_Base, -0.0307, 0.4546, 5.24-3, 0, 0, 90, 1);
  549.  
  550.     Jail[2] = CreateObject(19353, 0.00, 0.00, 0.00, 0.0000, 0.0000, 0);
  551.     SetObjectMaterialText(Jail[2], "I", 0, 10, "Impact", 29, 0, -1, 0, 1);
  552.     AttachObjectToObject(Jail[2], Jail_Base, -0.0307, 0.4546, 5.24-6, 0, 0, 90, 1);
  553.  
  554.     Jail[3] = CreateObject(19353, 0.00, 0.00, 0.00, 0.0000, 0.0000, 0);
  555.     SetObjectMaterialText(Jail[3], "L", 0, 10, "Impact", 29, 0, -1, 0, 1);
  556.     AttachObjectToObject(Jail[3], Jail_Base, -0.0307, 0.4546, 5.24-9, 0, 0, 90, 1);
  557.  
  558.     Jail[4] = CreateObject(19353, 837.4500, -2064.3171, 22.0772, 0.0000, 0.0000, 90);
  559.     SetObjectMaterialText(Jail[4], "The Jail", 0, 140, "Arial Black", 90, 0, -16468988, 0, 1);
  560.  
  561.     Jail_BasePlatform = CreateObject(19304, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00);
  562.     AttachObjectToObject(Jail_BasePlatform, Jail_Base, 0, 0.5104, -10.198, 0, 0, 0, 0);
  563.  
  564.     Jail_Plataforms[0] = CreateObject(19304, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00);
  565.     Jail_Plataforms[1] = CreateObject(19304, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00);
  566.     Jail_Plataforms[2] = CreateObject(19304, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00);
  567.     Jail_Plataforms[3] = CreateObject(19304, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00);
  568.     Jail_Plataforms[4] = CreateObject(19304, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00);
  569.     Jail_Plataforms[5] = CreateObject(19304, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00);
  570.     AttachObjectToObject(Jail_Plataforms[0], Jail_BasePlatform, 3.5, 0, 0, 0, 0, 0, 1);
  571.     AttachObjectToObject(Jail_Plataforms[1], Jail_BasePlatform, -3.5, 0, 0, 0, 0, 0, 1);
  572.     AttachObjectToObject(Jail_Plataforms[2], Jail_BasePlatform, 5.2415, 1.7112, 0, 0, 0, 90, 1);
  573.     AttachObjectToObject(Jail_Plataforms[3], Jail_BasePlatform, -5.2415, 1.7112, 0, 0, 0, 90, 1);
  574.     AttachObjectToObject(Jail_Plataforms[4], Jail_BasePlatform, 3.5, 3.5, 0, 0, 0, 0, 1);
  575.     AttachObjectToObject(Jail_Plataforms[5], Jail_BasePlatform, -3.5, 3.5, 0, 0, 0, 0, 1);
  576.     //
  577.     Jail_Plataforms[6] = CreateObject(19304, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00);
  578.     Jail_Plataforms[7] = CreateObject(19304, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00);
  579.     Jail_Plataforms[8] = CreateObject(19304, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00);
  580.     Jail_Plataforms[9] = CreateObject(19304, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00);
  581.     Jail_Plataforms[10] = CreateObject(19304, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00);
  582.     Jail_Plataforms[11] = CreateObject(19304, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00);
  583.     Jail_Plataforms[12] = CreateObject(19304, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00);
  584.     AttachObjectToObject(Jail_Plataforms[6], Jail_BasePlatform, 3.5, 0, -1.2245, 0, 0, 0, 1);
  585.     AttachObjectToObject(Jail_Plataforms[7], Jail_BasePlatform, -3.5, 0, -1.2245, 0, 0, 0, 1);
  586.     AttachObjectToObject(Jail_Plataforms[8], Jail_BasePlatform, 5.2415, 1.7112, -1.2245, 0, 0, 90, 1);
  587.     AttachObjectToObject(Jail_Plataforms[9], Jail_BasePlatform, -5.2415, 1.7112, -1.2245, 0, 0, 90, 1);
  588.     AttachObjectToObject(Jail_Plataforms[10], Jail_BasePlatform, 3.5, 3.5, -1.2245, 0, 0, 0, 1);
  589.     AttachObjectToObject(Jail_Plataforms[11], Jail_BasePlatform, -3.5, 3.5, -1.2245, 0, 0, 0, 1);
  590.     AttachObjectToObject(Jail_Plataforms[12], Jail_BasePlatform, 0, 0, -1.2245, 0, 0, 0, 1);
  591.     //
  592.     Jail_Plataforms[13] = CreateObject(19304, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00);
  593.     Jail_Plataforms[14] = CreateObject(19304, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00);
  594.     Jail_Plataforms[15] = CreateObject(19304, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00);
  595.     Jail_Plataforms[16] = CreateObject(19304, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00);
  596.     Jail_Plataforms[17] = CreateObject(19304, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00);
  597.     Jail_Plataforms[18] = CreateObject(19304, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00);
  598.     Jail_Plataforms[19] = CreateObject(19304, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00);
  599.     Jail_Plataforms[20] = CreateObject(19304, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00);
  600.     AttachObjectToObject(Jail_Plataforms[13], Jail_BasePlatform, 4.6395, 1.7112, 0.6068, 90.0000, 0.0000, 90.0000, 1);
  601.     AttachObjectToObject(Jail_Plataforms[14], Jail_BasePlatform, 3.3845, 1.7112, 0.6068, 90.0000, 0.0000, 90.0000, 1);
  602.     AttachObjectToObject(Jail_Plataforms[15], Jail_BasePlatform, 2.1295, 1.7112, 0.6068, 90.0000, 0.0000, 90.0000, 1);
  603.     AttachObjectToObject(Jail_Plataforms[16], Jail_BasePlatform, 0.8745, 1.7112, 0.6068, 90.0000, 0.0000, 90.0000, 1);
  604.     AttachObjectToObject(Jail_Plataforms[17], Jail_BasePlatform, -0.3805, 1.7112, 0.6068, 90.0000, 0.0000, 90.0000, 1);
  605.     AttachObjectToObject(Jail_Plataforms[18], Jail_BasePlatform, -1.6355, 1.7112, 0.6068, 90.0000, 0.0000, 90.0000, 1);
  606.     AttachObjectToObject(Jail_Plataforms[19], Jail_BasePlatform, -2.8905, 1.7112, 0.6068, 90.0000, 0.0000, 90.0000, 1);
  607.     AttachObjectToObject(Jail_Plataforms[20], Jail_BasePlatform, -4.1455, 1.7112, 0.6068, 90.0000, 0.0000, 90.0000, 1);
  608.     //
  609.     Jail_Plataforms[21] = CreateObject(19304, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00);
  610.     Jail_Plataforms[22] = CreateObject(19304, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00);
  611.     Jail_Plataforms[23] = CreateObject(19304, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00);
  612.     Jail_Plataforms[24] = CreateObject(19304, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00);
  613.     Jail_Plataforms[25] = CreateObject(19304, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00);
  614.     Jail_Plataforms[26] = CreateObject(19304, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00);
  615.     Jail_Plataforms[27] = CreateObject(19304, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00);
  616.     Jail_Plataforms[28] = CreateObject(19304, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00);
  617.     SetObjectMaterial(Jail_Plataforms[21], 0, 18646, "MatColours", "blue");
  618.     SetObjectMaterial(Jail_Plataforms[22], 0, 18646, "MatColours", "green");
  619.     SetObjectMaterial(Jail_Plataforms[23], 0, 18646, "MatColours", "lightblue");
  620.     SetObjectMaterial(Jail_Plataforms[24], 0, 18646, "MatColours", "orange");
  621.     SetObjectMaterial(Jail_Plataforms[25], 0, 18646, "MatColours", "red");
  622.     SetObjectMaterial(Jail_Plataforms[26], 0, 18646, "MatColours", "yellow");
  623.     SetObjectMaterial(Jail_Plataforms[27], 0, 18646, "MatColours", "samporange");
  624.     SetObjectMaterial(Jail_Plataforms[28], 0, 18646, "MatColours", "white");
  625.     AttachObjectToObject(Jail_Plataforms[21], Jail_BasePlatform, 4.6395, 1.7112, -1.8277, 90.0000, 0.0000, 90.0000, 1);
  626.     AttachObjectToObject(Jail_Plataforms[22], Jail_BasePlatform, 3.3845, 1.7112, -1.8277, 90.0000, 0.0000, 90.0000, 1);
  627.     AttachObjectToObject(Jail_Plataforms[23], Jail_BasePlatform, 2.1295, 1.7112, -1.8277, 90.0000, 0.0000, 90.0000, 1);
  628.     AttachObjectToObject(Jail_Plataforms[24], Jail_BasePlatform, 0.8745, 1.7112, -1.8277, 90.0000, 0.0000, 90.0000, 1);
  629.     AttachObjectToObject(Jail_Plataforms[25], Jail_BasePlatform, -0.3805, 1.7112, -1.8277, 90.0000, 0.0000, 90.0000, 1);
  630.     AttachObjectToObject(Jail_Plataforms[26], Jail_BasePlatform, -1.6355, 1.7112, -1.8277, 90.0000, 0.0000, 90.0000, 1);
  631.     AttachObjectToObject(Jail_Plataforms[27], Jail_BasePlatform, -2.8905, 1.7112, -1.8277, 90.0000, 0.0000, 90.0000, 1);
  632.     AttachObjectToObject(Jail_Plataforms[28], Jail_BasePlatform, -4.1455, 1.7112, -1.8277, 90.0000, 0.0000, 90.0000, 1);
  633.     //Jail_Doors
  634.     Jail_Doors[0] = CreateObject(19303, 838.4160+1.5, -2059.2896, 15.2527,   0.00, 0.00, 0.00);
  635.     Jail_Doors[1] = CreateObject(19302, 836.6460-1.5, -2059.2896, 15.2527,   0.00, 0.00, 0.00);
  636.     door = true;
  637.     //TheJail
  638.    
  639.     //Projekt
  640.     Projekt_Letters[0] = CreateObject(19353, 835.2254, -1974.9293, 29.3883, 0.0000, 0.0000, -180);
  641.     SetObjectMaterialText(Projekt_Letters[0], "1", 0, 140, "Impact", 255, 1, -256, 0, 1);
  642.  
  643.     Projekt_Letters[1] = CreateObject(19353, 833.3474, -1966.4117, 12.4387, 0.0000, -90.0000, 180);
  644.     SetObjectMaterialText(Projekt_Letters[1], "prokekt 1", 0, 140, "Impact", 140, 1, -32256, 0, 1);
  645.  
  646.     Projekt_Letters[2] = CreateObject(19353, 833.3474, -1966.4117-5, 12.4387, 0.0000, -90.0000, 180);
  647.     SetObjectMaterialText(Projekt_Letters[2], "prokekt 1", 0, 140, "Impact", 140, 1, -32256, 0, 1);
  648.  
  649.     Projekt_Letters[3] = CreateObject(19353, 833.3474, -1966.4117-5*2, 12.4387, 0.0000, -90.0000, 180);
  650.     SetObjectMaterialText(Projekt_Letters[3], "prokekt 1", 0, 140, "Impact", 140, 1, -32256, 0, 1);
  651.  
  652.     Projekt_Letters[4] = CreateObject(19353, 833.3474, -1966.4117-5*3, 12.4387, 0.0000, -90.0000, 180);
  653.     SetObjectMaterialText(Projekt_Letters[4], "prokekt 1", 0, 140, "Impact", 140, 1, -32256, 0, 1);
  654.  
  655.     SuperProjekt_Base[0] = CreateDynamicObject(18980, 831.33, -1984.52, 19.6652,   -45.00, 20.00, 0.00);
  656.     SuperProjekt_Base[1] = CreateDynamicObject(18980, 841.81, -1984.52, 19.6652,   -45.00, -20.00, 0.00);
  657.     SuperProjekt_Base[2] = CreateDynamicObject(18980, 831.33, -1965.52, 19.6652,   45.00, 20.00, 0.00);
  658.     SuperProjekt_Base[3] = CreateDynamicObject(18980, 841.81, -1965.52, 19.6652,   45.00, -20.00, 0.00);
  659.     for(new i = 0; i != 4; i++) SetDynamicObjectMaterial(SuperProjekt_Base[i], 0, 18646, "MatColours", "blue");
  660.     Projekt_Unused[0] = CreateDynamicObject(18886, 836.77, -1974.91, 29.3000,   0.00, 90.00, 0.00);
  661.     Projekt_Unused[1] = CreateDynamicObject(18886, 836.99, -1974.91, 29.3000,   0.00, 90.00, 0.00);
  662.     Projekt_Unused[2] = CreateDynamicObject(18886, 837.21, -1974.91, 29.3000,   0.00, 90.00, 0.00);
  663.     Projekt_Base[0] = CreateObject(18886, 837.43, -1974.91, 29.3000,   0.00, 90.00, 0.00);
  664.     SetObjectMaterial(Projekt_Base[0], 0, 18646, "MatColours", "red");
  665.     SetObjectMaterial(Projekt_Base[0], 1, 18646, "MatColours", "samporange");
  666.     SetObjectMaterial(Projekt_Base[0], 3, 18646, "MatColours", "red");
  667.     Projekt_Unused[3] = CreateDynamicObject(18886, 837.66, -1974.91, 29.3000,   0.00, 90.00, 0.00);
  668.     Projekt_Unused[4] = CreateDynamicObject(18886, 837.88, -1974.91, 29.3000,   0.00, 90.00, 0.00);
  669.     Projekt_Unused[5] = CreateDynamicObject(18886, 836.21, -1974.91, 29.3000,   0.00, 90.00, 0.00);
  670.     Projekt_Unused[6] = CreateDynamicObject(18886, 836.44, -1974.91, 29.3000,   0.00, 90.00, 0.00);
  671.     Projekt_Unused[7] = CreateDynamicObject(18886, 836.224243, -1974.898437, 29.252134, 0.000000, -90.00, 0.000000);
  672.     Projekt_Unused[8] = CreateDynamicObject(18886, 836.457275, -1974.864990, 29.276523, 0.000000, -90.00, 0.000000);
  673.     Projekt_Unused[9] = CreateDynamicObject(18886, 836.727539, -1974.893676, 29.264974, 0.000000, -90.00, 0.000000);
  674.     for(new i = 0; i != 10; i++)
  675.     {
  676.         SetDynamicObjectMaterial(Projekt_Unused[i], 0, 18646, "MatColours", "red");
  677.         SetDynamicObjectMaterial(Projekt_Unused[i], 1, 18646, "MatColours", "samporange");
  678.         SetDynamicObjectMaterial(Projekt_Unused[i], 3, 18646, "MatColours", "red");
  679.     }
  680.  
  681.     Projekt_Platform[0] = CreateObject(18762, 0.00, 10.00, 0.00,   0.00, 0.00, 0.00);
  682.     SetObjectMaterial(Projekt_Platform[0], 0, 18646, "MatColours", "lightblue");
  683.     AttachObjectToObject(Projekt_Platform[0], Projekt_Base[0], 3.82, 0.0521, -1.00,     0.00, 90.00, 0.00);
  684.     Projekt_Platform[1] = CreateObject(18762, 0.00, 10.00, 0.00,   0.00, 0.00, 0.00);
  685.     SetObjectMaterial(Projekt_Platform[1], 0, 18646, "MatColours", "lightblue");
  686.     AttachObjectToObject(Projekt_Platform[1], Projekt_Base[0], 8.82, 0.0521, -1.00,     0.00, 90.00, 0.00);
  687.     Projekt_Platform[2] = CreateObject(18762, 0.00, 10.00, 0.00,   0.00, 0.00, 0.00);
  688.     SetObjectMaterial(Projekt_Platform[2], 0, 18646, "MatColours", "lightblue");
  689.     AttachObjectToObject(Projekt_Platform[2], Projekt_Base[0], 13.82, 0.0521, -1.00, 0.00, 90.00, 0.00);
  690.  
  691.     Projekt_Base[1] = CreateObject(18886, 0, 0, 0,   0.00, 0.00, 0.00);
  692.     AttachObjectToObject(Projekt_Base[1], Projekt_Base[0], 14.8962, 0.0, -1.040, 0.0000, -90.0000, 0.0000);
  693.     Projekt_Base[2] = CreateObject(18886, 0, 0, 0,   0.00, 0.00, 0.00);
  694.     AttachObjectToObject(Projekt_Base[2], Projekt_Base[1], 0.00, 0.00, -2.1052, 180.0000, 0.0000, 0.0000);
  695.  
  696.     Projekt_Seats[0] = CreateObject(1562, 0, 0, 0,   0.00, 0.00, 0.00);
  697.     AttachObjectToObject(Projekt_Seats[0], Projekt_Base[1], -0.6162, 2.0824, -0.9604, 0.0000, 0.0000, 195.0000);
  698.     Projekt_Seats[1] = CreateObject(1562, 0, 0, 0,   0.00, 0.00, 0.00);
  699.     AttachObjectToObject(Projekt_Seats[1], Projekt_Base[1], -1.4831, 1.4819, -0.9604, 0.0000, 0.0000, 225.0000);
  700.     Projekt_Seats[2] = CreateObject(1562, 0, 0, 0,   0.00, 0.00, 0.00);
  701.     AttachObjectToObject(Projekt_Seats[2], Projekt_Base[1], -2.1035, 0.5745, -0.9604, 0.0000, 0.0000, 255.0000);
  702.     Projekt_Seats[3] = CreateObject(1562, 0, 0, 0,   0.00, 0.00, 0.00);
  703.     AttachObjectToObject(Projekt_Seats[3], Projekt_Base[1], -2.1016, -0.5955, -0.9604, 0.0000, 0.0000, 285.0000);
  704.     Projekt_Seats[4] = CreateObject(1562, 0, 0, 0,   0.00, 0.00, 0.00);
  705.     AttachObjectToObject(Projekt_Seats[4], Projekt_Base[1], -1.5044, -1.5795, -0.9604, 0.0000, 0.0000, 315.0000);
  706.     Projekt_Seats[5] = CreateObject(1562, 0, 0, 0,   0.00, 0.00, 0.00);
  707.     AttachObjectToObject(Projekt_Seats[5], Projekt_Base[1], -0.5645, -2.1727, -0.9604, 0.0000, 0.0000, 345.0000);
  708.     Projekt_Seats[6] = CreateObject(1562, 0, 0, 0,   0.00, 0.00, 0.00);
  709.     AttachObjectToObject(Projekt_Seats[6], Projekt_Base[1], 0.573, -2.1273, -0.9604, 0.0000, 0.0000, -345.0000);
  710.     Projekt_Seats[7] = CreateObject(1562, 0, 0, 0,   0.00, 0.00, 0.00);
  711.     AttachObjectToObject(Projekt_Seats[7], Projekt_Base[1], 1.5295, -1.5389, -0.9604, 0.0000, 0.0000, -315.0000);
  712.     Projekt_Seats[8] = CreateObject(1562, 0, 0, 0,   0.00, 0.00, 0.00);
  713.     AttachObjectToObject(Projekt_Seats[8], Projekt_Base[1], 2.1129, -0.5817, -0.9604, 0.0000, 0.0000, -285.0000);
  714.     Projekt_Seats[9] = CreateObject(1562, 0, 0, 0,   0.00, 0.00, 0.00);
  715.     AttachObjectToObject(Projekt_Seats[9], Projekt_Base[1], 2.0814, 0.5617, -0.9604, 0.0000, 0.0000, -255.0000);
  716.     Projekt_Seats[10] = CreateObject(1562, 0, 0, 0,   0.00, 0.00, 0.00);
  717.     AttachObjectToObject(Projekt_Seats[10], Projekt_Base[1], 1.5124, 1.5704, -0.9604, 0.0000, 0.0000, -225.0000);
  718.     Projekt_Seats[11] = CreateObject(1562, 0, 0, 0,   0.00, 0.00, 0.00);
  719.     AttachObjectToObject(Projekt_Seats[11], Projekt_Base[1], 0.5522, 2.0793, -0.9604, 0.0000, 0.0000, -195.0000);
  720.     //Projekt
  721.    
  722.     //Observer
  723.     CreateObject(18763, 811.57709, -1879.37842, 3.59470,   0.00000, 0.00000, 0.00000);
  724.     CreateDynamicObject(19278, 811.50995, -1879.43152, -41.69551,   0.00000, 0.00000, 0.00000);
  725.     CreateDynamicObject(18763, 808.57709, -1879.37842, 3.59470,   0.00000, 0.00000, 0.00000);
  726.     CreateDynamicObject(18763, 808.57709, -1882.37842, 3.59470,   0.00000, 0.00000, 0.00000);
  727.     CreateDynamicObject(18763, 811.57709, -1882.37842, 3.59470,   0.00000, 0.00000, 0.00000);
  728.     CreateDynamicObject(18763, 814.57709, -1879.37842, 3.59470,   0.00000, 0.00000, 0.00000);
  729.     CreateDynamicObject(18763, 814.57709, -1882.37842, 3.59470,   0.00000, 0.00000, 0.00000);
  730.     CreateDynamicObject(18763, 808.57709, -1876.37842, 3.59470,   0.00000, 0.00000, 0.00000);
  731.     CreateDynamicObject(18763, 811.57709, -1876.37842, 3.59470,   0.00000, 0.00000, 0.00000);
  732.     CreateDynamicObject(18763, 814.57709, -1876.37842, 3.59470,   0.00000, 0.00000, 0.00000);
  733.     CreateDynamicObject(8615, 814.54871, -1872.88013, 6.15357,   0.00000, 0.00000, 180.00000);
  734.     CreateDynamicObject(18980, 801.97620, -1879.02612, -4.13480,   0.00000, 20.00000, 0.00000);
  735.     CreateDynamicObject(18980, 811.60822, -1888.93835, -4.13480,   0.00000, 20.00000, 90.00000);
  736.     CreateDynamicObject(18980, 821.15430, -1879.26160, -4.13480,   0.00000, 20.00000, 180.00000);
  737.     CreateDynamicObject(18980, 811.28381, -1869.85706, -4.13480,   0.00000, 20.00000, -90.00000);
  738.  
  739.     Observer_Base = CreateObject(19278, 811.50995, -1879.43152, -38.23802,   0.00000, 0.00000, 0.00000);
  740.     Observer_Seats[0] = CreateObject(19316, 809.98859, -1882.72485, 10.99730,   0.00000, 0.00000, 0.00000);
  741.     AttachObjectToObject(Observer_Seats[0], Observer_Base, -1.5213, -3.2934, 49.2353, 0, 0, 0, 1);
  742.     Observer_Seats[1] = CreateObject(19316, 812.98859, -1876.22485, 10.99730,   0.00000, 0.00000, 180.00000);
  743.     AttachObjectToObject(Observer_Seats[1], Observer_Base, 1.5213, 3.2934, 49.2353, 0, 0, 180, 1);
  744.     //Observer
  745.    
  746.     //FerrisWheel
  747.     CreateDynamicObject(18878, 844.54, -2033.57, 27.11,   0.00, 0.00, 90.00);
  748.     FerrisWheel_Base = CreateObject(18877, 844.53, -2033.59, 27.11,   0.00, 0.00, 90.00);
  749.     FerrisWheel_Seats[0] = CreateObject(19316, 0.00, 0.00, 0.00,    0.00, 0.00, 0.00);
  750.     AttachObjectToObject(FerrisWheel_Seats[0], FerrisWheel_Base, 0.0699, 0.0600, -11.7500, 0.0000, 0.0000, 90.0000, 0);
  751.     FerrisWheel_Seats[1] = CreateObject(19316, 0.00, 0.00, 0.00,    0.00, 0.00, 0.00);
  752.     AttachObjectToObject(FerrisWheel_Seats[1], FerrisWheel_Base, -6.9100, -0.0899, -9.5000, 0.0000, 0.0000, 90.0000, 0);
  753.     FerrisWheel_Seats[2] = CreateObject(19316, 0.00, 0.00, 0.00,    0.00, 0.00, 0.00);
  754.     AttachObjectToObject(FerrisWheel_Seats[2], FerrisWheel_Base, 11.1600, 0.0000, -3.6300, 0.0000, 0.0000, 90.0000, 0);
  755.     FerrisWheel_Seats[3] = CreateObject(19316, 0.00, 0.00, 0.00,    0.00, 0.00, 0.00);
  756.     AttachObjectToObject(FerrisWheel_Seats[3], FerrisWheel_Base, -11.1600, -0.0399, 3.6499, 0.0000, 0.0000, 90.0000, 0);
  757.     FerrisWheel_Seats[4] = CreateObject(19316, 0.00, 0.00, 0.00,    0.00, 0.00, 0.00);
  758.     AttachObjectToObject(FerrisWheel_Seats[4], FerrisWheel_Base, -6.9100, -0.0899, 9.4799, 0.0000, 0.0000, 90.0000, 0);
  759.     FerrisWheel_Seats[5] = CreateObject(19316, 0.00, 0.00, 0.00,    0.00, 0.00, 0.00);
  760.     AttachObjectToObject(FerrisWheel_Seats[5], FerrisWheel_Base, 0.0699, 0.0600, 11.7500, 0.0000, 0.0000, 90.0000, 0);
  761.     FerrisWheel_Seats[6] = CreateObject(19316, 0.00, 0.00, 0.00,    0.00, 0.00, 0.00);
  762.     AttachObjectToObject(FerrisWheel_Seats[6], FerrisWheel_Base, 6.9599, 0.0100, -9.5000, 0.0000, 0.0000, 90.0000, 0);
  763.     FerrisWheel_Seats[7] = CreateObject(19316, 0.00, 0.00, 0.00,    0.00, 0.00, 0.00);
  764.     AttachObjectToObject(FerrisWheel_Seats[7], FerrisWheel_Base, -11.1600, -0.0399, -3.6300, 0.0000, 0.0000, 90.0000, 0);
  765.     FerrisWheel_Seats[8] = CreateObject(19316, 0.00, 0.00, 0.00,    0.00, 0.00, 0.00);
  766.     AttachObjectToObject(FerrisWheel_Seats[8], FerrisWheel_Base, 11.1600, 0.0000, 3.6499, 0.0000, 0.0000, 90.0000, 0);
  767.     FerrisWheel_Seats[9] = CreateObject(19316, 0.00, 0.00, 0.00,    0.00, 0.00, 0.00);
  768.     AttachObjectToObject(FerrisWheel_Seats[9], FerrisWheel_Base, 7.0399, -0.0200, 9.3600, 0.0000, 0.0000, 90.0000, 0);
  769.     //FerrisWheel
  770.    
  771.     //Cars
  772.     Cars_Vehs[0] = CreateVehicle(539, 795.6931, -1864.1338, 8.8227, 0.0000, -1, -1, 100);
  773.     SetVehicleHealth(Cars_Vehs[0], 99999999);
  774.     Cars_Vehs[1] = CreateVehicle(539, 795.6931, -1858.1338, 8.8227, 0.0000, -1, -1, 100);
  775.     SetVehicleHealth(Cars_Vehs[1], 99999999);
  776.     Cars_Vehs[2] = CreateVehicle(539, 795.6931, -1852.1338, 8.8227, 0.0000, -1, -1, 100);
  777.     SetVehicleHealth(Cars_Vehs[2], 99999999);
  778.     Cars_Vehs[3] = CreateVehicle(539, 795.6931, -1846.6338, 8.8227, 0.0000, -1, -1, 100);
  779.     SetVehicleHealth(Cars_Vehs[3], 99999999);
  780.  
  781.     Cars_Base[0] = CreateDynamicObject(18981, 805.56824, -1854.58850, 7.89529,   0.00000, 90.00000, 0.00000);
  782.     SetDynamicObjectMaterial(Cars_Base[0], 0, 18646, "MatColours", "grey-80-percent");
  783.  
  784.     Cars_Base[1] = CreateDynamicObject(18981, 805.56824, -1854.58850, 12.6336,   0.00000, 90.00000, 0.00000);
  785.     SetDynamicObjectMaterial(Cars_Base[1], 0, 18772, "TunnelSections", "metalflooring44-2");
  786.  
  787.     Cars_Base[2] = CreateDynamicObject(18981, 805.56824, -1854.58850, 13.6411,   0.00000, 90.00000, 0.00000);
  788.     SetDynamicObjectMaterial(Cars_Base[2], 0, 18646, "MatColours", "green");
  789.  
  790.     Cars_Unused[0] = CreateDynamicObject(18762, 795.57037, -1841.59644, 8.50696,   0.00000, 90.00000, 0.00000);
  791.     SetDynamicObjectMaterial(Cars_Unused[0], 0, 18646, "MatColours", "blue");
  792.     Cars_Unused[1] = CreateDynamicObject(18762, 799.07037, -1841.59644, 8.50700,   0.00000, 90.00000, 0.00000);
  793.     SetDynamicObjectMaterial(Cars_Unused[1], 0, 18646, "MatColours", "green");
  794.     Cars_Unused[2] = CreateDynamicObject(18762, 803.57037, -1841.59644, 8.50700,   0.00000, 90.00000, 0.00000);
  795.     SetDynamicObjectMaterial(Cars_Unused[2], 0, 18646, "MatColours", "grey");
  796.     Cars_Unused[3] = CreateDynamicObject(18762, 808.57037, -1841.59644, 8.50700,   0.00000, 90.00000, 0.00000);
  797.     SetDynamicObjectMaterial(Cars_Unused[3], 0, 18646, "MatColours", "lightblue");
  798.     Cars_Unused[4] = CreateDynamicObject(18762, 813.57037, -1841.59644, 8.50700,   0.00000, 90.00000, 0.00000);
  799.     SetDynamicObjectMaterial(Cars_Unused[4], 0, 18646, "MatColours", "orange");
  800.     Cars_Unused[5] = CreateDynamicObject(18762, 818.57037, -1841.59644, 8.50700,   0.00000, 90.00000, 0.00000);
  801.     SetDynamicObjectMaterial(Cars_Unused[5], 0, 18646, "MatColours", "red");
  802.     Cars_Unused[6] = CreateDynamicObject(18762, 818.57037, -1844.59644, 8.50700,   0.00000, 90.00000, 90.00000);
  803.     SetDynamicObjectMaterial(Cars_Unused[6], 0, 18646, "MatColours", "samporange");
  804.     Cars_Unused[7] = CreateDynamicObject(18762, 818.57037, -1849.59644, 8.50700,   0.00000, 90.00000, 90.00000);
  805.     SetDynamicObjectMaterial(Cars_Unused[7], 0, 18646, "MatColours", "white");
  806.     Cars_Unused[8] = CreateDynamicObject(18762, 818.57037, -1854.59644, 8.50700,   0.00000, 90.00000, 90.00000);
  807.     SetDynamicObjectMaterial(Cars_Unused[8], 0, 18646, "MatColours", "yellow");
  808.     Cars_Unused[9] = CreateDynamicObject(18762, 818.57037, -1859.59644, 8.50700,   0.00000, 90.00000, 90.00000);
  809.     SetDynamicObjectMaterial(Cars_Unused[9], 0, 18646, "MatColours", "blue");
  810.     Cars_Unused[10] = CreateDynamicObject(18762, 818.57037, -1864.59644, 8.50700,   0.00000, 90.00000, 90.00000);
  811.     SetDynamicObjectMaterial(Cars_Unused[10], 0, 18646, "MatColours", "green");
  812.     Cars_Unused[11] = CreateDynamicObject(18762, 815.69415, -1866.60876, 8.50700,   0.00000, 90.00000, 0.00000);
  813.     SetDynamicObjectMaterial(Cars_Unused[11], 0, 18646, "MatColours", "grey");
  814.     Cars_Unused[12] = CreateDynamicObject(18762, 810.69421, -1866.60876, 8.50700,   0.00000, 90.00000, 0.00000);
  815.     SetDynamicObjectMaterial(Cars_Unused[12], 0, 18646, "MatColours", "lightblue");
  816.     Cars_Unused[13] = CreateDynamicObject(18762, 805.69421, -1866.60876, 8.50700,   0.00000, 90.00000, 0.00000);
  817.     SetDynamicObjectMaterial(Cars_Unused[13], 0, 18646, "MatColours", "orange");
  818.     Cars_Unused[14] = CreateDynamicObject(18762, 800.69421, -1866.60876, 8.50700,   0.00000, 90.00000, 0.00000);
  819.     SetDynamicObjectMaterial(Cars_Unused[14], 0, 18646, "MatColours", "red");
  820.     Cars_Unused[15] = CreateDynamicObject(18762, 795.69421, -1866.60876, 8.50700,   0.00000, 90.00000, 0.00000);
  821.     SetDynamicObjectMaterial(Cars_Unused[15], 0, 18646, "MatColours", "samporange");
  822.     Cars_Unused[16] = CreateDynamicObject(18762, 793.70789, -1863.64575, 8.50700,   0.00000, 90.00000, 90.00000);
  823.     SetDynamicObjectMaterial(Cars_Unused[16], 0, 18646, "MatColours", "white");
  824.     Cars_Unused[17] = CreateDynamicObject(18762, 793.70789, -1859.14575, 8.50700,   0.00000, 90.00000, 90.00000);
  825.     SetDynamicObjectMaterial(Cars_Unused[17], 0, 18646, "MatColours", "yellow");
  826.     Cars_Unused[18] = CreateDynamicObject(18762, 793.70789, -1854.14575, 8.50700,   0.00000, 90.00000, 90.00000);
  827.     SetDynamicObjectMaterial(Cars_Unused[18], 0, 18646, "MatColours", "blue");
  828.     Cars_Unused[19] = CreateDynamicObject(18762, 793.70789, -1849.14575, 8.50700,   0.00000, 90.00000, 90.00000);
  829.     SetDynamicObjectMaterial(Cars_Unused[19], 0, 18646, "MatColours", "green");
  830.     Cars_Unused[20] = CreateDynamicObject(18762, 793.70789, -1844.14575, 8.50700,   0.00000, 90.00000, 90.00000);
  831.     SetDynamicObjectMaterial(Cars_Unused[20], 0, 18646, "MatColours", "grey");
  832.  
  833.     CreateDynamicObject(11472, 799.66150, -1840.49182, 5.96356,   0.00000, 0.00000, -90.00000);
  834.     CreateDynamicObject(11472, 812.16150, -1840.49182, 5.96360,   0.00000, 0.00000, -90.00000);
  835.     CreateDynamicObject(11472, 814.16150, -1840.49182, 5.96360,   0.00000, 0.00000, -90.00000);
  836.     CreateDynamicObject(11472, 801.66150, -1840.49182, 5.96360,   0.00000, 0.00000, -90.00000);
  837.     CreateDynamicObject(18762, 793.60577, -1842.51160, 5.73792,   0.00000, 0.00000, 0.00000);
  838.     CreateDynamicObject(18762, 793.60577, -1847.01160, 5.73790,   0.00000, 0.00000, 0.00000);
  839.     CreateDynamicObject(18762, 793.60577, -1851.51160, 5.73790,   0.00000, 0.00000, 0.00000);
  840.     CreateDynamicObject(18762, 793.60577, -1856.01160, 5.73790,   0.00000, 0.00000, 0.00000);
  841.     CreateDynamicObject(18762, 793.60577, -1861.01160, 5.73790,   0.00000, 0.00000, 0.00000);
  842.     CreateDynamicObject(18762, 793.60577, -1866.51160, 5.73790,   0.00000, 0.00000, 0.00000);
  843.     CreateDynamicObject(18762, 798.10577, -1866.51160, 5.73790,   0.00000, 0.00000, 0.00000);
  844.     CreateDynamicObject(18762, 803.60577, -1866.51160, 5.73790,   0.00000, 0.00000, 0.00000);
  845.     CreateDynamicObject(18762, 808.60577, -1866.51160, 5.73790,   0.00000, 0.00000, 0.00000);
  846.     CreateDynamicObject(18762, 814.60577, -1866.51160, 5.73790,   0.00000, 0.00000, 0.00000);
  847.     CreateDynamicObject(18762, 818.10577, -1866.51160, 5.73790,   0.00000, 0.00000, 0.00000);
  848.     CreateDynamicObject(18762, 818.10577, -1861.51160, 5.73790,   0.00000, 0.00000, 0.00000);
  849.     CreateDynamicObject(18762, 818.10577, -1857.51160, 5.73790,   0.00000, 0.00000, 0.00000);
  850.     CreateDynamicObject(18762, 818.10577, -1851.01160, 5.73790,   0.00000, 0.00000, 0.00000);
  851.  
  852.     Cars_Unused[21] = CreateDynamicObject(18762, 793.69147, -1866.56787, 10.82597,   0.00000, 0.00000, 0.00000);
  853.     SetDynamicObjectMaterial(Cars_Unused[21], 0, 18646, "MatColours", "blue");
  854.     Cars_Unused[22] = CreateDynamicObject(18762, 817.19153, -1866.56787, 10.82600,   0.00000, 0.00000, 0.00000);
  855.     SetDynamicObjectMaterial(Cars_Unused[22], 0, 18646, "MatColours", "blue");
  856.     Cars_Unused[23] = CreateDynamicObject(18762, 793.69153, -1842.56787, 10.82600,   0.00000, 0.00000, 0.00000);
  857.     SetDynamicObjectMaterial(Cars_Unused[23], 0, 18646, "MatColours", "blue");
  858.     Cars_Unused[24] = CreateDynamicObject(18762, 817.69153, -1842.56787, 10.82600,   0.00000, 0.00000, 0.00000);
  859.     SetDynamicObjectMaterial(Cars_Unused[24], 0, 18646, "MatColours", "blue");
  860.     //Cars
  861.    
  862.     //Caida Libre
  863.     //parcela
  864.     CreateDynamicObject(983, 832.40, -2008.64, 12.59,   0.00, 0.00, 0.00);
  865.     CreateDynamicObject(983, 837.57, -2013.86, 12.59,   0.00, 0.00, -90.00);
  866.     CreateDynamicObject(983, 842.81, -2008.66, 12.59,   0.00, 0.00, 0.00);
  867.     CreateDynamicObject(983, 837.57, -2003.86, 12.59,   0.00, 0.00, -90.00);
  868.     CreateDynamicObject(983, 842.81, -2008.66, 12.59,   0.00, 0.00, 180.00);
  869.     CreateDynamicObject(983, 837.57, -2013.86, 12.59,   0.00, 0.00, 90.00);
  870.     CreateDynamicObject(983, 832.40, -2008.64, 12.59,   0.00, 0.00, 180.00);
  871.     CreateDynamicObject(983, 837.57, -2003.86, 12.59,   0.00, 0.00, 90.00);
  872.     CreateDynamicObject(19425, 837.44, -2006.33, 11.85,   0.00, 0.00, 0.00);
  873.     CreateDynamicObject(19425, 837.44, -2011.33, 11.85,   0.00, 0.00, 0.00);
  874.     CreateDynamicObject(19425, 839.94, -2008.83, 11.85,   0.00, 0.00, 90.00);
  875.     CreateDynamicObject(19425, 834.94, -2008.83, 11.85,   0.00, 0.00, 90.00);
  876.  
  877.  
  878.     Caida_Unused[0] = CreateDynamicObject(18980, 837.52, -2007.80, 18.93,   0.00, 0.00, 0.00);
  879.     SetDynamicObjectMaterial(Caida_Unused[0], 0, 18646, "MatColours", "lightblue");
  880.     Caida_Unused[1] = CreateDynamicObject(18980, 836.98, -2008.01, 18.93,   0.00, 0.00, 40.00);
  881.     SetDynamicObjectMaterial(Caida_Unused[1], 0, 18646, "MatColours", "blue");
  882.     Caida_Unused[2] = CreateDynamicObject(18980, 836.71, -2008.53, 18.93,   0.00, 0.00, 80.00);
  883.     SetDynamicObjectMaterial(Caida_Unused[2], 0, 18646, "MatColours", "lightblue");
  884.     Caida_Unused[3] = CreateDynamicObject(18980, 836.82, -2009.10, 18.93,   0.00, 0.00, 120.00);
  885.     SetDynamicObjectMaterial(Caida_Unused[3], 0, 18646, "MatColours", "blue");
  886.     Caida_Unused[4] = CreateDynamicObject(18980, 837.28, -2009.49, 18.93,   0.00, 0.00, 160.00);
  887.     SetDynamicObjectMaterial(Caida_Unused[4], 0, 18646, "MatColours", "lightblue");
  888.     Caida_Unused[5] = CreateDynamicObject(18980, 837.89, -2009.48, 18.93,   0.00, 0.00, 200.00);
  889.     SetDynamicObjectMaterial(Caida_Unused[5], 0, 18646, "MatColours", "blue");
  890.     Caida_Unused[6] = CreateDynamicObject(18980, 838.33, -2009.10, 18.93,   0.00, 0.00, 240.00);
  891.     SetDynamicObjectMaterial(Caida_Unused[6], 0, 18646, "MatColours", "lightblue");
  892.     Caida_Unused[7] = CreateDynamicObject(18980, 838.42, -2008.51, 18.93,   0.00, 0.00, 280.00);
  893.     SetDynamicObjectMaterial(Caida_Unused[7], 0, 18646, "MatColours", "blue");
  894.     Caida_Unused[8] = CreateDynamicObject(18980, 838.08, -2007.99, 18.93,   0.00, 0.00, 320.00);
  895.     SetDynamicObjectMaterial(Caida_Unused[8], 0, 18646, "MatColours", "lightblue");
  896.     //++
  897.     Caida_Unused[9] = CreateDynamicObject(18980, 837.52, -2007.80, 18.93+24.9862,   0.00, 0.00, 0.00);
  898.     SetDynamicObjectMaterial(Caida_Unused[9], 0, 18646, "MatColours", "lightblue");
  899.     Caida_Unused[10] = CreateDynamicObject(18980, 836.98, -2008.01, 18.93+24.9862,   0.00, 0.00, 40.00);
  900.     SetDynamicObjectMaterial(Caida_Unused[10], 0, 18646, "MatColours", "blue");
  901.     Caida_Unused[11] = CreateDynamicObject(18980, 836.71, -2008.53, 18.93+24.9862,   0.00, 0.00, 80.00);
  902.     SetDynamicObjectMaterial(Caida_Unused[11], 0, 18646, "MatColours", "lightblue");
  903.     Caida_Unused[12] = CreateDynamicObject(18980, 836.82, -2009.10, 18.93+24.9862,   0.00, 0.00, 120.00);
  904.     SetDynamicObjectMaterial(Caida_Unused[12], 0, 18646, "MatColours", "blue");
  905.     Caida_Unused[13] = CreateDynamicObject(18980, 837.28, -2009.49, 18.93+24.9862,   0.00, 0.00, 160.00);
  906.     SetDynamicObjectMaterial(Caida_Unused[13], 0, 18646, "MatColours", "lightblue");
  907.     Caida_Unused[14] = CreateDynamicObject(18980, 837.89, -2009.48, 18.93+24.9862,   0.00, 0.00, 200.00);
  908.     SetDynamicObjectMaterial(Caida_Unused[14], 0, 18646, "MatColours", "blue");
  909.     Caida_Unused[15] = CreateDynamicObject(18980, 838.33, -2009.10, 18.93+24.9862,   0.00, 0.00, 240.00);
  910.     SetDynamicObjectMaterial(Caida_Unused[15], 0, 18646, "MatColours", "lightblue");
  911.     Caida_Unused[16] = CreateDynamicObject(18980, 838.42, -2008.51, 18.93+24.9862,   0.00, 0.00, 280.00);
  912.     SetDynamicObjectMaterial(Caida_Unused[16], 0, 18646, "MatColours", "blue");
  913.     Caida_Unused[17] = CreateDynamicObject(18980, 838.08, -2007.99, 18.93+24.9862,   0.00, 0.00, 320.00);
  914.     SetDynamicObjectMaterial(Caida_Unused[17], 0, 18646, "MatColours", "lightblue");
  915.  
  916.     Caida_Unused[18] = CreateDynamicObject(18764, 837.61, -2008.76, 58.92,   0.00, 0.00, 0.00);
  917.     Caida_Unused[19] = CreateDynamicObject(18764, 837.61, -2008.76, 58.92,   0.00, 0.00, 2.50);
  918.     Caida_Unused[20] = CreateDynamicObject(18764, 837.61, -2008.76, 58.92,   0.00, 0.00, 5.50);
  919.     Caida_Unused[21] = CreateDynamicObject(18764, 837.61, -2008.76, 58.92,   0.00, 0.00, 11.50);
  920.     Caida_Unused[22] = CreateDynamicObject(18764, 837.61, -2008.76, 58.92,   0.00, 0.00, 19.00);
  921.     Caida_Unused[23] = CreateDynamicObject(18764, 837.61, -2008.76, 58.92,   0.00, 0.00, 32.00);
  922.     Caida_Unused[24] = CreateDynamicObject(18764, 837.61, -2008.76, 58.92,   0.00, 0.00, 48.00);
  923.     Caida_Unused[25] = CreateDynamicObject(18764, 837.61, -2008.76, 58.92,   0.00, 0.00, 62.50);
  924.     Caida_Unused[26] = CreateDynamicObject(18764, 837.61, -2008.76, 58.92,   0.00, 0.00, 78.50);
  925.     Caida_Unused[27] = CreateDynamicObject(18764, 837.61, -2008.76, 58.92,   0.00, 0.00, 93.50);
  926.     Caida_Unused[28] = CreateDynamicObject(18764, 837.61, -2008.76, 58.92,   0.00, 0.00, 108.00);
  927.     Caida_Unused[29] = CreateDynamicObject(18764, 837.61, -2008.76, 58.92,   0.00, 0.00, 114.50);
  928.     Caida_Unused[30] = CreateDynamicObject(18764, 837.61, -2008.76, 58.92,   0.00, 0.00, 124.50);
  929.     Caida_Unused[31] = CreateDynamicObject(18764, 837.61, -2008.76, 58.92,   0.00, 0.00, 141.00);
  930.     Caida_Unused[32] = CreateDynamicObject(18764, 837.61, -2008.76, 58.92,   0.00, 0.00, 165.00);
  931.     Caida_Unused[33] = CreateDynamicObject(18764, 837.61, -2008.76, 58.92,   0.00, 0.00, 174.50);
  932.     for(new i = 18; i != 34; i++) SetDynamicObjectMaterial(Caida_Unused[i], 0, 18646, "MatColours", "samporange");
  933.  
  934.     //prosigamos
  935.     Caida_Base[0] = CreateObject(18886, 837.60, -2008.66, 13.52,   0.00, 0.00, 0.00);
  936.     Caida_Base[1] = CreateObject(18886, 0, 0, 0,   0.00, 0.00, 0.00);
  937.     AttachObjectToObject(Caida_Base[1], Caida_Base[0], 0, 0, -2.1052, 180.0000, 0.0000, 0.0000);
  938.  
  939.     Caida_Seats[0] = CreateObject(1562, 0, 0, 0,   0.00, 0.00, 0.00);
  940.     AttachObjectToObject(Caida_Seats[0], Caida_Base[0], -0.6162, 2.0824, -0.9604, 0.0000, 0.0000, 195.0000);
  941.     Caida_Seats[1] = CreateObject(1562, 0, 0, 0,   0.00, 0.00, 0.00);
  942.     AttachObjectToObject(Caida_Seats[1], Caida_Base[0], -1.4831, 1.4819, -0.9604, 0.0000, 0.0000, 225.0000);
  943.     Caida_Seats[2] = CreateObject(1562, 0, 0, 0,   0.00, 0.00, 0.00);
  944.     AttachObjectToObject(Caida_Seats[2], Caida_Base[0], -2.1035, 0.5745, -0.9604, 0.0000, 0.0000, 255.0000);
  945.     Caida_Seats[3] = CreateObject(1562, 0, 0, 0,   0.00, 0.00, 0.00);
  946.     AttachObjectToObject(Caida_Seats[3], Caida_Base[0], -2.1016, -0.5955, -0.9604, 0.0000, 0.0000, 285.0000);
  947.     Caida_Seats[4] = CreateObject(1562, 0, 0, 0,   0.00, 0.00, 0.00);
  948.     AttachObjectToObject(Caida_Seats[4], Caida_Base[0], -1.5044, -1.5795, -0.9604, 0.0000, 0.0000, 315.0000);
  949.     Caida_Seats[5] = CreateObject(1562, 0, 0, 0,   0.00, 0.00, 0.00);
  950.     AttachObjectToObject(Caida_Seats[5], Caida_Base[0], -0.5645, -2.1727, -0.9604, 0.0000, 0.0000, 345.0000);
  951.     Caida_Seats[6] = CreateObject(1562, 0, 0, 0,   0.00, 0.00, 0.00);
  952.     AttachObjectToObject(Caida_Seats[6], Caida_Base[0], 0.573, -2.1273, -0.9604, 0.0000, 0.0000, -345.0000);
  953.     Caida_Seats[7] = CreateObject(1562, 0, 0, 0,   0.00, 0.00, 0.00);
  954.     AttachObjectToObject(Caida_Seats[7], Caida_Base[0], 1.5295, -1.5389, -0.9604, 0.0000, 0.0000, -315.0000);
  955.     Caida_Seats[8] = CreateObject(1562, 0, 0, 0,   0.00, 0.00, 0.00);
  956.     AttachObjectToObject(Caida_Seats[8], Caida_Base[0], 2.1129, -0.5817, -0.9604, 0.0000, 0.0000, -285.0000);
  957.     Caida_Seats[9] = CreateObject(1562, 0, 0, 0,   0.00, 0.00, 0.00);
  958.     AttachObjectToObject(Caida_Seats[9], Caida_Base[0], 2.0814, 0.5617, -0.9604, 0.0000, 0.0000, -255.0000);
  959.     Caida_Seats[10] = CreateObject(1562, 0, 0, 0,   0.00, 0.00, 0.00);
  960.     AttachObjectToObject(Caida_Seats[10], Caida_Base[0], 1.5124, 1.5704, -0.9604, 0.0000, 0.0000, -225.0000);
  961.     Caida_Seats[11] = CreateObject(1562, 0, 0, 0,   0.00, 0.00, 0.00);
  962.     AttachObjectToObject(Caida_Seats[11], Caida_Base[0], 0.5522, 2.0793, -0.9604, 0.0000, 0.0000, -195.0000);
  963.     //Caida Libre
  964.  
  965.     //Crazy Cow
  966.     CreateDynamicObject(18886, 827.79, -1941.21, 13.25,   0.00, 0.00, 0.00);
  967.     CreateDynamicObject(18886, 827.79, -1941.21, 12.75,   0.00, 0.00, 0.00);
  968.     CreateDynamicObject(18886, 827.79, -1938.21, 13.25,   0.00, 0.00, 0.00);
  969.     CreateDynamicObject(18886, 827.79, -1935.21, 13.25,   0.00, 0.00, 0.00);
  970.     CreateDynamicObject(18886, 827.79, -1932.21, 13.25,   0.00, 0.00, 0.00);
  971.     CreateDynamicObject(18886, 827.79, -1938.21, 12.75,   0.00, 0.00, 0.00);
  972.     CreateDynamicObject(18886, 827.79, -1935.21, 12.75,   0.00, 0.00, 0.00);
  973.     CreateDynamicObject(18886, 827.79, -1932.21, 12.75,   0.00, 0.00, 0.00);
  974.     CreateDynamicObject(983, 828.06, -1928.82, 12.54,   0.00, 0.00, 90.00);
  975.     CreateDynamicObject(984, 835.73, -1936.96, 12.54,   0.00, 0.00, 180.00);
  976.     CreateDynamicObject(14409, 834.93, -1932.74, 9.32,   0.00, 0.00, -90.00);
  977.     CreateDynamicObject(14409, 834.93, -1936.74, 9.32,   0.00, 0.00, -90.00);
  978.     CreateDynamicObject(14409, 834.93, -1940.74, 9.32,   0.00, 0.00, -90.00);
  979.     CreateDynamicObject(984, 835.73, -1936.96, 12.54,   0.00, 0.00, 0.00);
  980.     CreateDynamicObject(983, 828.06, -1928.82, 12.54,   0.00, 0.00, -90.00);
  981.     CreateDynamicObject(983, 828.06, -1944.82, 12.54,   0.00, 0.00, 90.00);
  982.     CreateDynamicObject(983, 828.06, -1944.82, 12.54,   0.00, 0.00, -90.00);
  983.     CreateDynamicObject(984, 823.23, -1936.96, 12.54,   0.00, 0.00, 0.00);
  984.     CreateDynamicObject(984, 823.23, -1936.96, 12.54,   0.00, 0.00, 180.00);
  985.     CreateDynamicObject(19362, 832.21, -1942.79, 10.76,   0.00, 0.00, 90.00);
  986.     CreateDynamicObject(19362, 832.24, -1930.73, 10.76,   0.00, 0.00, 90.00);
  987.     CreateDynamicObject(2631, 828.05, -1939.54, 12.54,   0.00, 0.00, 0.00);
  988.     CreateDynamicObject(2631, 828.05, -1939.54, 12.64,   0.00, 0.00, 0.00);
  989.     CreateDynamicObject(2631, 828.05, -1936.54, 12.64,   0.00, 0.00, 0.00);
  990.     CreateDynamicObject(2631, 828.04, -1933.46, 12.64,   0.00, 0.00, 0.00);
  991.     CreateDynamicObject(2631, 828.04, -1933.46, 12.54,   0.00, 0.00, 0.00);
  992.     CreateDynamicObject(2631, 828.05, -1936.54, 12.54,   0.00, 0.00, 0.00);
  993.     CreateDynamicObject(2631, 828.05, -1942.54, 12.64,   0.00, 0.00, 0.00);
  994.     CreateDynamicObject(2631, 828.04, -1930.46, 12.64,   0.00, 0.00, 0.00);
  995.     CreateDynamicObject(2631, 825.05, -1941.54, 12.64,   0.00, 0.00, 90.00);
  996.     CreateDynamicObject(2631, 825.05, -1937.54, 12.64,   0.00, 0.00, 90.00);
  997.     CreateDynamicObject(2631, 825.05, -1933.54, 12.64,   0.00, 0.00, 90.00);
  998.     CreateDynamicObject(2631, 825.05, -1931.54, 12.64,   0.00, 0.00, 90.00);
  999.     CreateDynamicObject(19362, 828.43, -1943.48, 10.89,   0.00, 0.00, 90.00);
  1000.     CreateDynamicObject(19362, 825.67, -1943.46, 10.89,   0.00, 0.00, 90.00);
  1001.     CreateDynamicObject(19362, 824.15, -1941.87, 10.89,   0.00, 0.00, 0.00);
  1002.     CreateDynamicObject(19362, 824.15, -1938.37, 10.89,   0.00, 0.00, 0.00);
  1003.     CreateDynamicObject(19362, 824.15, -1934.87, 10.89,   0.00, 0.00, 0.00);
  1004.     CreateDynamicObject(19362, 824.15, -1931.37, 10.89,   0.00, 0.00, 0.00);
  1005.     CreateDynamicObject(2631, 831.05, -1941.54, 12.64,   0.00, 0.00, 90.00);
  1006.     CreateDynamicObject(2631, 831.05, -1937.54, 12.64,   0.00, 0.00, 90.00);
  1007.     CreateDynamicObject(2631, 831.05, -1933.54, 12.64,   0.00, 0.00, 90.00);
  1008.     CreateDynamicObject(2631, 831.05, -1931.54, 12.64,   0.00, 0.00, 90.00);
  1009.     CreateDynamicObject(19362, 829.21, -1942.79, 10.76,   0.00, 0.00, 90.00);
  1010.     CreateDynamicObject(19362, 830.39, -1943.46, 10.89,   0.00, 0.00, 90.00);
  1011.     CreateDynamicObject(19362, 828.43, -1929.48, 10.89,   0.00, 0.00, 90.00);
  1012.     CreateDynamicObject(19362, 830.35, -1929.50, 10.89,   0.00, 0.00, 90.00);
  1013.     CreateDynamicObject(19362, 825.67, -1929.48, 10.89,   0.00, 0.00, 90.00);
  1014.  
  1015.     Cow_Seats[0] = CreateDynamicObject(16442, 828.37, -1940.99, 13.79,   0.00, 0.00, 0.00);
  1016.     Cow_Seats[1] = CreateDynamicObject(16442, 828.37, -1937.99, 13.79,   0.00, 0.00, 0.00);
  1017.     Cow_Seats[2] = CreateDynamicObject(16442, 828.37, -1934.99, 13.79,   0.00, 0.00, 0.00);
  1018.     Cow_Seats[3] = CreateDynamicObject(16442, 828.37, -1931.99, 13.79,   0.00, 0.00, 0.00);
  1019.     //Crazy Cow
  1020.    
  1021.     //Funfair
  1022.     CreateDynamicObject(982, 826.52, -1974.96, 12.54,   0.00, 0.00, 0.00);
  1023.     CreateDynamicObject(984, 836.25, -1993.16, 12.54,   0.00, 0.00, 90.00);
  1024.     CreateDynamicObject(982, 826.52, -1974.96, 12.54,   0.00, 0.00, 180.00);
  1025.     CreateDynamicObject(984, 836.25, -1993.16, 12.54,   0.00, 0.00, -90.00);
  1026.     CreateDynamicObject(984, 836.25, -1956.66, 12.54,   0.00, 0.00, -90.00);
  1027.     CreateDynamicObject(984, 836.25, -1956.66, 12.54,   0.00, 0.00, 90.00);
  1028.     CreateDynamicObject(982, 846.02, -1974.96, 12.54,   0.00, 0.00, 180.00);
  1029.     CreateDynamicObject(982, 846.02, -1974.96, 12.54,   0.00, 0.00, 0.00);
  1030.     CreateDynamicObject(19425, 842.63, -1959.18, 11.86,   0.00, 0.00, 0.00);
  1031.     CreateDynamicObject(19425, 839.13, -1959.18, 11.86,   0.00, 0.00, 0.00);
  1032.     CreateDynamicObject(19425, 835.63, -1959.18, 11.86,   0.00, 0.00, 0.00);
  1033.     CreateDynamicObject(19425, 832.13, -1959.18, 11.86,   0.00, 0.00, 0.00);
  1034.     CreateDynamicObject(19425, 832.13, -1990.68, 11.86,   0.00, 0.00, 0.00);
  1035.     CreateDynamicObject(19425, 835.63, -1990.68, 11.86,   0.00, 0.00, 0.00);
  1036.     CreateDynamicObject(19425, 839.13, -1990.68, 11.86,   0.00, 0.00, 0.00);
  1037.     CreateDynamicObject(19425, 842.63, -1990.68, 11.86,   0.00, 0.00, 0.00);
  1038.     CreateDynamicObject(14409, 829.20, -1966.46, 9.32,   0.00, 0.00, 90.00);
  1039.     CreateDynamicObject(14409, 829.20, -1970.46, 9.32,   0.00, 0.00, 90.00);
  1040.     CreateDynamicObject(14409, 829.20, -1974.46, 9.32,   0.00, 0.00, 90.00);
  1041.     CreateDynamicObject(14409, 829.20, -1978.46, 9.32,   0.00, 0.00, 90.00);
  1042.     CreateDynamicObject(14409, 829.20, -1982.46, 9.32,   0.00, 0.00, 90.00);
  1043.     CreateDynamicObject(14409, 834.74, -1987.99, 9.32,   0.00, 0.00, 180.00);
  1044.     CreateDynamicObject(14409, 838.74, -1987.99, 9.32,   0.00, 0.00, 180.00);
  1045.     CreateDynamicObject(14409, 834.74, -1960.99, 9.32,   0.00, 0.00, 0.00);
  1046.     CreateDynamicObject(14409, 838.74, -1960.99, 9.32,   0.00, 0.00, 0.00);
  1047.     CreateDynamicObject(19362, 832.75, -1962.88, 10.76,   0.00, 0.00, 0.00);
  1048.     CreateDynamicObject(19362, 834.45, -1966.08, 12.42,   0.00, 90.00, 0.00);
  1049.     CreateDynamicObject(19362, 831.08, -1984.45, 10.76,   0.00, 0.00, 90.00);
  1050.     CreateDynamicObject(19362, 832.75, -1985.88, 10.76,   0.00, 0.00, 0.00);
  1051.     CreateDynamicObject(19362, 840.75, -1985.88, 10.76,   0.00, 0.00, 0.00);
  1052.     CreateDynamicObject(19362, 840.75, -1962.88, 10.76,   0.00, 0.00, 0.00);
  1053.     CreateDynamicObject(19362, 831.08, -1964.45, 10.76,   0.00, 0.00, 90.00);
  1054.     CreateDynamicObject(19362, 837.95, -1966.08, 12.42,   0.00, 90.00, 0.00);
  1055.     CreateDynamicObject(19362, 834.45, -1969.08, 12.42,   0.00, 90.00, 0.00);
  1056.     CreateDynamicObject(19362, 834.45, -1972.08, 12.42,   0.00, 90.00, 0.00);
  1057.     CreateDynamicObject(19362, 834.46, -1975.06, 12.42,   0.00, 90.00, 0.00);
  1058.     CreateDynamicObject(19362, 834.45, -1978.08, 12.42,   0.00, 90.00, 0.00);
  1059.     CreateDynamicObject(19362, 834.45, -1981.08, 12.42,   0.00, 90.00, 0.00);
  1060.     CreateDynamicObject(19362, 834.45, -1984.08, 12.42,   0.00, 90.00, 0.00);
  1061.     CreateDynamicObject(19362, 837.95, -1969.08, 12.42,   0.00, 90.00, 0.00);
  1062.     CreateDynamicObject(19362, 837.95, -1972.08, 12.42,   0.00, 90.00, 0.00);
  1063.     CreateDynamicObject(19362, 837.95, -1975.08, 12.42,   0.00, 90.00, 0.00);
  1064.     CreateDynamicObject(19362, 837.95, -1978.08, 12.42,   0.00, 90.00, 0.00);
  1065.     CreateDynamicObject(19362, 837.96, -1981.06, 12.42,   0.00, 90.00, 0.00);
  1066.     CreateDynamicObject(19362, 837.95, -1984.08, 12.42,   0.00, 90.00, 0.00);
  1067.     CreateDynamicObject(19362, 839.16, -1964.42, 10.75,   0.00, 0.00, 90.00);
  1068.     CreateDynamicObject(19362, 839.15, -1984.40, 10.75,   0.00, 0.00, 90.00);
  1069.     CreateDynamicObject(19362, 839.65, -1982.90, 10.75,   0.00, 0.00, 0.00);
  1070.     CreateDynamicObject(19362, 839.65, -1979.90, 10.75,   0.00, 0.00, 0.00);
  1071.     CreateDynamicObject(19362, 839.65, -1976.90, 10.75,   0.00, 0.00, 0.00);
  1072.     CreateDynamicObject(19362, 839.65, -1973.90, 10.75,   0.00, 0.00, 0.00);
  1073.     CreateDynamicObject(19362, 839.65, -1970.90, 10.75,   0.00, 0.00, 0.00);
  1074.     CreateDynamicObject(19362, 839.65, -1968.40, 10.75,   0.00, 0.00, 0.00);
  1075.     CreateDynamicObject(19362, 839.65, -1965.40, 10.75,   0.00, 0.00, 0.00);
  1076.     CreateDynamicObject(19128, 836.18, -1981.23, 12.51,   0.00, 0.00, 0.00);
  1077.     CreateDynamicObject(19128, 836.18, -1968.23, 12.51,   0.00, 0.00, 0.00);
  1078.     //adornos total funfair
  1079.     CreateDynamicObject(10838, 836.33, -1830.35, 25.84,   0.00, 0.00, 90.00);
  1080.     CreateDynamicObject(6299, 843.55, -1856.95, 13.71,   0.00, 0.00, 180.00);
  1081.     CreateDynamicObject(620, 836.82, -1842.31, 11.44,   0.00, 0.00, 0.00);
  1082.     CreateDynamicObject(620, 836.82, -1915.81, 11.44,   0.00, 0.00, 0.00);
  1083.     CreateDynamicObject(620, 836.82, -1950.31, 11.44,   0.00, 0.00, 0.00);
  1084.     CreateDynamicObject(620, 836.82, -1997.81, 11.44,   0.00, 0.00, 0.00);
  1085.     CreateDynamicObject(620, 836.82, -2043.81, 11.44,   0.00, 0.00, 0.00);
  1086.     CreateDynamicObject(6050, 823.62, -1912.54, 13.48,   0.00, 0.00, 0.00);
  1087.     CreateDynamicObject(6299, 830.57, -2016.44, 13.71,   0.00, 0.00, 180.00);
  1088.     CreateDynamicObject(2232, 840.02, -1902.25, 12.47,   0.00, 0.00, 230.00);
  1089.     CreateDynamicObject(2232, 839.55, -1902.83, 12.47,   0.00, 0.00, 230.00);
  1090.     CreateDynamicObject(2232, 839.82, -1902.61, 13.58,   0.00, 0.00, 230.00);
  1091.     CreateDynamicObject(2232, 832.41, -1930.10, 12.47,   0.00, 0.00, 90.00);
  1092.     CreateDynamicObject(2232, 832.41, -1943.60, 12.47,   0.00, 0.00, 90.00);
  1093.     CreateDynamicObject(2232, 833.35, -1984.56, 13.04,   0.00, 0.00, -142.00);
  1094.     CreateDynamicObject(2232, 832.01, -1985.55, 12.45,   0.00, 0.00, -90.00);
  1095.     CreateDynamicObject(2232, 841.09, -2023.61, 13.56,   0.00, 0.00, -69.00);
  1096.     CreateVehicle(588, 825.7172, -2049.7195, 12.7904, 40.0000, -1, -1, 100);
  1097.     //Funfair
  1098.     return 1;
  1099. }
  1100.  
  1101. public OnPlayerCommandText(playerid, cmdtext[])
  1102. {
  1103.     //Roller
  1104.     if (strcmp("/roller", cmdtext, true, 10) == 0)
  1105.     {
  1106.         if(IsDynamicObjectMoving(Roller_Platform)) return 1;
  1107.         new Float:pos[3];
  1108.         GetDynamicObjectPos(Roller_Platform, pos[0], pos[1], pos[2]);
  1109.  
  1110.         if(pos[2] == 5.97849) MoveDynamicObject(Roller_Platform, pos[0], pos[1], 25.5624, 2.5);
  1111.         return 1;
  1112.     }
  1113.     //Roller
  1114.    
  1115.     //Carousel
  1116.     if (strcmp("/carousel", cmdtext, true, 10) == 0)
  1117.     {
  1118.         if(IsObjectMoving(Carousel_Base)) return 1;
  1119.         new Float:pos[3];
  1120.         GetObjectPos(Carousel_Base, pos[0], pos[1], pos[2]);
  1121.  
  1122.         new Float:rot[3];
  1123.         GetObjectRot(Carousel_Base, rot[0], rot[1], rot[2]);
  1124.  
  1125.         if(rot[2] == 0.0) MoveObject(Carousel_Base, pos[0], pos[1], pos[2]+0.1005, 0.01, 0.00, 0.00, 180.00);
  1126.         return 1;
  1127.     }
  1128.     //Carousel
  1129.    
  1130.     //Revolution
  1131.     if (strcmp("/revolution", cmdtext, true, 10) == 0)
  1132.     {
  1133.         if(IsObjectMoving(Revolution_Base)) return 1;
  1134.         new Float:pos[3];
  1135.         GetObjectPos(Revolution_Base, pos[0], pos[1], pos[2]);
  1136.        
  1137.         new Float:rot[3];
  1138.         GetObjectRot(Revolution_Base, rot[0], rot[1], rot[2]);
  1139.  
  1140.         if(rot[2] == 0) MoveObject(Revolution_Base, pos[0], pos[1], pos[2]+0.1005, 0.01, 0.00, 0.00, 180.00);
  1141.         return 1;
  1142.     }
  1143.     //Revolution
  1144.    
  1145.     //TopGun
  1146.     if (strcmp("/topgun", cmdtext, true, 10) == 0)
  1147.     {
  1148.         if(IsDynamicObjectMoving(Topgun_Stairs[0])) return 1;
  1149.         if(IsObjectMoving(Topgun_Base)) return 1;
  1150.         new Float:pos[6];
  1151.         GetDynamicObjectPos(Topgun_Stairs[0], pos[0], pos[1], pos[2]);
  1152.         GetDynamicObjectPos(Topgun_Stairs[1], pos[3], pos[4], pos[5]);
  1153.         MoveDynamicObject(Topgun_Stairs[0], pos[0], pos[1], pos[2]-3.5, 1.5);
  1154.         MoveDynamicObject(Topgun_Stairs[1], pos[3], pos[4], pos[5]-3.5, 1.5);
  1155.         stair = true;
  1156.         return 1;
  1157.     }
  1158.     //TopGun
  1159.    
  1160.     //TheJail
  1161.     if (strcmp("/thejail", cmdtext, true, 10) == 0)
  1162.     {
  1163.         if(IsObjectMoving(Jail_Base)) return 1;
  1164.         if(IsObjectMoving(Jail_Doors[0])) return 1;
  1165.         new Float:pos2[3];
  1166.         GetObjectPos(Jail_Doors[0], pos2[0], pos2[1], pos2[2]);
  1167.         MoveObject(Jail_Doors[0], pos2[0]-1.5, pos2[1], pos2[2], 1.5);
  1168.  
  1169.         new Float:pos3[3];
  1170.         GetObjectPos(Jail_Doors[1], pos3[0], pos3[1], pos3[2]);
  1171.         MoveObject(Jail_Doors[1], pos3[0]+1.5, pos3[1], pos3[2], 1.5);
  1172.         door = false;
  1173.         return 1;
  1174.     }
  1175.     //TheJail
  1176.    
  1177.     //Projekt
  1178.     if (strcmp("/projekt", cmdtext, true, 10) == 0)
  1179.     {
  1180.         if(IsObjectMoving(Projekt_Base[0])) return 1;
  1181.         new Float:pos[3];
  1182.         GetObjectPos(Projekt_Base[0], pos[0], pos[1], pos[2]);
  1183.         new Float:rot[3];
  1184.         GetObjectRot(Projekt_Base[0], rot[0], rot[1], rot[2]);
  1185.         if(rot[0] == 0.00) MoveObject(Projekt_Base[0], pos[0], pos[1], pos[2]+0.1005, 0.1, 10.00, 90.00, 0.00);
  1186.         return 1;
  1187.     }
  1188.     //Projekt
  1189.    
  1190.     //Observer
  1191.     if (strcmp("/observer", cmdtext, true, 10) == 0)
  1192.     {
  1193.         if(IsObjectMoving(Observer_Base)) return 1;
  1194.         new Float:pos[3];
  1195.         GetObjectPos(Observer_Base, pos[0], pos[1], pos[2]);
  1196.  
  1197.         new Float:rot[3];
  1198.         GetObjectRot(Observer_Base, rot[0], rot[1], rot[2]);
  1199.         if(rot[2] == 0) MoveObject(Observer_Base, pos[0], pos[1], pos[2]+95.61682, 5.5, 0, 0, 180);
  1200.         return 1;
  1201.     }
  1202.     //Observer
  1203.    
  1204.     //FerrisWheel
  1205.     if (strcmp("/ferriswheel", cmdtext, true, 10) == 0)
  1206.     {
  1207.         if(IsObjectMoving(FerrisWheel_Base)) return 1;
  1208.         new Float:pos[3];
  1209.         GetObjectPos(FerrisWheel_Base, pos[0], pos[1], pos[2]);
  1210.         new Float:rot[3];
  1211.         GetObjectRot(FerrisWheel_Base, rot[0], rot[1], rot[2]);
  1212.         if(rot[1] == 0.00) MoveObject(FerrisWheel_Base, pos[0], pos[1], pos[2]+0.05, 0.01, 0.00, 180.00, 90.00);
  1213.         return 1;
  1214.     }
  1215.     //FerrisWheel
  1216.    
  1217.     //Caida Libre
  1218.     if (strcmp("/caida", cmdtext, true, 10) == 0)
  1219.     {
  1220.         if(IsObjectMoving(Caida_Base[0])) return 1;
  1221.         new Float:pos[3];
  1222.         GetObjectPos(Caida_Base[0], pos[0], pos[1], pos[2]);
  1223.         if(pos[2] == 13.52)  MoveObject(Caida_Base[0], pos[0], pos[1], pos[2]+5.5, 1.5);
  1224.         return 1;
  1225.     }
  1226.     //Caida Libre
  1227.  
  1228.     //Crazy Cow
  1229.     if (strcmp("/cow", cmdtext, true, 10) == 0)
  1230.     {
  1231.         if(IsDynamicObjectMoving(Cow_Seats[0])) return 1;
  1232.         new Float:pos[12];
  1233.         GetDynamicObjectPos(Cow_Seats[0], pos[0], pos[1], pos[2]);
  1234.         new Float:rot[3];
  1235.         GetDynamicObjectRot(Cow_Seats[0], rot[0], rot[1], rot[2]);
  1236.         MoveDynamicObject(Cow_Seats[0], pos[0], pos[1], pos[2]+0.05, 0.5, random(10), random(10), random(5));
  1237.         MoveDynamicObject(Cow_Seats[1], pos[3], pos[4], pos[5]+0.05, 0.5, random(10), random(10), random(5));
  1238.         MoveDynamicObject(Cow_Seats[2], pos[6], pos[7], pos[8]+0.05, 0.5, random(10), random(10), random(5));
  1239.         MoveDynamicObject(Cow_Seats[3], pos[9], pos[10], pos[11]+0.05, 0.5, random(10), random(10), random(5));
  1240.         ret = 0;
  1241.         SetTimer("StopBull", BULL_TIME, 0);
  1242.         return 1;
  1243.     }
  1244.     //Crazy Cow
  1245.    
  1246.     // /asiento
  1247.     if (strcmp("/asiento", cmdtext, true, 10) == 0) return ApplyAnimation(playerid, "ped", "SEAT_down", 4.000000, 0, 0, 0, 1, 0);
  1248.     // /funfair
  1249.     if (strcmp("/funfair", cmdtext, true, 10) == 0) return SetPlayerPos(playerid, 832.609008, -1805.639282, 13.045351);
  1250.     // /startall
  1251.     if (strcmp("/startall", cmdtext, true, 10) == 0)
  1252.     {
  1253.         OnPlayerCommandText(playerid, "/carousel");
  1254.         OnPlayerCommandText(playerid, "/revolution");
  1255.         OnPlayerCommandText(playerid, "/topgun");
  1256.         OnPlayerCommandText(playerid, "/thejail");
  1257.         OnPlayerCommandText(playerid, "/projekt");
  1258.         OnPlayerCommandText(playerid, "/observer");
  1259.         OnPlayerCommandText(playerid, "/ferriswheel");
  1260.         OnPlayerCommandText(playerid, "/caida");
  1261.         OnPlayerCommandText(playerid, "/cow");
  1262.         OnPlayerCommandText(playerid, "/roller"); //OPTIONAL
  1263.         return 1;
  1264.     }
  1265.     return 0;
  1266. }
  1267.  
  1268. public OnDynamicObjectMoved(objectid)
  1269. {
  1270.     //Roller
  1271.     if(objectid == Roller_Platform)
  1272.     {
  1273.         new Float:pos[3];
  1274.         GetDynamicObjectPos(Roller_Platform, pos[0], pos[1], pos[2]);
  1275.         if(pos[2] == 25.5624) SetTimer("DownRollerBase", 5000, 0);
  1276.     }
  1277.     //Roller
  1278.    
  1279.     //TopGun
  1280.     if(objectid == Topgun_Stairs[0])
  1281.     {
  1282.         if(stair)
  1283.         {
  1284.             new Float:pos[3];
  1285.             GetObjectPos(Topgun_Base, pos[0], pos[1], pos[2]);
  1286.             new Float:rot[3];
  1287.             GetObjectRot(Topgun_Base, rot[0], rot[1], rot[2]);
  1288.             if(rot[0] == 0.00) MoveObject(Topgun_Base, pos[0], pos[1], pos[2]+0.1005, 0.01, -180.00, 90.00, 90.00);
  1289.         }
  1290.     }
  1291.     //TopGun
  1292.    
  1293.     //Crazy Cow
  1294.     if(objectid == Cow_Seats[0])
  1295.     {
  1296.         new Float:pos[12];
  1297.         GetDynamicObjectPos(Cow_Seats[0], pos[0], pos[1], pos[2]);
  1298.         GetDynamicObjectPos(Cow_Seats[1], pos[3], pos[4], pos[5]);
  1299.         GetDynamicObjectPos(Cow_Seats[2], pos[6], pos[7], pos[8]);
  1300.         GetDynamicObjectPos(Cow_Seats[3], pos[9], pos[10], pos[11]);
  1301.  
  1302.  
  1303.         if(ret == -1) return 1;
  1304.         else if(ret == 0)
  1305.         {
  1306.             MoveDynamicObject(Cow_Seats[0], pos[0], pos[1], pos[2]-0.05, 0.5, -random(10), -random(10), -random(5));
  1307.             MoveDynamicObject(Cow_Seats[1], pos[3], pos[4], pos[5]-0.05, 0.5, -random(10), -random(10), -random(5));
  1308.             MoveDynamicObject(Cow_Seats[2], pos[6], pos[7], pos[8]-0.05, 0.5, -random(10), -random(10), -random(5));
  1309.             MoveDynamicObject(Cow_Seats[3], pos[9], pos[10], pos[11]-0.05, 0.5, -random(10), -random(10), -random(5));
  1310.             ret = 1;
  1311.         }
  1312.         else if(ret == 1)
  1313.         {
  1314.             MoveDynamicObject(Cow_Seats[0], pos[0], pos[1], pos[2]+0.05, 0.5, random(10), random(10), random(5));
  1315.             MoveDynamicObject(Cow_Seats[1], pos[3], pos[4], pos[5]+0.05, 0.5, random(10), random(10), random(5));
  1316.             MoveDynamicObject(Cow_Seats[2], pos[6], pos[7], pos[8]+0.05, 0.5, random(10), random(10), random(5));
  1317.             MoveDynamicObject(Cow_Seats[3], pos[9], pos[10], pos[11]+0.05, 0.5, random(10), random(10), random(5));
  1318.             ret = 0;
  1319.         }
  1320.     }
  1321.     //Crazy Cow
  1322.     return 1;
  1323. }
  1324.  
  1325. public OnObjectMoved(objectid)
  1326. {
  1327.     //Carousel
  1328.     if(objectid == Carousel_Base)
  1329.     {
  1330.         new Float:pos[3];
  1331.         GetObjectPos(Carousel_Base, pos[0], pos[1], pos[2]);
  1332.  
  1333.         new Float:rot[3];
  1334.         GetObjectRot(Carousel_Base, rot[0], rot[1], rot[2]);
  1335.  
  1336.         if(rot[2] == 180) MoveObject(Carousel_Base, pos[0], pos[1], pos[2]-0.1005, 0.01, 0.00, 0.00, 360.00);
  1337.         else if(rot[2] == 360) MoveObject(Carousel_Base, pos[0], pos[1], pos[2]+0.1005, 0.01, 0.00, 0.00, 0.00);
  1338.      }
  1339.     //Carousel
  1340.        
  1341.     //Revolution
  1342.     if(objectid == Revolution_Base)
  1343.     {
  1344.         new Float:pos[3];
  1345.         GetObjectPos(Revolution_Base, pos[0], pos[1], pos[2]);
  1346.  
  1347.         new Float:rot[3];
  1348.         GetObjectRot(Revolution_Base, rot[0], rot[1], rot[2]);
  1349.        
  1350.         if(rot[2] == 180) MoveObject(Revolution_Base, pos[0], pos[1], pos[2]-0.1005, 0.02, 0.00, 0.00, 360.00);
  1351.         else if(rot[2] == 360) MoveObject(Revolution_Base, pos[0], pos[1], pos[2]+0.1005, 0.033, 0.00, 0.00, -170.00);
  1352.         else if(rot[2] == -170) MoveObject(Revolution_Base, pos[0], pos[1], pos[2]-0.1005, 0.03, 0.00, 0.00, -350.00);
  1353.         else if(rot[2] == -350) MoveObject(Revolution_Base, pos[0], pos[1], pos[2]+0.1005, 0.02, 0.00, 0.00, -150.00);
  1354.         else if(rot[2] == -150) MoveObject(Revolution_Base, pos[0], pos[1], pos[2]-0.1005, 0.1, 0.00, 0.00, -180.00);
  1355.         else if(rot[2] == -180) MoveObject(Revolution_Base, pos[0], pos[1], pos[2]+0.1005, 0.01, 0.00, 0.00, 0.00);
  1356.     }
  1357.     //Revolution
  1358.    
  1359.     //TopGun
  1360.     if(objectid == Topgun_Base)
  1361.     {
  1362.         new Float:pos[3];
  1363.         GetObjectPos(Topgun_Base, pos[0], pos[1], pos[2]);
  1364.         new Float:rot[3];
  1365.         GetObjectRot(Topgun_Base, rot[0], rot[1], rot[2]);
  1366.         if(rot[0] == -180.00) MoveObject(Topgun_Base, pos[0], pos[1], pos[2]-0.1005, 0.02, -360.00, 90.00, 90.00);
  1367.         else if(rot[0] == -360.00) MoveObject(Topgun_Base, pos[0], pos[1], pos[2]+0.1005, 0.03, -181.00, 90.00, 90.00);
  1368.         else if(rot[0] == -181.00) MoveObject(Topgun_Base, pos[0], pos[1], pos[2]+0.1005, 0.05, -361.00, 90.00, 90.00);
  1369.         else if(rot[0] == -361.00) MoveObject(Topgun_Base, pos[0], pos[1], pos[2]-0.1005, 0.04, -182.00, 90.00, 90.00);
  1370.         else if(rot[0] == -182.00) MoveObject(Topgun_Base, pos[0], pos[1], pos[2]-0.1005, 0.02, -5.0, 90.00, 90.00);
  1371.         else if(rot[0] == -5.0) MoveObject(Topgun_Base, pos[0], pos[1], pos[2]+0.1005, 0.1, 0.00, 90.00, 90.00);
  1372.         else if(rot[0] == 0.0)
  1373.         {
  1374.             new Float:posa[6];
  1375.             GetDynamicObjectPos(Topgun_Stairs[0], posa[0], posa[1], posa[2]);
  1376.             GetDynamicObjectPos(Topgun_Stairs[1], posa[3], posa[4], posa[5]);
  1377.             MoveDynamicObject(Topgun_Stairs[0], posa[0], posa[1], posa[2]+3.5, 1.5);
  1378.             MoveDynamicObject(Topgun_Stairs[1], posa[3], posa[4], posa[5]+3.5, 1.5);
  1379.             stair = false;
  1380.         }
  1381.     }
  1382.     //TopGun
  1383.    
  1384.     //TheJail
  1385.     if(objectid == Jail_Doors[0])
  1386.     {
  1387.         if(!door)
  1388.         {
  1389.             if(IsObjectMoving(Jail_Base)) return 1;
  1390.             if(IsObjectMoving(Jail_Doors[0])) return 1;
  1391.             new Float:pos[3];
  1392.             GetObjectPos(Jail_Base, pos[0], pos[1], pos[2]);
  1393.             new Float:rot[3];
  1394.             GetObjectRot(Jail_Base, rot[0], rot[1], rot[2]);
  1395.             AttachObjectToObject(Jail_Doors[0], Jail_BasePlatform, 0.894, 3.5, -0.6093, 0, 0, 0, 1);
  1396.             AttachObjectToObject(Jail_Doors[1], Jail_BasePlatform, -0.894, 3.5, -0.6093, 0, 0, 0, 1);
  1397.             if(rot[1] == 0.00) MoveObject(Jail_Base, pos[0], pos[1], pos[2]+0.1005, 0.01, 0.0, 180.0, 0);
  1398.         }
  1399.     }
  1400.  
  1401.     if(objectid == Jail_Base)
  1402.     {
  1403.         new Float:t[3];
  1404.         GetObjectRot(Jail_Base, t[0], t[1], t[2]);
  1405.         if(t[0] == 0.0 && t[1] == 180.0 && t[2] == 0.0)
  1406.         {
  1407.             new Float:pos[3];
  1408.             GetObjectPos(Jail_Base, pos[0], pos[1], pos[2]);
  1409.             MoveObject(Jail_Base, pos[0], pos[1], pos[2]-0.1005, 0.01, 0.0, -359.0, 0);
  1410.         }
  1411.         else if(t[0] == 0.0 && t[1] == -359.0 && t[2] == 0.0)
  1412.         {
  1413.             new Float:pos[3];
  1414.             GetObjectPos(Jail_Base, pos[0], pos[1], pos[2]);
  1415.             MoveObject(Jail_Base, pos[0], pos[1], pos[2]-0.005, 0.1, 0.0, 0.0, 0);
  1416.         }
  1417.         else if(t[0] == 0.0 && t[1] == 0.0 && t[2] == 0.0)
  1418.         {
  1419.             new Float:pos[6];
  1420.             GetObjectPos(Jail_Doors[0], pos[0], pos[1], pos[2]);
  1421.             GetObjectPos(Jail_Doors[1], pos[3], pos[4], pos[5]);
  1422.             DestroyObject(Jail_Doors[0]);
  1423.             DestroyObject(Jail_Doors[1]);
  1424.             Jail_Doors[0] = CreateObject(19303, pos[0], pos[1], pos[2],   0.00, 0.00, 0.00);
  1425.             Jail_Doors[1] = CreateObject(19302, pos[3], pos[4], pos[5],   0.00, 0.00, 0.00);
  1426.             new Float:pos2[3];
  1427.             GetObjectPos(Jail_Doors[0], pos2[0], pos2[1], pos2[2]);
  1428.             MoveObject(Jail_Doors[0], pos2[0]+1.5, pos2[1], pos2[2], 1.5);
  1429.             new Float:pos3[3];
  1430.             GetObjectPos(Jail_Doors[1], pos3[0], pos3[1], pos3[2]);
  1431.             MoveObject(Jail_Doors[1], pos3[0]-1.5, pos3[1], pos3[2], 1.5);
  1432.             door = true;
  1433.         }
  1434.     }
  1435.     //TheJail
  1436.    
  1437.     //Projekt
  1438.     if(objectid == Projekt_Base[0])
  1439.     {
  1440.         new Float:pos[3];
  1441.         GetObjectPos(Projekt_Base[0], pos[0], pos[1], pos[2]);
  1442.         new Float:rot[3];
  1443.         GetObjectRot(Projekt_Base[0], rot[0], rot[1], rot[2]);
  1444.         if(rot[0] == 10.00) MoveObject(Projekt_Base[0], pos[0], pos[1], pos[2]-0.1005, 0.3, 12.00, 90.00, 0.00);
  1445.         else if(rot[0] == 12.00) MoveObject(Projekt_Base[0], pos[0], pos[1], pos[2]+0.1005, 0.11, -20.00, 90.00, 0.00);
  1446.         else if(rot[0] == -20.00) MoveObject(Projekt_Base[0], pos[0], pos[1], pos[2]-0.1005, 0.33, -22.00, 90.00, 0.00);
  1447.         else if(rot[0] == -22.00) MoveObject(Projekt_Base[0], pos[0], pos[1], pos[2]+0.1005, 0.12, 30.00, 90.00, 0.00);
  1448.         else if(rot[0] == 30.00) MoveObject(Projekt_Base[0], pos[0], pos[1], pos[2]-0.1005, 0.333, 32.00, 90.00, 0.00);
  1449.         else if(rot[0] == 32.00) MoveObject(Projekt_Base[0], pos[0], pos[1], pos[2]+0.1005, 0.12, -50.00, 90.00, 0.00);
  1450.         else if(rot[0] == -50.00) MoveObject(Projekt_Base[0], pos[0], pos[1], pos[2]-0.1005, 0.333, -52.00, 90.00, 0.00);
  1451.         else if(rot[0] == -52.00) MoveObject(Projekt_Base[0], pos[0], pos[1], pos[2]+0.1005, 0.12, 70.00, 90.00, 0.00);
  1452.         else if(rot[0] == 70.00) MoveObject(Projekt_Base[0], pos[0], pos[1], pos[2]-0.1005, 0.333, 73.00, 90.00, 0.00);
  1453.         else if(rot[0] == 73.00) MoveObject(Projekt_Base[0], pos[0], pos[1], pos[2]+0.1005, 0.12, -1.00, 90.00, 0.00);
  1454.         else if(rot[0] == -1.00) MoveObject(Projekt_Base[0], pos[0], pos[1], pos[2]-0.1005, 0.12, -95, 90.00, 0.00);
  1455.         else if(rot[0] == -95.00) MoveObject(Projekt_Base[0], pos[0], pos[1], pos[2]+0.1005, 0.333, -98.00, 90.00, 0.00);
  1456.         else if(rot[0] == -98.00) MoveObject(Projekt_Base[0], pos[0], pos[1], pos[2]-0.1005, 0.12, 5.00, 90.00, 0.00);
  1457.         else if(rot[0] == 5.00) MoveObject(Projekt_Base[0], pos[0], pos[1], pos[2]+0.1005, 0.12, 100.00, 90.00, 0.00);
  1458.         else if(rot[0] == 100.00) MoveObject(Projekt_Base[0], pos[0], pos[1], pos[2]-0.1005, 0.333, 103.00, 90.00, 0.00);
  1459.         else if(rot[0] == 103.00) MoveObject(Projekt_Base[0], pos[0], pos[1], pos[2]+0.1005, 0.12, -5.00, 90.00, 0.00);
  1460.         else if(rot[0] == -5.00) MoveObject(Projekt_Base[0], pos[0], pos[1], pos[2]-0.1005, 0.12, -150.00, 90.00, 0.00);
  1461.         else if(rot[0] == -150.00) MoveObject(Projekt_Base[0], pos[0], pos[1], pos[2]+0.1005, 0.333, -153.00, 90.00, 0.00);
  1462.         else if(rot[0] == -153.00) MoveObject(Projekt_Base[0], pos[0], pos[1], pos[2]-0.1005, 0.12, 6.00, 90.00, 0.00);
  1463.         else if(rot[0] == 6.00) MoveObject(Projekt_Base[0], pos[0], pos[1], pos[2]+0.1005, 0.12, 90.00, 90.00, 0.00);
  1464.         else if(rot[0] == 90.00) MoveObject(Projekt_Base[0], pos[0], pos[1], pos[2]-0.1005, 0.333, 93.00, 90.00, 0.00);
  1465.         else if(rot[0] == 93.00) MoveObject(Projekt_Base[0], pos[0], pos[1], pos[2]+0.1005, 0.12, -60.00, 90.00, 0.00);
  1466.         else if(rot[0] == -60.00) MoveObject(Projekt_Base[0], pos[0], pos[1], pos[2]-0.1005, 0.333, -63.00, 90.00, 0.00);
  1467.         else if(rot[0] == -63.00) MoveObject(Projekt_Base[0], pos[0], pos[1], pos[2]+0.1005, 0.11, 40.00, 90.00, 0.00);
  1468.         else if(rot[0] == 40.00) MoveObject(Projekt_Base[0], pos[0], pos[1], pos[2]-0.1005, 0.333, 43.00, 90.00, 0.00);
  1469.         else if(rot[0] == 43.00) MoveObject(Projekt_Base[0], pos[0], pos[1], pos[2]+0.1005, 0.11, -21.00, 90.00, 0.00);
  1470.         else if(rot[0] == -21.00) MoveObject(Projekt_Base[0], pos[0], pos[1], pos[2]-0.1005, 0.333, -23.00, 90.00, 0.00);
  1471.         else if(rot[0] == -23.00) MoveObject(Projekt_Base[0], pos[0], pos[1], pos[2]+0.1005, 0.11, 9.00, 90.00, 0.00);
  1472.         else if(rot[0] == 9.00) MoveObject(Projekt_Base[0], pos[0], pos[1], pos[2]-0.1005, 0.333, 11.00, 90.00, 0.00);
  1473.         else if(rot[0] == 11.00) MoveObject(Projekt_Base[0], pos[0], pos[1], pos[2]+0.1005, 0.10, -3.00, 90.00, 0.00);
  1474.         else if(rot[0] == -3.00) MoveObject(Projekt_Base[0], pos[0], pos[1], pos[2]-0.1005, 0.10, 0.00, 90.00, 0.00);
  1475.     }
  1476.     //Projekt
  1477.    
  1478.     //Observer
  1479.     if(objectid == Observer_Base)
  1480.     {
  1481.         new Float:rot[3];
  1482.         GetObjectRot(Observer_Base, rot[0], rot[1], rot[2]);
  1483.         if(rot[2] == 180) SetTimer("DownObserver_Base", 5000, 0);
  1484.         else if(rot[2] == 360) SetObjectRot(Observer_Base, 0, 0, 0);
  1485.     }
  1486.     //Observer
  1487.    
  1488.     //FerrisWheel
  1489.     if(objectid == FerrisWheel_Base)
  1490.     {
  1491.         new Float:pos[3];
  1492.         GetObjectPos(FerrisWheel_Base, pos[0], pos[1], pos[2]);
  1493.         new Float:rot[3];
  1494.         GetObjectRot(FerrisWheel_Base, rot[0], rot[1], rot[2]);
  1495.         if(rot[1] == 180.00) MoveObject(FerrisWheel_Base, pos[0], pos[1], pos[2]-0.05, 0.01, 0.00, 360.00, 90.00);
  1496.         else if(rot[1] == 360.00) MoveObject(FerrisWheel_Base, pos[0], pos[1], pos[2]+0.05, 0.01, 0.00, 0.00, 90.00);
  1497.     }
  1498.     //FerrisWheel
  1499.    
  1500.     //Caida Libre
  1501.     if(objectid == Caida_Base[0])
  1502.     {
  1503.         new Float:pos[3];
  1504.         GetObjectPos(Caida_Base[0], pos[0], pos[1], pos[2]);
  1505.         if(pos[2] == 19.0200) MoveObject(Caida_Base[0], pos[0], pos[1], pos[2]+34.5, 2.5);
  1506.         else if(pos[2] == 53.52) MoveObject(Caida_Base[0], pos[0], pos[1], pos[2]+2.5993, 1.5);
  1507.         else if(pos[2] == 56.1193) SetTimer("DownCaida_Base", 3000, 0);
  1508.         else if(pos[2] == 18.52) MoveObject(Caida_Base[0], pos[0], pos[1], pos[2]-5, 1.5);
  1509.     }
  1510.     //Caida Libre
  1511.     return 1;
  1512. }
  1513.  
  1514. //Roller
  1515. forward DownRollerBase();
  1516. public DownRollerBase()
  1517. {
  1518.     new Float:pos[3];
  1519.     GetDynamicObjectPos(Roller_Platform, pos[0], pos[1], pos[2]);
  1520.     MoveDynamicObject(Roller_Platform, pos[0], pos[1], 5.97849, 2.5);
  1521.     return 1;
  1522. }
  1523. //Roller
  1524.  
  1525. //Observer
  1526. forward DownObserver_Base();
  1527. public DownObserver_Base()
  1528. {
  1529.     new Float:pos[3];
  1530.     GetObjectPos(Observer_Base, pos[0], pos[1], pos[2]);
  1531.     MoveObject(Observer_Base, pos[0], pos[1], pos[2]-95.61682, 15.5, 0, 0, 360);
  1532.     return 1;
  1533. }
  1534. //Observer
  1535.  
  1536. //Caida Libre
  1537. forward DownCaida_Base();
  1538. public DownCaida_Base()
  1539. {
  1540.     new Float:pos[3];
  1541.     GetObjectPos(Caida_Base[0], pos[0], pos[1], pos[2]);
  1542.     MoveObject(Caida_Base[0], pos[0], pos[1], pos[2]-37.5993, 15.5);
  1543.     return 1;
  1544. }
  1545. //Caida Libre
  1546.  
  1547. //Crazy Cow
  1548. forward StopBull();
  1549. public StopBull()
  1550. {
  1551.     new Float:pos[12];
  1552.     GetDynamicObjectPos(Cow_Seats[0], pos[0], pos[1], pos[2]);
  1553.     GetDynamicObjectPos(Cow_Seats[1], pos[3], pos[4], pos[5]);
  1554.     GetDynamicObjectPos(Cow_Seats[2], pos[6], pos[7], pos[8]);
  1555.     GetDynamicObjectPos(Cow_Seats[3], pos[9], pos[10], pos[11]);
  1556.     if(ret == 0)
  1557.     {
  1558.         MoveDynamicObject(Cow_Seats[0], pos[0], pos[1], pos[2]-0.05, 0.5, 0.00, 0.00, 0.00);
  1559.         MoveDynamicObject(Cow_Seats[1], pos[3], pos[4], pos[5]-0.05, 0.5, 0.00, 0.00, 0.00);
  1560.         MoveDynamicObject(Cow_Seats[2], pos[6], pos[7], pos[8]-0.05, 0.5, 0.00, 0.00, 0.00);
  1561.         MoveDynamicObject(Cow_Seats[3], pos[9], pos[10], pos[11]-0.05, 0.5, 0.00, 0.00, 0.00);
  1562.         ret = -1;
  1563.     }
  1564.     else if(ret == 1)
  1565.     {
  1566.         MoveDynamicObject(Cow_Seats[0], pos[0], pos[1], pos[2]+0.05, 0.5, 0.00, 0.00, 0.00);
  1567.         MoveDynamicObject(Cow_Seats[1], pos[3], pos[4], pos[5]+0.05, 0.5, 0.00, 0.00, 0.00);
  1568.         MoveDynamicObject(Cow_Seats[2], pos[6], pos[7], pos[8]+0.05, 0.5, 0.00, 0.00, 0.00);
  1569.         MoveDynamicObject(Cow_Seats[3], pos[9], pos[10], pos[11]+0.05, 0.5, 0.00, 0.00, 0.00);
  1570.         ret = -1;
  1571.     }
  1572.     return 1;
  1573. }
  1574. //Crazy Cow
Advertisement
Add Comment
Please, Sign In to add comment