Advertisement
LucasLessa

Pawn Drift underground

Sep 15th, 2011
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 83.56 KB | None | 0 0
  1. #include <a_samp>
  2. #include <core>
  3. #include <a_objects>
  4. #include <float>
  5. #include <Y_Objects>
  6. #include <dutils>
  7. #include <dudb>
  8. #define dcmd(%1,%2,%3) if ((strcmp((%3)[1], #%1, true, (%2)) == 0) && ((((%3)[(%2) + 1] == 0) && (dcmd_%1(playerid, "")))||(((%3)[(%2) + 1] == 32) && (dcmd_%1(playerid, (%3)[(%2) + 2]))))) return 1
  9.  
  10. #pragma tabsize 0
  11.  
  12. #define MAXIMAS_TENTATIVAS 3 // numero de tentativas antes do kick
  13. #define MINIMO 4 //Minimas letras da senha
  14. #define MAXIMO 19//Maximas Letras Da senha
  15. #define ANTIFLOOD 3
  16.  
  17. #define AZUL                    0x2D40F5AA
  18. #define AZUL_CLARO              0x06DDD5AA
  19. #define VERDE                   0x0B6806AA
  20. #define VERDE_CLARO             0x06FF00AA
  21. #define VERMELHO                0xFF0000AA
  22. #define VERMELHO_ESCURO         0x900808AA
  23. #define ROSA                    0xFF00C6AA
  24. #define AMARELO                 0xF6FF00AA
  25. #define AMARELO_QUEIMADO        0xC4A80dAA
  26. #define PRETO                   0x000000AA
  27. #define CINZA                   0x494C49AA
  28. #define BRANCO                  0xFFFFFFAA
  29. #define VERMELHO_BRILHOSO       0xFF0000AA
  30. #define VERDE_MAR               0x00EEADDF
  31. #define COR_SISTEMA             0xEFEFF7AA
  32.  
  33. new String[256];
  34. new CriouCarro[MAX_PLAYERS];
  35. new carro;
  36.  
  37. new PLAYERLIST_authed[MAX_PLAYERS];
  38. new pkills[MAX_PLAYERS];
  39. new pdeaths[MAX_PLAYERS];
  40. new tentativas[MAX_PLAYERS];
  41. new MinutosDeJogo[MAX_PLAYERS];
  42. new HorasJogo[MAX_PLAYERS];
  43. //new inominado[MAX_PLAYERS];//anti flood
  44. new ConnectTimer;
  45.  
  46. new Portao[20];
  47.  
  48. forward HorasDeJogo();
  49.  
  50. //forwards portoes
  51. forward Portao0(); //drift 1
  52. forward Portao1(); //drift 3
  53. forward Portao2(); //drift 9
  54. forward Portao3(); //drag 1
  55. forward Portao4(); //drag 3
  56. forward Portao5(); //drag 4
  57.  
  58. main()
  59. {
  60.     print("---------------------------------");
  61.     print("---------------------------------");
  62.     print("-----------Game-Mode-------------");
  63.     print("----------DRIFT--PURO------------");
  64.     print("---------by: @lucasbep0----------");
  65.     print("---------------------------------");
  66.     print("---------------------------------");
  67. }
  68.  
  69. public OnGameModeInit()
  70. {
  71.     Create3DTextLabel("Use /portao", BRANCO, -302.6210,1510.9595,76.4072, 20, 0);
  72.     Create3DTextLabel("Use /portao", BRANCO, 2323.0430,1420.1772,42.8203, 20, 0);
  73.     Create3DTextLabel("Use /portao", BRANCO, 1798.4897,-2187.2012,13.5469, 20, 0);
  74.     Create3DTextLabel("Use /portao", BRANCO, 2217.6096,-1737.9972,13.4062, 20, 0);
  75.     Create3DTextLabel("Use /portao", BRANCO, 1012.9409,2469.4368,10.8203, 20, 0);
  76.     Create3DTextLabel("Use /portao", BRANCO, 1801.1781,857.7342,10.6719, 20, 0);
  77.     ConnectTimer = SetTimer("HorasDeJogo",60000,1);
  78.     //CARROS
  79.     //
  80.     //pista1
  81.     AddStaticVehicle(562,-339.67660522,1516.02197266,75.09602356,0.00000000,-1,-1); //Elegy
  82.     AddStaticVehicle(562,-336.34777832,1516.21276855,75.09602356,0.00000000,-1,-1); //Elegy
  83.     AddStaticVehicle(562,-333.33605957,1516.37768555,75.09602356,0.00000000,-1,-1); //Elegy
  84.     AddStaticVehicle(562,-330.48956299,1516.23779297,75.09602356,0.00000000,-1,-1); //Elegy
  85.     AddStaticVehicle(562,-327.34344482,1516.08312988,75.09602356,0.00000000,-1,-1); //Elegy
  86.     AddStaticVehicle(562,-324.04760742,1515.92126465,75.09602356,0.00000000,-1,-1); //Elegy
  87.     AddStaticVehicle(562,-320.90151978,1515.76660156,75.09602356,0.00000000,-1,-1); //Elegy
  88.     AddStaticVehicle(562,-317.92144775,1515.62194824,75.09360504,0.00000000,-1,-1); //Elegy
  89.     AddStaticVehicle(562,-314.73687744,1516.02136230,75.09360504,0.00000000,-1,-1); //Elegy
  90.     //pista 2
  91.     AddStaticVehicle(562,2240.01147461,1952.57324219,31.56491661,179.99993896,-1,-1); //Elegy
  92.     AddStaticVehicle(562,2243.17163086,1952.57324219,31.56491661,179.99450684,-1,-1); //Elegy
  93.     AddStaticVehicle(562,2246.90698242,1952.57324219,31.56491661,179.99450684,-1,-1); //Elegy
  94.     AddStaticVehicle(562,2250.56518555,1952.57324219,31.56491661,179.99450684,-1,-1); //Elegy
  95.     AddStaticVehicle(562,2240.05224609,1974.90808105,31.56491661,359.99450684,-1,-1); //Elegy
  96.     AddStaticVehicle(562,2243.77172852,1974.88500977,31.56491661,359.99450684,-1,-1); //Elegy
  97.     AddStaticVehicle(562,2247.38232422,1974.90808105,31.56491661,359.99450684,-1,-1); //Elegy
  98.     AddStaticVehicle(562,2250.89965820,1974.90808105,31.56491661,359.99450684,-1,-1); //Elegy
  99.     //pista 3
  100.     AddStaticVehicle(562,2304.14550781,1408.56274414,42.60557556,270.00000000,-1,-1); //Elegy
  101.     AddStaticVehicle(562,2304.14550781,1412.22460938,42.60557556,270.00000000,-1,-1); //Elegy
  102.     AddStaticVehicle(562,2304.14550781,1415.96313477,42.60557556,270.00000000,-1,-1); //Elegy
  103.     AddStaticVehicle(562,2304.14550781,1426.72680664,42.60557556,270.00000000,-1,-1); //Elegy
  104.     AddStaticVehicle(562,2304.14550781,1430.22363281,42.60557556,270.00000000,-1,-1); //Elegy
  105.     AddStaticVehicle(562,2304.14550781,1433.72521973,42.60557556,270.00000000,-1,-1); //Elegy
  106.     AddStaticVehicle(562,2304.14550781,1437.23132324,42.60557556,270.00000000,-1,-1); //Elegy
  107.     AddStaticVehicle(562,2350.45751953,1412.29675293,42.60557556,90.00000000,-1,-1); //Elegy
  108.     AddStaticVehicle(562,2350.45751953,1415.79809570,42.60557556,90.00000000,-1,-1); //Elegy
  109.     AddStaticVehicle(562,2350.45751953,1419.32397461,42.60557556,90.00000000,-1,-1); //Elegy
  110.     //pista 5
  111.     AddStaticVehicle(562,-2416.37890625,-589.74114990,132.43370056,214.00000000,-1,-1); //Elegy
  112.     AddStaticVehicle(562,-2413.72924805,-587.95153809,132.43370056,216.00000000,-1,-1); //Elegy
  113.     AddStaticVehicle(562,-2411.16284180,-586.04034424,132.43370056,215.99670410,-1,-1); //Elegy
  114.     AddStaticVehicle(562,-2408.65283203,-584.35919189,132.43370056,215.99670410,-1,-1); //Elegy
  115.     AddStaticVehicle(562,-2399.97412109,-612.60089111,132.43370056,35.99670410,-1,-1); //Elegy
  116.     AddStaticVehicle(562,-2397.57934570,-610.98339844,132.43370056,35.99670410,-1,-1); //Elegy
  117.     AddStaticVehicle(562,-2394.93286133,-609.06939697,132.43370056,35.99670410,-1,-1); //Elegy
  118.     AddStaticVehicle(562,-2392.43798828,-607.39727783,132.43370056,35.99670410,-1,-1); //Elegy
  119.     //pista 7
  120.     AddStaticVehicle(562,-2147.02294922,925.72198486,79.63682556,229.99993896,-1,-1); //Elegy
  121.     AddStaticVehicle(562,-2142.10351562,925.76068115,79.63682556,229.99877930,-1,-1); //Elegy
  122.     AddStaticVehicle(562,-2146.69067383,911.13439941,79.63682556,313.99877930,-1,-1); //Elegy
  123.     AddStaticVehicle(562,-2141.47753906,910.97796631,79.63682556,313.99475098,-1,-1); //Elegy
  124.     //pista 8
  125.     AddStaticVehicle(562,1276.83789062,-2038.46130371,58.80290222,90.00000000,-1,-1); //Elegy
  126.     AddStaticVehicle(562,1276.66870117,-2035.50415039,58.79361725,90.00000000,-1,-1); //Elegy
  127.     AddStaticVehicle(562,1276.67041016,-2032.46875000,58.78173828,90.00000000,-1,-1); //Elegy
  128.     AddStaticVehicle(562,1276.72204590,-2029.39379883,58.76903534,90.00000000,-1,-1); //Elegy
  129.     AddStaticVehicle(562,1246.65600586,-2038.69665527,59.59223938,270.00000000,-1,-1); //Elegy
  130.     AddStaticVehicle(562,1246.57531738,-2035.65441895,59.59458923,270.00000000,-1,-1); //Elegy
  131.     AddStaticVehicle(562,1246.49743652,-2032.71789551,59.59684753,270.00000000,-1,-1); //Elegy
  132.     AddStaticVehicle(562,1246.42871094,-2029.90576172,59.59884644,270.00000000,-1,-1); //Elegy
  133.     //pista 9
  134.     AddStaticVehicle(562,1813.93066406,-2204.98022461,13.33213997,66.00000000,-1,-1); //Elegy
  135.     AddStaticVehicle(562,1817.15393066,-2189.81079102,13.33901405,65.99487305,-1,-1); //Elegy
  136.     //drag 2
  137.     AddStaticVehicle(402,422.70718384,2466.12402344,16.44000053,90.00000000,-1,-1); //Buffalo
  138.     AddStaticVehicle(411,422.70718384,2460.64941406,16.29999924,90.00000000,-1,-1); //Infernus
  139.     AddStaticVehicle(415,422.70718384,2454.99072266,16.34952164,90.00000000,-1,-1); //Cheetah
  140.     AddStaticVehicle(429,422.85473633,2450.00122070,16.25621414,90.00000000,-1,-1); //Banshee
  141.     AddStaticVehicle(451,422.99005127,2443.85449219,16.26437187,90.00000000,-1,-1); //Turismo
  142.     AddStaticVehicle(506,388.01855469,2470.66113281,16.29211426,270.00000000,-1,-1); //Super GT
  143.     AddStaticVehicle(541,388.01855469,2464.15722656,16.20000076,270.00000000,-1,-1); //Bullet
  144.     AddStaticVehicle(562,388.01855469,2458.81445312,16.28526497,270.00000000,-1,-1); //Elegy
  145.     AddStaticVehicle(565,388.01562500,2452.24023438,16.19193077,270.00000000,-1,-1); //Flash
  146.     AddStaticVehicle(535,388.01562500,2446.76220703,16.34000015,270.00000000,-1,-1); //Slamvan
  147.     AddStaticVehicle(534,388.01562500,2440.28686523,16.32287788,270.00000000,-1,-1); //Remington
  148.     //
  149.     Object_Object();
  150.     UsePlayerPedAnims();
  151.     SetGameModeText("Drift Underground v1.0");
  152.     AddPlayerClass(170,-329.8357,1536.5107,76.6117,264.8961, 0,0,0,0,-1,-1);
  153.     AddPlayerClass(12,-329.8357,1536.5107,76.6117,264.8961,0,0,0,0,-1,-1);
  154.     AddPlayerClass(19,-329.8357,1536.5107,76.6117,264.8961, 0,0,0,0,-1,-1);
  155.     AddPlayerClass(21,-329.8357,1536.5107,76.6117,264.8961,0,0,0,0,-1,-1);
  156.     AddPlayerClass(22,-329.8357,1536.5107,76.6117,264.8961, 0,0,0,0,-1,-1);
  157.     AddPlayerClass(28,-329.8357,1536.5107,76.6117,264.8961,0,0,0,0,-1,-1);
  158.     AddPlayerClass(29,-329.8357,1536.5107,76.6117,264.8961, 0,0,0,0,-1,-1);
  159.     AddPlayerClass(30,-329.8357,1536.5107,76.6117,264.8961,0,0,0,0,-1,-1);
  160.     AddPlayerClass(43,-329.8357,1536.5107,76.6117,264.8961, 0,0,0,0,-1,-1);
  161.     AddPlayerClass(46,-329.8357,1536.5107,76.6117,264.8961,0,0,0,0,-1,-1);
  162.     AddPlayerClass(59,-329.8357,1536.5107,76.6117,264.8961, 0,0,0,0,-1,-1);
  163.     AddPlayerClass(101,-329.8357,1536.5107,76.6117,264.8961,0,0,0,0,-1,-1);
  164.     AddPlayerClass(111,-329.8357,1536.5107,76.6117,264.8961, 0,0,0,0,-1,-1);
  165.     AddPlayerClass(113,-329.8357,1536.5107,76.6117,264.8961,0,0,0,0,-1,-1);
  166.     AddPlayerClass(120,-329.8357,1536.5107,76.6117,264.8961, 0,0,0,0,-1,-1);
  167.     AddPlayerClass(122,-329.8357,1536.5107,76.6117,264.8961,0,0,0,0,-1,-1);
  168.     AddPlayerClass(124,-329.8357,1536.5107,76.6117,264.8961, 0,0,0,0,-1,-1);
  169.     AddPlayerClass(125,-329.8357,1536.5107,76.6117,264.8961,0,0,0,0,-1,-1);
  170.     AddPlayerClass(2,-329.8357,1536.5107,76.6117,264.8961, 0,0,0,0,-1,-1);
  171.     AddPlayerClass(179,-329.8357,1536.5107,76.6117,264.8961,0,0,0,0,-1,-1);
  172.     AddPlayerClass(181,-329.8357,1536.5107,76.6117,264.8961, 0,0,0,0,-1,-1);
  173.     AddPlayerClass(265,-329.8357,1536.5107,76.6117,264.8961,0,0,0,0,-1,-1);
  174.     AddPlayerClass(185,-329.8357,1536.5107,76.6117,264.8961, 0,0,0,0,-1,-1);
  175.     AddPlayerClass(206,-329.8357,1536.5107,76.6117,264.8961,0,0,0,0,-1,-1);
  176.     AddPlayerClass(217,-329.8357,1536.5107,76.6117,264.8961, 0,0,0,0,-1,-1);
  177.     AddPlayerClass(223,-329.8357,1536.5107,76.6117,264.8961,0,0,0,0,-1,-1);
  178.     AddPlayerClass(247,-329.8357,1536.5107,76.6117,264.8961, 0,0,0,0,-1,-1);
  179.     //drift 1
  180.     CreateObject(3524, -353.92660522461, 1515.9191894531, 77.250961303711, 0, 0, 312);
  181.     CreateObject(3524, -353.73608398438, 1513.6024169922, 77.380714416504, 2, 0, 271.99523925781);
  182.     CreateObject(994, -296.3115234375, 1514.1644287109, 74.359375, 0, 0, 272);
  183.     CreateObject(994, -299.43249511719, 1514.1052246094, 74.359375, 0, 0, 273.9990234375);
  184.     CreateObject(994, -302.78436279297, 1514.1839599609, 74.359375, 0, 0, 273.9990234375);
  185.     CreateObject(994, -306.16375732422, 1514.0274658203, 74.359375, 0, 0, 273.9990234375);
  186.     CreateObject(994, -309.75228881836, 1513.8562011719, 74.359375, 0, 0, 275.9990234375);
  187.     CreateObject(910, -314.73391723633, 1508.7138671875, 75.832046508789, 0, 0, 176);
  188.     CreateObject(910, -323.28942871094, 1507.9534912109, 75.831657409668, 0, 0, 179.99548339844);
  189.     CreateObject(1775, -319.56155395508, 1508.0660400391, 75.659538269043, 0, 0, 182);
  190.     CreateObject(1775, -329.697265625, 1507.9731445313, 75.659538269043, 0, 0, 181.99951171875);
  191.     CreateObject(3460, -316.3356628418, 1347.8128662109, 58.300197601318, 0, 0, 113.96118164063);
  192.     CreateObject(16442, -289.84765625, 1502.8427734375, 76.873123168945, 0, 0, 179.99450683594);
  193.     CreateObject(16120, -324.6901550293, 1476.7698974609, 68.035629272461, 0, 14, 186);
  194.     CreateObject(749, -310.30279541016, 1448.9997558594, 72.283653259277, 0, 0, 0);
  195.     CreateObject(749, -321.31875610352, 1439.2739257813, 68.344902038574, 0, 0, 0);
  196.     CreateObject(749, -327.0729675293, 1448.2810058594, 67.06591796875, 0, 0, 0);
  197.     CreateObject(7392, -286.59381103516, 1390.3493652344, 79.299842834473, 0, 0, 330);
  198.     CreateObject(7073, -300.38201904297, 1381.3045654297, 88.416351318359, 0, 0, 269.99996948242);
  199.     CreateObject(16442, -309.26409912109, 1410.8634033203, 71.870109558105, 0, 0, 281.99450683594);
  200.     CreateObject(979, -305.48388671875, 1455.3892822266, 73.938026428223, 0, 4, 276);
  201.     CreateObject(979, -304.65405273438, 1446.1427001953, 73.229110717773, 0, 4, 275.99853515625);
  202.     CreateObject(979, -303.91387939453, 1437.5074462891, 72.778938293457, 0, 2, 273.99853515625);
  203.     CreateObject(979, -303.04598999023, 1428.708984375, 72.650779724121, 0, 2, 275.99853515625);
  204.     CreateObject(979, -303.26684570313, 1419.9652099609, 72.385047912598, 0, 4, 259.99401855469);
  205.     CreateObject(979, -304.36111450195, 1412.3914794922, 72.006851196289, 0, 2, 263.98950195313);
  206.     CreateObject(979, -388.72903442383, 1469.9592285156, 62.071060180664, 0, 11.99853515625, 245.97714233398);
  207.     CreateObject(979, -391.17025756836, 1462.8262939453, 61.233940124512, 0, 1.9970703125, 257.97290039063);
  208.     CreateObject(979, -391.95849609375, 1453.7100830078, 61.071311950684, 0, 359.99401855469, 271.96997070313);
  209.     CreateObject(979, -390.19146728516, 1445.2452392578, 61.236377716064, 0, 359.98901367188, 291.96655273438);
  210.     CreateObject(979, -386.43933105469, 1437.1987304688, 60.91650390625, 0, 3.9835205078125, 293.96166992188);
  211.     CreateObject(979, -383.0260925293, 1429.0391845703, 60.420028686523, 0, 3.9825439453125, 293.96118164063);
  212.     CreateObject(979, -312.19415283203, 1384.3791503906, 72.559982299805, 0, 1.99853515625, 147.98260498047);
  213.     CreateObject(979, -319.09506225586, 1388.8984375, 72.010543823242, 0, 1.9940185546875, 143.98034667969);
  214.     CreateObject(979, -324.35827636719, 1394.2770996094, 71.871513366699, 0, 1.988525390625, 121.97583007813);
  215.     CreateObject(979, -328.27325439453, 1401.84765625, 71.027534484863, 0, 7.9830322265625, 111.97573852539);
  216.     CreateObject(979, -331.9645690918, 1409.3537597656, 70.163414001465, 0, 5.9775390625, 119.97265625);
  217.     CreateObject(994, -414.80807495117, 1793.5300292969, 69.767463684082, 0, 6, 90);
  218.     CreateObject(994, -414.6071472168, 1786.7575683594, 70.171432495117, 0, 5.99853515625, 90);
  219.     CreateObject(994, -414.86990356445, 1779.6784667969, 70.689910888672, 0, 5.99853515625, 86);
  220.     CreateObject(994, -416.48333740234, 1772.8835449219, 70.984703063965, 0, 1.99853515625, 75.995483398438);
  221.     CreateObject(994, -419.66665649414, 1766.4138183594, 71.179672241211, 0, 1.9940185546875, 61.992431640625);
  222.     CreateObject(994, -424.14312744141, 1761.1483154297, 71.257698059082, 0, 1.988525390625, 47.990356445313);
  223.     CreateObject(994, -429.34832763672, 1756.3879394531, 71.410606384277, 0, 1.9830322265625, 39.988250732422);
  224.     CreateObject(994, -435.70748901367, 1753.4334716797, 71.64966583252, 0, 1.9775390625, 25.984741210938);
  225.     CreateObject(994, -442.03164672852, 1751.1887207031, 71.725074768066, 0, 1.9720458984375, 13.982666015625);
  226.     CreateObject(994, -448.99984741211, 1750.3538818359, 71.692459106445, 0, 1.966552734375, 3.9801025390625);
  227.     CreateObject(994, -455.76916503906, 1751.0406494141, 71.499778747559, 0, 1.9610595703125, 351.97705078125);
  228.     CreateObject(994, -462.3193359375, 1753.9484863281, 71.634323120117, 0, 1.95556640625, 333.97448730469);
  229.     CreateObject(994, -468.48580932617, 1757.7264404297, 71.769348144531, 0, 1.9500732421875, 325.97338867188);
  230.     CreateObject(7191, -375.54092407227, 2082.2399902344, 61.220321655273, 0, 0, 36);
  231.     CreateObject(7191, -375.85455322266, 2082.5061035156, 63.844127655029, 0, 0, 35.996704101563);
  232.     CreateObject(7191, -402.61901855469, 2092.7841796875, 62.816291809082, 0, 358, 95.996704101563);
  233.     CreateObject(7191, -509.90612792969, 1966.8433837891, 61.464210510254, 0, 357.99499511719, 95.993041992188);
  234.     CreateObject(7191, -534.66168212891, 1975.4213867188, 61.527111053467, 0, 357.99499511719, 47.993041992188);
  235.     CreateObject(7191, -544.41876220703, 1998.3087158203, 60.357490539551, 0, 357.98950195313, 321.98828125);
  236.     CreateObject(7191, -533.88763427734, 2006.3702392578, 60.252754211426, 0, 357.98950195313, 67.9873046875);
  237.     //drift 2
  238.     CreateDynamicObject(979, 2296.060546875, 1943.1613769531, 9.707347869873, 0, 0, 182);
  239.     CreateDynamicObject(979, 2287.0068359375, 1942.9200439453, 9.707347869873, 0, 0, 181.99952697754);
  240.     CreateDynamicObject(979, 2277.7033691406, 1942.3441162109, 9.933970451355, 0, 0, 181.99952697754);
  241.     CreateDynamicObject(979, 2268.5998535156, 1942.3355712891, 9.933970451355, 0, 0, 179.99951171875);
  242.     CreateDynamicObject(979, 2258.9597167969, 1942.5567626953, 9.707347869873, 0, 0, 179.99450683594);
  243.     CreateDynamicObject(979, 2247.4421386719, 1942.5659179688, 9.933970451355, 0, 0, 179.99450683594);
  244.     CreateDynamicObject(979, 2240.5632324219, 1942.6791992188, 9.933970451355, 0, 0, 179.99450683594);
  245.     CreateDynamicObject(979, 2222.5339355469, 1956.6378173828, 9.707347869873, 0, 0, 357.99450683594);
  246.     CreateDynamicObject(979, 2231.140625, 1956.3367919922, 9.707347869873, 0, 0, 357.98950195313);
  247.     CreateDynamicObject(979, 2241.6625976563, 1956.09375, 9.933970451355, 0, 0, 357.98950195313);
  248.     CreateDynamicObject(979, 2249.0700683594, 1955.7976074219, 9.933970451355, 0, 0, 357.98950195313);
  249.     CreateDynamicObject(979, 2258.0964355469, 1955.7989501953, 9.707347869873, 0, 0, 1.989501953125);
  250.     CreateDynamicObject(979, 2263.9736328125, 1956.1495361328, 9.707347869873, 0, 0, 1.988525390625);
  251.     CreateDynamicObject(979, 2272.8493652344, 1956.4116210938, 9.933970451355, 0, 0, 359.98852539063);
  252.     CreateDynamicObject(979, 2278.5876464844, 1956.439453125, 9.933970451355, 0, 0, 359.98352050781);
  253.     CreateDynamicObject(979, 2287.5070800781, 1970.42578125, 9.707347869873, 0, 0, 169.98345947266);
  254.     CreateDynamicObject(979, 2295.0849609375, 1967.7043457031, 9.707347869873, 0, 0, 147.98046875);
  255.     CreateDynamicObject(979, 2298.3415527344, 1962.1943359375, 9.707347869873, 0, 0, 107.98034667969);
  256.     CreateDynamicObject(979, 2278.2124023438, 1969.7918701172, 9.933970451355, 0, 0, 179.98046875);
  257.     CreateDynamicObject(979, 2269.40625, 1969.7337646484, 9.933970451355, 0, 0, 179.97802734375);
  258.     CreateDynamicObject(979, 2260.3422851563, 1969.7548828125, 9.707347869873, 0, 0, 179.97802734375);
  259.     CreateDynamicObject(979, 2251.2951660156, 1969.8372802734, 9.933970451355, 0, 0, 179.97802734375);
  260.     CreateDynamicObject(979, 2242.3012695313, 1969.7316894531, 9.933970451355, 0, 0, 179.97802734375);
  261.     CreateDynamicObject(979, 2236.5405273438, 1974.3614501953, 9.5860624313354, 0, 0, 87.978057861328);
  262.     CreateDynamicObject(979, 2236.8229980469, 1979.525390625, 9.4637088775635, 0, 0, 87.9736328125);
  263.     //drift 3
  264.     CreateDynamicObject(994, 2316.3369140625, 1428.4300537109, 41.8203125, 0, 0, 270);
  265.     CreateDynamicObject(994, 2319.7312011719, 1428.279296875, 41.8203125, 0, 0, 270);
  266.     CreateDynamicObject(994, 2322.9782714844, 1428.1182861328, 41.8203125, 0, 0, 270);
  267.     CreateDynamicObject(994, 2326.064453125, 1428.0153808594, 41.8203125, 0, 0, 270);
  268.     CreateDynamicObject(994, 2329.2392578125, 1428.0269775391, 41.8203125, 0, 0, 270);
  269.     CreateDynamicObject(656, 2346.9699707031, 1457.7003173828, 41.5703125, 0, 0, 0);
  270.     CreateDynamicObject(664, 2352.265625, 1398.5361328125, 41.5703125, 0, 0, 0);
  271.     CreateDynamicObject(669, 2301.345703125, 1404.9552001953, 41.5703125, 0, 0, 0);
  272.     CreateDynamicObject(671, 2303.0329589844, 1420.6357421875, 41.5703125, 0, 0, 0);
  273.     CreateDynamicObject(672, 2301.6088867188, 1443.4188232422, 42.3203125, 0, 0, 0);
  274.     CreateDynamicObject(687, 2340.4699707031, 1515.2042236328, 41.56559753418, 0, 0, 0);
  275.     CreateDynamicObject(690, 2345.4423828125, 1493.5744628906, 41.5703125, 0, 0, 0);
  276.     CreateDynamicObject(979, 2280.9228515625, 1390.2219238281, 36.262096405029, 0, 0, 0);
  277.     CreateDynamicObject(979, 2287.1728515625, 1390.2248535156, 36.262096405029, 0, 0, 0);
  278.     CreateDynamicObject(979, 2334.1733398438, 1517.1474609375, 29.863656997681, 0, 0, 179.99993896484);
  279.     CreateDynamicObject(979, 2326.2890625, 1517.1005859375, 29.863656997681, 0, 0, 179.99450683594);
  280.     CreateDynamicObject(979, 2280.9313964844, 1390.0477294922, 23.465219497681, 0, 0, 359.99450683594);
  281.     CreateDynamicObject(979, 2288.4130859375, 1390.0367431641, 23.465219497681, 0, 0, 359.98901367188);
  282.     CreateDynamicObject(979, 2333.3642578125, 1517.4766845703, 17.058969497681, 0, 0, 181.98901367188);
  283.     CreateDynamicObject(979, 2326.76953125, 1517.3999023438, 17.058969497681, 0, 0, 181.98852539063);
  284.     CreateDynamicObject(979, 2280.8774414063, 1390.111328125, 10.663634300232, 0, 0, 357.98852539063);
  285.     CreateDynamicObject(979, 2289.0690917969, 1389.8958740234, 10.660532951355, 0, 0, 357.98400878906);
  286.     CreateDynamicObject(979, 2327.2302246094, 1391.3491210938, 23.465219497681, 0, 0, 191.98400878906);
  287.     CreateDynamicObject(979, 2326.9196777344, 1391.205078125, 29.863656997681, 0, 0, 191.98059082031);
  288.     CreateDynamicObject(979, 2327.2746582031, 1391.0386962891, 36.262096405029, 0, 0, 191.98059082031);
  289.     CreateDynamicObject(979, 2327.2136230469, 1391.5510253906, 17.058969497681, 0, 0, 191.98059082031);
  290.     CreateDynamicObject(979, 2288.2905273438, 1515.7598876953, 29.863656997681, 0, 0, 15.994506835938);
  291.     CreateDynamicObject(979, 2287.0622558594, 1515.5452880859, 17.058969497681, 0, 0, 15.990600585938);
  292.     //drift 4
  293.     CreateObject(5128, -1113.2125244141, -1274.0433349609, 650.18438720703, 0, 0, 0);
  294.     CreateObject(5431, -1066.1881103516, -1174.6362304688, 651.25933837891, 0, 0, 0);
  295.     CreateObject(5433, -952.50378417969, -1137.9520263672, 648.21997070313, 3.9124450683594, 12.028442382813, 173.1669921875);
  296.     CreateObject(5440, -882.13641357422, -1084.6101074219, 647.58312988281, 0, 350, 354);
  297.     CreateObject(5440, -873.18682861328, -1008.3064575195, 652.67266845703, 354.09155273438, 349.94296264648, 6.9500427246094);
  298.     CreateObject(5441, -883.92761230469, -906.66632080078, 651.38720703125, 10, 0, 280);
  299.     CreateObject(4823, -982.77160644531, -768.89782714844, 615.43627929688, 350, 0, 100);
  300.     CreateObject(4652, -1123.4255371094, -705.16149902344, 575.92578125, 0, 0, 10);
  301.     CreateObject(4651, -1221.4357910156, -762.15081787109, 577.83264160156, 2, 0, 102);
  302.     CreateObject(4589, -1242.97265625, -866.28479003906, 578.68206787109, 356, 0, 272);
  303.     CreateObject(4168, -1218.6448974609, -988.11456298828, 576.75830078125, 356, 0, 272);
  304.     CreateObject(10651, -1204.4384765625, -1138.1950683594, 516.52282714844, 0, 0, 0);
  305.     //drift 5
  306.     CreateDynamicObject(979, -2351.7697753906, -659.49182128906, 119.672996521, 0, 10, 312);
  307.     CreateDynamicObject(979, -2347.548828125, -666.06396484375, 117.9833984375, 0, 9.99755859375, 295.99523925781);
  308.     CreateDynamicObject(979, -2343.9467773438, -674.07897949219, 116.23069763184, 0, 9.99755859375, 289.99365234375);
  309.     CreateDynamicObject(979, -2341.3486328125, -681.90124511719, 115.07759094238, 0, 9.99755859375, 289.98962402344);
  310.     CreateDynamicObject(979, -2339.212890625, -689.36053466797, 113.56795501709, 0, 9.99755859375, 283.98962402344);
  311.     CreateDynamicObject(979, -2337.8974609375, -697.01574707031, 112.40187835693, 0, 7.99755859375, 275.98559570313);
  312.     CreateDynamicObject(979, -2337.5422363281, -705.31329345703, 111.23388671875, 0, 7.9925537109375, 265.98205566406);
  313.     CreateDynamicObject(979, -2357.5192871094, -780.4677734375, 94.780555725098, 0, 5.987060546875, 287.97900390625);
  314.     CreateDynamicObject(979, -2353.4453125, -788.26782226563, 94.027198791504, 0, 5.9820556640625, 305.97360229492);
  315.     CreateDynamicObject(979, -2346.7639160156, -794.30908203125, 93.50594329834, 0, 3.9765625, 325.96923828125);
  316.     CreateDynamicObject(979, -2338.9682617188, -797.34844970703, 93.120254516602, 0, 3.9715576171875, 347.96435546875);
  317.     CreateDynamicObject(979, -2330.1943359375, -797.58306884766, 92.54190826416, 0, 3.9715576171875, 7.958984375);
  318.     CreateDynamicObject(979, -2321.7241210938, -794.17407226563, 92.185546875, 0, 3.9715576171875, 29.9541015625);
  319.     CreateDynamicObject(979, -2253.0402832031, -745.41595458984, 71.438873291016, 0, 19.971557617188, 15.94873046875);
  320.     CreateDynamicObject(979, -2244.7946777344, -743.16979980469, 68.549179077148, 0, 19.967651367188, 15.946655273438);
  321.     CreateDynamicObject(979, -2236.4765625, -741.96942138672, 66.142997741699, 0, 17.967651367188, 11.946655273438);
  322.     CreateDynamicObject(979, -2229.0180664063, -741.18542480469, 64.883636474609, 0, 3.962646484375, 359.94213867188);
  323.     CreateDynamicObject(979, -2221.2646484375, -741.46862792969, 63.884178161621, 0, 3.9605712890625, 347.93957519531);
  324.     CreateDynamicObject(979, -2214.0546875, -743.37152099609, 63.197025299072, 0, 3.9605712890625, 339.93701171875);
  325.     CreateDynamicObject(979, -2207.3637695313, -746.84197998047, 62.899379730225, 0, 1.9605712890625, 327.93347167969);
  326.     CreateDynamicObject(979, -2201.7358398438, -751.74389648438, 62.68518447876, 0, 1.95556640625, 307.93090820313);
  327.     CreateDynamicObject(979, -2196.8076171875, -757.83563232422, 62.279163360596, 0, 1.9500732421875, 305.93029785156);
  328.     CreateDynamicObject(979, -2192.2072753906, -764.97528076172, 62.048076629639, 0, 1.9500732421875, 299.92529296875);
  329.     CreateDynamicObject(979, -2189.9992675781, -772.82867431641, 61.804977416992, 0, 1.9500732421875, 277.92126464844);
  330.     CreateDynamicObject(979, -2188.8056640625, -781.03472900391, 61.390781402588, 0, 1.9500732421875, 275.92114257813);
  331.     CreateDynamicObject(979, -2459.1630859375, -495.32675170898, 105.39741516113, 0, 11.950073242188, 119.91613769531);
  332.     CreateDynamicObject(979, -2463.9807128906, -488.15878295898, 103.43812561035, 0, 11.947631835938, 127.91580200195);
  333.     CreateDynamicObject(979, -2470.44140625, -482.18597412109, 101.20328521729, 0, 13.947631835938, 147.91381835938);
  334.     CreateDynamicObject(979, -2477.748046875, -477.47265625, 98.829948425293, 0, 13.947143554688, 147.90893554688);
  335.     CreateDynamicObject(979, -2485.4860839844, -474.39373779297, 97.112953186035, 0, 13.947143554688, 155.90893554688);
  336.     CreateDynamicObject(979, -2493.3879394531, -472.58508300781, 95.348686218262, 0, 7.941650390625, 179.90698242188);
  337.     CreateDynamicObject(979, -2501.6203613281, -474.15240478516, 94.210433959961, 0, 7.9376220703125, 199.90661621094);
  338.     CreateDynamicObject(979, -2509.4389648438, -476.92407226563, 92.199119567871, 0, 9.93212890625, 213.90173339844);
  339.     CreateDynamicObject(979, -2596.3774414063, -500.93194580078, 73.367881774902, 0, 9.931640625, 213.89831542969);
  340.     CreateDynamicObject(979, -2603.8664550781, -505.88998413086, 72.360481262207, 356.02145385742, 5.9460144042969, 216.31242370605);
  341.     CreateDynamicObject(979, -2611.5307617188, -509.37130737305, 71.95588684082, 355.99829101563, 1.9339294433594, 194.03050231934);
  342.     CreateDynamicObject(979, -2619.0930175781, -509.45220947266, 71.292015075684, 355.99548339844, 1.93359375, 164.02954101563);
  343.     CreateDynamicObject(979, -2626.3212890625, -506.43618774414, 70.823600769043, 355.98999023438, 1.93359375, 144.02587890625);
  344.     CreateDynamicObject(979, -2632.1437988281, -500.75091552734, 70.286468505859, 355.98449707031, 1.93359375, 122.02526855469);
  345.     CreateDynamicObject(979, -2634.8210449219, -493.75375366211, 69.923156738281, 355.98449707031, 1.93359375, 96.025146484375);
  346.     CreateDynamicObject(979, -2634.3981933594, -486.38021850586, 69.648590087891, 355.98449707031, 1.93359375, 76.020477294922);
  347.     CreateDynamicObject(979, -2632.1198730469, -480.15817260742, 69.372100830078, 355.98449707031, 1.93359375, 58.019897460938);
  348.     CreateDynamicObject(979, -2626.8562011719, -474.14617919922, 69.092781066895, 355.98449707031, 1.93359375, 40.018798828125);
  349.     CreateDynamicObject(979, -2620.0979003906, -469.85498046875, 68.844718933105, 355.98449707031, 1.93359375, 22.017669677734);
  350.     CreateDynamicObject(979, -2612.4836425781, -467.3203125, 68.680541992188, 355.98449707031, 1.93359375, 16.0166015625);
  351.     CreateDynamicObject(979, -2604.5627441406, -465.49642944336, 68.501258850098, 355.98449707031, 1.93359375, 10.012573242188);
  352.     CreateDynamicObject(979, -2369.3142089844, -452.94863891602, 81.034194946289, 355.98449707031, 1.93359375, 308.0166015625);
  353.     CreateDynamicObject(979, -2363.6467285156, -459.49404907227, 80.514122009277, 355.98449707031, 1.93359375, 320.01275634766);
  354.     CreateDynamicObject(979, -2357.0922851563, -464.62118530273, 80.150451660156, 355.98449707031, 1.93359375, 330.009765625);
  355.     CreateDynamicObject(979, -2349.3200683594, -468.20120239258, 79.97289276123, 355.98449707031, 1.93359375, 342.00732421875);
  356.     CreateDynamicObject(979, -2340.7553710938, -469.83438110352, 79.916343688965, 355.98449707031, 1.93359375, 356.00439453125);
  357.     CreateDynamicObject(979, -2332.4177246094, -469.18994140625, 79.912590026855, 355.98449707031, 1.93359375, 10.0009765625);
  358.     CreateDynamicObject(979, -2325.7912597656, -466.61032104492, 79.953132629395, 355.98449707031, 1.93359375, 29.99755859375);
  359.     CreateDynamicObject(979, -2319.6525878906, -460.78414916992, 79.939315795898, 355.98449707031, 1.93359375, 53.99267578125);
  360.     CreateDynamicObject(979, -2316.0085449219, -453.72311401367, 79.635940551758, 355.98449707031, 1.93359375, 69.992309570313);
  361.     CreateDynamicObject(979, -2314.6303710938, -445.00619506836, 79.593116760254, 355.98449707031, 1.93359375, 89.988403320313);
  362.     CreateDynamicObject(979, -2315.2199707031, -436.80718994141, 79.439323425293, 355.98449707031, 1.93359375, 99.983520507813);
  363.     CreateDynamicObject(979, -2317.9245605469, -429.25750732422, 79.450798034668, 355.98449707031, 1.93359375, 119.98107910156);
  364.     CreateDynamicObject(979, -2323.2878417969, -422.81353759766, 79.491630554199, 355.98449707031, 1.93359375, 137.97619628906);
  365.     CreateDynamicObject(994, -2413.9548339844, -613.32531738281, 131.5625, 0, 0, 316);
  366.     CreateDynamicObject(994, -2416.0795898438, -615.38665771484, 131.62350463867, 0, 0, 315.99975585938);
  367.     CreateDynamicObject(994, -2418.6594238281, -617.48382568359, 131.62483215332, 0, 0, 315.99975585938);
  368.     CreateDynamicObject(994, -2421.5122070313, -619.56964111328, 131.6031036377, 0, 0, 313.99975585938);
  369.     CreateDynamicObject(994, -2426.1130371094, -601.02026367188, 131.5625, 0, 0, 125.9912109375);
  370.     CreateDynamicObject(994, -2428.7080078125, -602.58111572266, 131.55389404297, 0, 0, 125.9912109375);
  371.     CreateDynamicObject(994, -2431.7062988281, -604.54370117188, 131.54664611816, 0, 0, 125.9912109375);
  372.     CreateDynamicObject(994, -2423.8286132813, -599.20581054688, 131.5625, 0, 0, 125.9912109375);
  373.     //drift 6
  374.     CreateObject(17686, -289.666199, 1527.664795, 75.734879, 9.4538, 356.5623, 0.8594);
  375.     CreateObject(13038, -70.925880, 1630.902466, 128.321167, 1.7189, 8.5944, 284.1376);
  376.     CreateObject(13038, 146.926208, 1651.178589, 205.222351, 0.0000, 0.0000, 253.5161);
  377.     CreateObject(13038, 371.172211, 1572.096191, 272.245361, 0.0000, 359.1406, 233.6717);
  378.     CreateObject(5741, 492.844299, 1536.964233, 303.713440, 0.0000, 0.0000, 180.0000);
  379.     CreateObject(3749, 472.071716, 1548.479248, 309.251862, 0.0000, 0.0000, 0.0000);
  380.     //drift 7
  381.     CreateDynamicObject(979, -2128.4016113281, 911.65142822266, 79.28392791748, 0, 2, 4);
  382.     CreateDynamicObject(979, -2128.5795898438, 924.13226318359, 79.844200134277, 0, 1.99951171875, 349.9990234375);
  383.     CreateDynamicObject(979, -2135.5197753906, 926.72674560547, 79.691780090332, 0, 1.99951171875, 329.99694824219);
  384.     CreateDynamicObject(979, -2136.6259765625, 909.52093505859, 79.691780090332, 0, 1.99951171875, 25.996337890625);
  385.     CreateDynamicObject(979, -2144.6774902344, 907.54748535156, 79.691780090332, 0, 359.99951171875, 359.99365234375);
  386.     CreateDynamicObject(979, -2143.6848144531, 928.89434814453, 79.685218811035, 0, 359.99450683594, 359.98901367188);
  387.     CreateDynamicObject(979, -2096.0512695313, 913.96734619141, 75.621337890625, 0, 359.99450683594, 71.989044189453);
  388.     CreateDynamicObject(979, -2094.1091308594, 921.89886474609, 75.687049865723, 0, 359.98901367188, 79.987915039063);
  389.     CreateDynamicObject(979, -2082.708984375, 944.22564697266, 70.624649047852, 0, 359.98352050781, 277.98596191406);
  390.     CreateDynamicObject(979, -2066.5913085938, 917.80828857422, 62.594451904297, 0, 359.97802734375, 85.981567382813);
  391.     CreateDynamicObject(979, -2037.2161865234, 914.53405761719, 51.236392974854, 0, 359.97802734375, 81.97900390625);
  392.     CreateDynamicObject(979, -2036.9603271484, 922.87927246094, 51.64518737793, 0, 359.97802734375, 95.974487304688);
  393.     CreateDynamicObject(979, -2023.5560302734, 945.64721679688, 47.137096405029, 0, 7.97802734375, 293.97106933594);
  394.     CreateDynamicObject(979, -2021.5074462891, 939.13885498047, 45.862598419189, 0, 7.97607421875, 271.96667480469);
  395.     CreateDynamicObject(979, -2016.5541992188, 935.89208984375, 45.137096405029, 2, 359.97607421875, 11.967407226563);
  396.     CreateDynamicObject(979, -2008.7021484375, 938.45770263672, 45.137096405029, 1.99951171875, 359.97253417969, 23.964111328125);
  397.     CreateDynamicObject(979, -2001.8308105469, 939.64636230469, 45.137096405029, 1.99951171875, 359.96704101563, 355.96118164063);
  398.     CreateDynamicObject(979, -2015.5571289063, 911.96539306641, 45.137096405029, 1.99951171875, 359.96704101563, 335.95703125);
  399.     CreateDynamicObject(979, -2007.107421875, 909.94189453125, 45.14363861084, 1.99951171875, 359.96704101563, 355.95703125);
  400.     CreateDynamicObject(979, -1998.1821289063, 909.69049072266, 45.137096405029, 1.99951171875, 359.96704101563, 355.95703125);
  401.     //drift 8
  402.     CreateDynamicObject(987, 1279.7309570313, -2045.9912109375, 58.105800628662, 0, 0, 90);
  403.     CreateDynamicObject(987, 1279.86328125, -2034.1751708984, 58.153350830078, 0, 0, 90);
  404.     CreateDynamicObject(987, 1280.0417480469, -2022.0633544922, 57.917114257813, 0, 0, 90);
  405.     CreateDynamicObject(987, 1279.9610595703, -2010.4931640625, 57.958305358887, 0, 0, 180);
  406.     CreateDynamicObject(987, 1267.7584228516, -2010.4761962891, 58.213493347168, 0, 0, 180);
  407.     CreateDynamicObject(987, 1255.6420898438, -2010.3464355469, 58.538078308105, 0, 0, 179.99450683594);
  408.     CreateDynamicObject(987, 1244.4040527344, -2010.8127441406, 58.832534790039, 0, 0, 270);
  409.     CreateDynamicObject(987, 1244.3542480469, -2022.4705810547, 58.874778747559, 0, 0, 270);
  410.     CreateDynamicObject(987, 1244.4234619141, -2034.0949707031, 58.879135131836, 0, 0, 270);
  411.     CreateDynamicObject(987, 1244.4605712891, -2046.0579833984, 59.075000762939, 0, 0, 358);
  412.     CreateDynamicObject(3749, 1264.2348632813, -2047.6198730469, 63.412445068359, 0, 0, 358);
  413.     CreateDynamicObject(987, 1271.0439453125, -2046.5786132813, 58.24242401123, 0, 0, 1.9949951171875);
  414.     CreateDynamicObject(979, 1435.0263671875, -2026.7503662109, 51.87525177002, 0, 2, 68);
  415.     CreateDynamicObject(979, 1437.3853759766, -2018.5317382813, 51.643795013428, 0, 1.99951171875, 79.999877929688);
  416.     CreateDynamicObject(979, 1438.5252685547, -2010.8138427734, 51.324935913086, 0, 1.99951171875, 85.996948242188);
  417.     CreateDynamicObject(979, 1438.9006347656, -2002.9191894531, 50.888298034668, 0, 3.99951171875, 91.995483398438);
  418.     CreateDynamicObject(979, 1437.6567382813, -1994.7231445313, 50.442646026611, 0, 3.9990234375, 105.99401855469);
  419.     CreateDynamicObject(979, 1434.4564208984, -1987.1080322266, 49.564281463623, 0, 7.9935302734375, 119.99066162109);
  420.     CreateDynamicObject(979, 1429.8172607422, -1980.5261230469, 48.001617431641, 0, 9.988037109375, 131.98715209961);
  421.     CreateDynamicObject(979, 1424.3206787109, -1974.6838378906, 46.474510192871, 0, 13.988037109375, 133.98425292969);
  422.     CreateDynamicObject(979, 1417.1965332031, -1969.3725585938, 44.267181396484, 0, 13.988037109375, 151.98382568359);
  423.     CreateDynamicObject(978, 1253.8459472656, -1941.5640869141, 29.993015289307, 0, 2, 322);
  424.     CreateDynamicObject(978, 1248.4122314453, -1935.6091308594, 30.495901107788, 0, 1.99951171875, 303.99829101563);
  425.     CreateDynamicObject(978, 1244.9438476563, -1928.0733642578, 30.886960983276, 0, 1.99951171875, 283.99719238281);
  426.     CreateDynamicObject(978, 1244.4150390625, -1919.7121582031, 31.014656066895, 0, 357.99951171875, 261.99658203125);
  427.     CreateDynamicObject(978, 1246.6826171875, -1912.0126953125, 30.598754882813, 0, 357.99951171875, 241.99645996094);
  428.     CreateDynamicObject(978, 1251.9482421875, -1905.7624511719, 30.247657775879, 0, 355.99951171875, 213.99583435059);
  429.     CreateDynamicObject(978, 1258.2861328125, -1903.0224609375, 29.787633895874, 0, 355.99951171875, 189.99169921875);
  430.     CreateDynamicObject(994, 1249.6927490234, -2050.275390625, 58.928657531738, 0, 0, 356);
  431.     CreateDynamicObject(994, 1249.544921875, -2053.3361816406, 58.739639282227, 0, 0, 357.99548339844);
  432.     CreateDynamicObject(994, 1249.3522949219, -2056.6108398438, 58.722324371338, 0, 0, 357.99548339844);
  433.     CreateDynamicObject(994, 1249.4117431641, -2060.123046875, 58.726455688477, 0, 0, 357.99499511719);
  434.     CreateDynamicObject(7191, 1425.126953125, -1884.5036621094, 10.607490539551, 0, 0, 270);
  435.     //drift 9
  436.     CreateDynamicObject(5005, 1722.8638916016, -2184.5478515625, 16.097999572754, 0, 0, 0);
  437.     CreateDynamicObject(5005, 1721.9061279297, -2205.3349609375, 16.098392486572, 0, 0, 0);
  438.     CreateDynamicObject(5005, 1560.5015869141, -2184.5478515625, 16.098392486572, 0, 0, 0);
  439.     CreateDynamicObject(5005, 1560.3166503906, -2205.2475585938, 16.098392486572, 0, 0, 0);
  440.     CreateDynamicObject(5005, 1441.6298828125, -2205.2475585938, 16.098392486572, 0, 0, 0);
  441.     CreateDynamicObject(5005, 1449.1333007813, -2184.5478515625, 16.098392486572, 0, 0, 0);
  442.     CreateDynamicObject(979, 1301.8266601563, -2275.6286621094, 13.333922386169, 0, 0, 14);
  443.     CreateDynamicObject(979, 1309.5822753906, -2273.7785644531, 13.381510734558, 0, 1.99951171875, 13.998046875);
  444.     CreateDynamicObject(979, 1316.8743896484, -2271.2561035156, 13.387095451355, 0, 359.99951171875, 25.99658203125);
  445.     CreateDynamicObject(979, 1323.3833007813, -2267.6652832031, 13.387095451355, 0, 359.99951171875, 33.99365234375);
  446.     CreateDynamicObject(979, 1329.8406982422, -2262.1564941406, 13.230589866638, 0, 1.99951171875, 47.99169921875);
  447.     CreateDynamicObject(979, 1334.6080322266, -2255.3833007813, 13.223032951355, 0, 359.99951171875, 63.98828125);
  448.     CreateDynamicObject(979, 1336.5777587891, -2247.7778320313, 13.223032951355, 0, 1.99951171875, 87.984375);
  449.     CreateDynamicObject(979, 1336.7141113281, -2239.5131835938, 13.223032951355, 0, 1.99951171875, 89.984008789063);
  450.     CreateDynamicObject(979, 1336.6343994141, -2230.6069335938, 13.223032951355, 0, 1.99951171875, 89.983520507813);
  451.     CreateDynamicObject(979, 1337.9588623047, -2227.8505859375, 13.453879356384, 0, 1.99951171875, 71.983520507813);
  452.     CreateDynamicObject(978, 1301.3625488281, -2255.4013671875, 12.980589866638, 0, 0, 194);
  453.     CreateDynamicObject(978, 1309.1827392578, -2252.1303710938, 13.387095451355, 0, 0, 213.99658203125);
  454.     CreateDynamicObject(978, 1315.0158691406, -2246.3115234375, 13.387095451355, 0, 0, 233.99169921875);
  455.     CreateDynamicObject(978, 1319.2169189453, -2238.8779296875, 13.387095451355, 0, 0, 245.98681640625);
  456.     CreateDynamicObject(978, 1320.8433837891, -2232.4865722656, 13.387095451355, 0, 0, 265.98388671875);
  457.     CreateDynamicObject(978, 1321.9819335938, -2224.0510253906, 13.387095451355, 0, 0, 255.97900390625);
  458.     CreateDynamicObject(978, 1324.0064697266, -2217.6037597656, 13.387095451355, 0, 0, 239.97595214844);
  459.     CreateDynamicObject(978, 1327.3343505859, -2212.4135742188, 13.223032951355, 0, 0, 229.97434997559);
  460.     CreateDynamicObject(978, 1332.9322509766, -2207.6337890625, 13.230629920959, 0, 0, 207.97132873535);
  461.     CreateDynamicObject(978, 1339.0528564453, -2205.1069335938, 13.230629920959, 0, 0, 195.97119140625);
  462.     CreateDynamicObject(978, 1345.595703125, -2205.7348632813, 13.387095451355, 0, 0, 159.96862792969);
  463.     CreateDynamicObject(978, 1352.103515625, -2209.0202636719, 13.387095451355, 0, 0, 141.96643066406);
  464.     CreateDynamicObject(978, 1356.1853027344, -2214.64453125, 13.387095451355, 0, 0, 103.96533203125);
  465.     CreateDynamicObject(978, 1356.7540283203, -2221.8203125, 13.387095451355, 0, 0, 87.963623046875);
  466.     CreateDynamicObject(978, 1356.4741210938, -2229.6215820313, 13.387095451355, 0, 0, 87.962036132813);
  467.     CreateDynamicObject(978, 1356.228515625, -2238.2705078125, 13.387095451355, 0, 0, 87.962036132813);
  468.     CreateDynamicObject(978, 1356.4073486328, -2246.9387207031, 13.387095451355, 0, 0, 93.962036132813);
  469.     CreateDynamicObject(979, 1340.2750244141, -2228.6027832031, 13.387095451355, 0, 1.99951171875, 275.98352050781);
  470.     CreateDynamicObject(979, 1340.6358642578, -2236.8627929688, 13.387095451355, 0, 1.99951171875, 269.98205566406);
  471.     CreateDynamicObject(979, 1340.5891113281, -2245.66015625, 13.387095451355, 0, 0, 269.97802734375);
  472.     CreateDynamicObject(979, 1341.3422851563, -2254.0773925781, 13.387095451355, 0, 0, 279.97802734375);
  473.     CreateDynamicObject(979, 1343.9989013672, -2262.6264648438, 13.223032951355, 0, 0, 295.9755859375);
  474.     CreateDynamicObject(979, 1347.9145507813, -2269.1921386719, 13.230589866638, 0, 0, 305.9716796875);
  475.     CreateDynamicObject(979, 1351.4527587891, -2273.9670410156, 13.387095451355, 0, 0, 307.96923828125);
  476.     CreateDynamicObject(979, 1356.7390136719, -2279.9780273438, 13.394692420959, 0, 0, 317.96875);
  477.     CreateDynamicObject(979, 1363.8570556641, -2284.0590820313, 13.387095451355, 0, 0, 341.96630859375);
  478.     CreateDynamicObject(979, 1372.3475341797, -2285.9008789063, 13.221572875977, 0, 0, 353.9609375);
  479.     CreateDynamicObject(979, 1381.2918701172, -2286.2412109375, 13.148077964783, 0, 0, 359.95751953125);
  480.     CreateDynamicObject(979, 1388.3822021484, -2286.2165527344, 13.174410820007, 0, 0, 359.9560546875);
  481.     CreateDynamicObject(979, 1397.1335449219, -2286.1750488281, 13.211632728577, 0, 0, 359.9560546875);
  482.     CreateDynamicObject(979, 1405.7956542969, -2286.2690429688, 13.223032951355, 0, 0, 359.9560546875);
  483.     CreateDynamicObject(979, 1414.6237792969, -2286.2814941406, 13.223032951355, 0, 0, 359.9560546875);
  484.     CreateDynamicObject(979, 1422.2624511719, -2285.4929199219, 13.223032951355, 0, 0, 13.9560546875);
  485.     CreateDynamicObject(979, 1429.9580078125, -2282.5625, 13.223032951355, 0, 0, 27.95263671875);
  486.     CreateDynamicObject(979, 1435.9743652344, -2277.994140625, 13.387095451355, 0, 0, 51.94921875);
  487.     CreateDynamicObject(978, 1425.7611083984, -2253.5192871094, 13.387095451355, 0, 0, 233.96061706543);
  488.     CreateDynamicObject(978, 1430.8920898438, -2247.06640625, 13.387095451355, 0, 0, 227.95941162109);
  489.     CreateDynamicObject(978, 1436.9643554688, -2241.3933105469, 13.39392375946, 0, 0, 219.95532226563);
  490.     CreateDynamicObject(978, 1444.0308837891, -2236.8430175781, 13.387095451355, 0, 0, 205.95178222656);
  491.     CreateDynamicObject(978, 1451.8416748047, -2234.1157226563, 13.387095451355, 0, 0, 191.94970703125);
  492.     CreateDynamicObject(978, 1460.8193359375, -2232.5029296875, 13.387095451355, 0, 0, 187.94763183594);
  493.     CreateDynamicObject(978, 1469.5122070313, -2231.447265625, 13.223032951355, 0, 0, 183.94309997559);
  494.     CreateDynamicObject(978, 1477.6915283203, -2231.3002929688, 13.223032951355, 0, 0, 175.93859863281);
  495.     CreateDynamicObject(978, 1486.4913330078, -2231.7673339844, 13.387095451355, 0, 0, 175.93505859375);
  496.     CreateDynamicObject(978, 1494.4243164063, -2232.5090332031, 13.387095451355, 0, 0, 169.93505859375);
  497.     CreateDynamicObject(978, 1501.4460449219, -2234.6640625, 13.39392375946, 0, 0, 157.93103027344);
  498.     CreateDynamicObject(978, 1508.7274169922, -2238.744140625, 13.387095451355, 0, 0, 143.9284362793);
  499.     CreateDynamicObject(978, 1515.548828125, -2244.1643066406, 13.387095451355, 0, 0, 137.92639160156);
  500.     CreateDynamicObject(978, 1521.0112304688, -2250.0590820313, 13.39392375946, 0, 0, 125.92236328125);
  501.     CreateDynamicObject(978, 1525.1851806641, -2257.0080566406, 13.387095451355, 0, 0, 115.91976928711);
  502.     CreateDynamicObject(978, 1527.8372802734, -2264.44140625, 13.387095451355, 0, 0, 99.916748046875);
  503.     CreateDynamicObject(978, 1529.0606689453, -2273.1057128906, 13.387095451355, 0, 0, 95.915161132813);
  504.     CreateDynamicObject(978, 1529.669921875, -2281.6235351563, 13.223032951355, 0, 0, 91.91064453125);
  505.     CreateDynamicObject(978, 1529.7877197266, -2289.9809570313, 13.387095451355, 0, 0, 89.906127929688);
  506.     CreateDynamicObject(978, 1529.3065185547, -2298.1579589844, 13.387095451355, 0, 0, 81.901123046875);
  507.     CreateDynamicObject(978, 1527.9582519531, -2306.607421875, 13.387095451355, 0, 0, 79.897583007813);
  508.     CreateDynamicObject(978, 1525.9663085938, -2313.9140625, 13.39392375946, 0, 0, 67.892578125);
  509.     CreateDynamicObject(978, 1522.1923828125, -2320.642578125, 13.387095451355, 0, 0, 55.890014648438);
  510.     CreateDynamicObject(978, 1516.9592285156, -2327.0678710938, 13.387095451355, 0, 0, 45.887451171875);
  511.     CreateDynamicObject(978, 1510.6878662109, -2332.6179199219, 13.39392375946, 0, 0, 35.884399414063);
  512.     CreateDynamicObject(978, 1503.5632324219, -2336.7651367188, 13.387095451355, 0, 0, 25.88134765625);
  513.     CreateDynamicObject(978, 1495.7224121094, -2339.6518554688, 13.387095451355, 0, 0, 13.878295898438);
  514.     CreateDynamicObject(978, 1487.408203125, -2340.9685058594, 13.387095451355, 0, 0, 5.875732421875);
  515.     CreateDynamicObject(978, 1478.791015625, -2341.6184082031, 13.223032951355, 0, 0, 1.8721923828125);
  516.     CreateDynamicObject(978, 1470.2056884766, -2341.640625, 13.387095451355, 0, 0, 357.86767578125);
  517.     CreateDynamicObject(978, 1461.5124511719, -2340.7946777344, 13.387095451355, 0, 0, 351.86315917969);
  518.     CreateDynamicObject(978, 1453.6326904297, -2339.4643554688, 13.39392375946, 0, 0, 347.85913085938);
  519.     CreateDynamicObject(978, 1446.2369384766, -2337.2016601563, 13.39392375946, 0, 0, 335.85461425781);
  520.     CreateDynamicObject(978, 1439.1599121094, -2332.9401855469, 13.387095451355, 0, 0, 323.85202026367);
  521.     CreateDynamicObject(978, 1432.6364746094, -2327.3115234375, 13.387095451355, 0, 0, 313.84948730469);
  522.     CreateDynamicObject(978, 1427.2623291016, -2320.966796875, 13.387095451355, 0, 0, 305.84643554688);
  523.     CreateDynamicObject(978, 1423.2712402344, -2314.2939453125, 13.37929058075, 0, 0, 293.84289550781);
  524.     CreateDynamicObject(978, 1421.8404541016, -2261.2001953125, 13.39392375946, 0, 0, 249.84033203125);
  525.     CreateDynamicObject(978, 1418.8156738281, -2269.8276367188, 13.381348609924, 0, 0, 249.84008789063);
  526.     CreateDynamicObject(978, 1420.7932128906, -2307.2475585938, 13.387095451355, 0, 0, 285.84033203125);
  527.     CreateDynamicObject(978, 1416.4571533203, -2301.3994140625, 13.387095451355, 0, 0, 321.83679199219);
  528.     CreateDynamicObject(978, 1408.7366943359, -2298.0285644531, 13.387095451355, 0, 0, 351.83349609375);
  529.     CreateDynamicObject(978, 1399.7797851563, -2297.5004882813, 13.387095451355, 0, 0, 1.8316650390625);
  530.     CreateDynamicObject(978, 1390.8289794922, -2297.4760742188, 13.384522438049, 0, 0, 0);
  531.     CreateDynamicObject(978, 1382.1927490234, -2297.5339355469, 13.329284667969, 0, 0, 0);
  532.     CreateDynamicObject(978, 1373.6799316406, -2296.7258300781, 13.387095451355, 0, 0, 350);
  533.     CreateDynamicObject(978, 1366.4703369141, -2295.4309082031, 13.387095451355, 0, 0, 347.99694824219);
  534.     CreateDynamicObject(978, 1358.6446533203, -2293.6164550781, 13.387095451355, 0, 0, 345.99194335938);
  535.     CreateDynamicObject(978, 1351.7188720703, -2290.7810058594, 13.223032951355, 0, 0, 325.98693847656);
  536.     CreateDynamicObject(978, 1345.2648925781, -2287.3269042969, 13.223032951355, 0, 0, 335.986328125);
  537.     CreateDynamicObject(978, 1337.5101318359, -2284.6140136719, 13.387095451355, 0, 0, 343.9853515625);
  538.     CreateDynamicObject(978, 1329.9488525391, -2282.642578125, 13.230589866638, 0, 0, 347.984375);
  539.     CreateDynamicObject(978, 1321.1727294922, -2280.8254394531, 13.387095451355, 0, 0, 347.98291015625);
  540.     CreateDynamicObject(979, 1349.5570068359, -2274.9436035156, 13.223032951355, 0, 0, 155.96875);
  541.     CreateDynamicObject(979, 1341.7728271484, -2272.1809082031, 13.223032951355, 0, 0, 165.96392822266);
  542.     CreateDynamicObject(979, 1334.4606933594, -2270.2202148438, 13.223032951355, 0, 0, 165.96337890625);
  543.     CreateDynamicObject(978, 1313.4642333984, -2279.1735839844, 13.387095451355, 0, 0, 347.98095703125);
  544.     CreateDynamicObject(1633, 1324.8513183594, -2279.27734375, 13.690660476685, 0, 0, 76);
  545.     CreateDynamicObject(1633, 1325.8511962891, -2275.30078125, 13.683103561401, 0, 0, 75.997924804688);
  546.     CreateDynamicObject(1633, 1326.9002685547, -2271.39453125, 13.690660476685, 0, 0, 75.997924804688);
  547.     //drag 1
  548.     CreateDynamicObject(5005, 2299.4130859375, -1726.6883544922, 16.098392486572, 0, 0, 0);
  549.     CreateDynamicObject(5005, 2303.2856445313, -1738.2137451172, 16.098392486572, 0, 0, 180);
  550.     CreateDynamicObject(5005, 2465.9951171875, -1738.2137451172, 15.934329032898, 0, 0, 179.99450683594);
  551.     CreateDynamicObject(5005, 2461.9204101563, -1726.6883544922, 16.119607925415, 0, 0, 0);
  552.     CreateDynamicObject(5005, 2516.2119140625, -1738.212890625, 16.098392486572, 0, 0, 179.99450683594);
  553.     CreateDynamicObject(5005, 2513.8310546875, -1726.6875, 16.098392486572, 0, 0, 0);
  554.     CreateDynamicObject(5005, 2625.8588867188, -1738.212890625, 13.855017662048, 0, 358, 179.99450683594);
  555.     CreateDynamicObject(5005, 2614.0249023438, -1726.6875, 13.855017662048, 0, 358, 179.99450683594);
  556.     CreateDynamicObject(979, 2218.2956542969, -1739.537109375, 13.240232467651, 0, 0, 20);
  557.     CreateDynamicObject(979, 2210.0024414063, -1741.8975830078, 13.212876319885, 0, 0, 11.9951171875);
  558.     CreateDynamicObject(979, 2202.4128417969, -1742.9541015625, 13.033387184143, 0, 0, 3.9915771484375);
  559.     CreateDynamicObject(978, 2217.560546875, -1725.2448730469, 13.246451377869, 0, 0, 164);
  560.     CreateDynamicObject(978, 2208.9799804688, -1723.7590332031, 13.258004188538, 0, 0, 177.99841308594);
  561.     CreateDynamicObject(978, 2200.5847167969, -1723.4702148438, 13.206501960754, 0, 0, 177.99499511719);
  562.     //drag 2
  563.     CreateDynamicObject(5005, 350.58602905273, 2527.3332519531, 18.868873596191, 0, 0, 0);
  564.     CreateDynamicObject(5005, 188.30099487305, 2527.3332519531, 18.868873596191, 0, 0, 0);
  565.     CreateDynamicObject(5005, 25.626747131348, 2527.3332519531, 18.868873596191, 0, 0, 0);
  566.     CreateDynamicObject(5005, 299.03564453125, 2475.6455078125, 18.785892486572, 0, 0, 179.99993896484);
  567.     CreateDynamicObject(5005, 136.8975982666, 2475.6455078125, 18.785892486572, 0, 0, 179.99450683594);
  568.     CreateDynamicObject(5005, 32.905662536621, 2475.6455078125, 18.785892486572, 0, 0, 179.99450683594);
  569.     CreateDynamicObject(8648, -50.475700378418, 2491.1728515625, 16.337379455566, 0, 0, 0);
  570.     CreateDynamicObject(8648, -50.406852722168, 2514.3146972656, 16.337379455566, 0, 0, 0);
  571.     //drag 3
  572.     CreateDynamicObject(5005, 1013.0599975586, 2383.5725097656, 13.371829032898, 0, 0, 270);
  573.     CreateDynamicObject(5005, 1013.0211791992, 2220.6689453125, 13.223391532898, 0, 0, 269.99450683594);
  574.     CreateDynamicObject(5005, 1013.0211791992, 2057.6887207031, 13.371829032898, 0, 0, 269.99450683594);
  575.     CreateDynamicObject(5005, 1013.0211791992, 1894.8366699219, 13.371829032898, 0, 0, 269.99450683594);
  576.     CreateDynamicObject(5005, 1013.0211791992, 1732.1960449219, 13.473391532898, 0, 0, 269.99450683594);
  577.     CreateDynamicObject(5005, 1013.0211791992, 1573.6042480469, 13.465596199036, 0, 0, 269.99450683594);
  578.     CreateDynamicObject(5005, 1013.0211791992, 1411.8514404297, 13.364033699036, 0, 0, 269.99450683594);
  579.     CreateDynamicObject(5005, 1013.0211791992, 1249.6005859375, 13.371829032898, 0, 0, 269.99450683594);
  580.     CreateDynamicObject(5005, 1001.7545776367, 2383.7395019531, 13.371829032898, 0, 0, 270);
  581.     CreateDynamicObject(5005, 1001.7545776367, 2221.69140625, 13.371829032898, 0, 0, 269.99450683594);
  582.     CreateDynamicObject(5005, 1001.7545776367, 2060.9782714844, 13.371829032898, 0, 0, 269.99450683594);
  583.     CreateDynamicObject(5005, 1001.7545776367, 1898.9091796875, 13.371829032898, 0, 0, 269.99450683594);
  584.     CreateDynamicObject(5005, 1001.7545776367, 1736.7757568359, 13.371829032898, 0, 0, 269.99450683594);
  585.     CreateDynamicObject(5005, 1001.7545776367, 1574.5837402344, 13.371829032898, 0, 0, 269.99450683594);
  586.     CreateDynamicObject(5005, 1001.7545776367, 1414.2813720703, 13.371829032898, 0, 0, 269.99450683594);
  587.     CreateDynamicObject(5005, 1001.7545776367, 1253.4498291016, 13.371829032898, 0, 0, 269.99450683594);
  588.     CreateDynamicObject(7894, 1007.17578125, 1170.4958496094, 10.380928039551, 0, 0, 0);
  589.     CreateDynamicObject(3749, 1007.4788208008, 2464.5646972656, 15.678727149963, 0, 0, 0);
  590.     CreateDynamicObject(987, 1016.8532104492, 2466.4865722656, 9.8203125, 0, 0, 90);
  591.     CreateDynamicObject(987, 1016.8532104492, 2478.1965332031, 9.8203125, 0, 0, 90);
  592.     CreateDynamicObject(987, 1016.8532104492, 2489.8129882813, 9.8203125, 0, 0, 90);
  593.     CreateDynamicObject(987, 1016.7091064453, 2501.4899902344, 9.8203125, 0, 0, 184);
  594.     CreateDynamicObject(987, 1004.9164428711, 2500.7016601563, 9.8203125, 0, 0, 183.99998474121);
  595.     CreateDynamicObject(987, 993.29302978516, 2500.0256347656, 9.8203125, 0, 0, 183.9990234375);
  596.     CreateDynamicObject(987, 981.33258056641, 2499.3068847656, 9.8203125, 0, 0, 270);
  597.     CreateDynamicObject(987, 981.15515136719, 2487.4108886719, 9.8203125, 0, 0, 270);
  598.     CreateDynamicObject(987, 981.15515136719, 2475.9113769531, 9.8203125, 0, 0, 270);
  599.     CreateDynamicObject(987, 981.15447998047, 2466.5771484375, 9.8203125, 0, 0, 0);
  600.     CreateDynamicObject(987, 987.19323730469, 2466.5415039063, 9.8203134536743, 0, 0, 0);
  601.     //drag 4
  602.     CreateDynamicObject(5005, 1814.6120605469, 943.94665527344, 10.174411773682, 0, 358, 270);
  603.     CreateDynamicObject(5005, 1814.6120605469, 1102.2197265625, 8.9409828186035, 0, 0, 270);
  604.     CreateDynamicObject(5005, 1814.6120605469, 1264.4346923828, 9.3395404815674, 0, 0, 270);
  605.     CreateDynamicObject(5005, 1814.6120605469, 1426.806640625, 9.3395404815674, 0, 0, 270);
  606.     CreateDynamicObject(5005, 1814.6120605469, 1588.7945556641, 9.2658386230469, 0, 0, 270);
  607.     CreateDynamicObject(5005, 1814.6120605469, 1749.5455322266, 9.3660087585449, 0, 0, 270);
  608.     CreateDynamicObject(5005, 1814.6120605469, 1912.3721923828, 7.2730836868286, 0, 359, 270);
  609.     CreateDynamicObject(5005, 1814.6120605469, 2074.6398925781, 6.505072593689, 0, 0, 270);
  610.     CreateDynamicObject(5005, 1814.6120605469, 2234.1872558594, 6.533420085907, 0, 0, 270);
  611.     CreateDynamicObject(5005, 1799.5997314453, 939.80316162109, 10.343260765076, 0, 2, 90);
  612.     CreateDynamicObject(5005, 1799.7854003906, 1102.3522949219, 9.0211048126221, 0, 0, 90);
  613.     CreateDynamicObject(5005, 1799.7854003906, 1262.9521484375, 9.2858915328979, 0, 0, 90);
  614.     CreateDynamicObject(5005, 1799.7854003906, 1423.6501464844, 9.271782875061, 0, 0, 90);
  615.     CreateDynamicObject(5005, 1799.7854003906, 1584.0986328125, 9.2781801223755, 0, 0, 90);
  616.     CreateDynamicObject(5005, 1799.7854003906, 1744.4443359375, 9.2875099182129, 0, 0, 90);
  617.     CreateDynamicObject(5005, 1799.7854003906, 1906.8569335938, 7.5358915328979, 0, 1, 90);
  618.     CreateDynamicObject(5005, 1799.7854003906, 2069.2827148438, 6.6031122207642, 0, 0, 90);
  619.     CreateDynamicObject(5005, 1799.7854003906, 2229.7282714844, 6.7163238525391, 0, 0, 90);
  620.     CreateDynamicObject(987, 1799.8699951172, 2311.6083984375, 4.9148240089417, 0, 0, 0);
  621.     CreateDynamicObject(987, 1803.4532470703, 2311.548828125, 5.4240956306458, 0, 0, 0);
  622.     CreateDynamicObject(3749, 1807.5812988281, 862.00927734375, 15.27059173584, 0, 0, 0);
  623.     CreateDynamicObject(987, 1797.9372558594, 860.88610839844, 9.671875, 0, 0, 178);
  624.     CreateDynamicObject(987, 1786.8309326172, 861.05847167969, 9.677864074707, 0, 0, 270);
  625.     CreateDynamicObject(987, 1786.8195800781, 849.34588623047, 9.6643466949463, 0, 0, 270);
  626.     CreateDynamicObject(987, 1786.9302978516, 837.29235839844, 9.671875, 0, 0, 270);
  627.     CreateDynamicObject(987, 1787.0721435547, 826.00109863281, 9.671875, 0, 0, 0);
  628.     CreateDynamicObject(987, 1798.9986572266, 825.87481689453, 9.6566066741943, 0, 0, 0);
  629.     CreateDynamicObject(987, 1811.0178222656, 825.76574707031, 9.671875, 0, 0, 0);
  630.     CreateDynamicObject(987, 1822.5181884766, 825.88360595703, 9.52330493927, 0, 0, 90);
  631.     CreateDynamicObject(987, 1822.7537841797, 837.89715576172, 9.4978075027466, 0, 0, 90);
  632.     CreateDynamicObject(987, 1822.9942626953, 849.77209472656, 9.5019130706787, 0, 0, 90);
  633.     CreateDynamicObject(987, 1825.8098144531, 860.72869873047, 9.588191986084, 0, 0, 180);
  634.     //drag 5
  635.     CreateDynamicObject(5005, -1153.0541992188, 363.12576293945, 16.699954986572, 0, 0, 45);
  636.     CreateDynamicObject(5005, -1265.8997802734, 250.11042785645, 16.699954986572, 0, 0, 45);
  637.     CreateDynamicObject(5005, -1377.6953125, 138.23068237305, 16.699954986572, 0, 0, 44.994506835938);
  638.     CreateDynamicObject(5005, -1491.0036621094, 24.976879119873, 16.699954986572, 0, 0, 44.994506835938);
  639.     CreateDynamicObject(5005, -1602.7791748047, -86.554740905762, 16.92240524292, 0, 0, 44.994506835938);
  640.     CreateDynamicObject(5005, -1126.9963378906, 342.12286376953, 16.692615509033, 0, 0, 225);
  641.     CreateDynamicObject(5005, -1240.59375, 228.55256652832, 16.699954986572, 0, 0, 224.99450683594);
  642.     CreateDynamicObject(5005, -1353.9125976563, 115.29125213623, 16.699954986572, 0, 0, 224.99450683594);
  643.     CreateDynamicObject(5005, -1466.4443359375, 2.8547728061676, 16.699954986572, 0, 0, 224.99450683594);
  644.     CreateDynamicObject(5005, -1579.6188964844, -110.20236206055, 16.699954986572, 0, 0, 224.99450683594);
  645.     CreateDynamicObject(987, -1070.8721923828, 397.24041748047, 13.414566993713, 0, 0, 318);
  646.     CreateDynamicObject(987, -1104.7188720703, 428.93771362305, 13.1484375, 0, 0, 317.99926757813);
  647.     CreateDynamicObject(987, -1633.287109375, -163.41444396973, 13.1484375, 0, 0, 135.99996948242);
  648.     CreateDynamicObject(987, -1641.0473632813, -155.85911560059, 13.1484375, 0, 0, 135.99975585938);
  649.     CreateDynamicObject(987, -1647.6550292969, -149.4913482666, 13.1484375, 0, 0, 135.99975585938);
  650.     //corrida
  651.     CreateDynamicObject(5428,5043.338,-1805.458,1.991,0.0,0.0,0.0);
  652.     CreateDynamicObject(5428,4985.031,-1804.502,1.955,0.0,0.0,-180.000);
  653.     CreateDynamicObject(978,5025.170,-1791.459,2.574,0.0,0.0,0.0);
  654.     CreateDynamicObject(978,5034.455,-1791.439,2.574,0.0,0.0,0.0);
  655.     CreateDynamicObject(978,5015.805,-1791.456,2.574,0.0,0.0,0.0);
  656.     CreateDynamicObject(978,5006.437,-1791.412,2.537,0.0,0.0,0.0);
  657.     CreateDynamicObject(978,4997.137,-1791.426,2.537,0.0,0.0,0.0);
  658.     CreateDynamicObject(978,4987.882,-1791.423,2.537,0.0,0.0,0.0);
  659.     CreateDynamicObject(978,5043.775,-1791.430,2.574,0.0,0.0,0.0);
  660.     CreateDynamicObject(978,5049.439,-1791.430,2.574,0.0,0.0,0.0);
  661.     CreateDynamicObject(978,4983.813,-1791.464,2.537,0.0,0.0,0.0);
  662.     CreateDynamicObject(978,4979.759,-1818.585,2.537,0.0,0.0,-180.000);
  663.     CreateDynamicObject(978,4989.098,-1818.580,2.537,0.0,0.0,-180.000);
  664.     CreateDynamicObject(978,4998.497,-1818.550,2.537,0.0,0.0,180.000);
  665.     CreateDynamicObject(978,5007.737,-1818.541,2.537,0.0,0.0,180.000);
  666.     CreateDynamicObject(978,5017.005,-1818.552,2.574,0.0,0.0,180.000);
  667.     CreateDynamicObject(978,5026.306,-1818.542,2.574,0.0,0.0,-180.000);
  668.     CreateDynamicObject(978,5035.581,-1818.539,2.574,0.0,0.0,-180.000);
  669.     CreateDynamicObject(978,5044.970,-1818.519,2.574,0.0,0.0,-180.000);
  670.     CreateDynamicObject(3578,4962.438,-1808.560,2.475,0.0,0.0,-96.093);
  671.     CreateDynamicObject(3578,4963.693,-1798.276,2.483,0.0,0.0,-97.812);
  672.     CreateDynamicObject(3578,5066.247,-1798.702,2.512,0.0,0.0,-95.157);
  673.     CreateDynamicObject(3578,5065.142,-1808.926,2.512,0.0,0.0,-96.875);
  674.     CreateDynamicObject(1238,5001.654,-1823.178,1.843,0.0,0.0,0.0);
  675.     CreateDynamicObject(1238,5004.990,-1823.320,1.843,0.0,0.0,0.0);
  676.     CreateDynamicObject(1238,4998.300,-1823.202,1.843,0.0,0.0,0.0);
  677.     CreateDynamicObject(1238,5009.381,-1823.273,1.843,0.0,0.0,0.0);
  678.     CreateDynamicObject(1283,5010.049,-1824.721,4.774,0.0,0.859,90.937);
  679.     CreateDynamicObject(979,4979.729,-1827.261,2.537,0.0,0.0,0.0);
  680.     CreateDynamicObject(979,4989.083,-1827.286,2.537,0.0,0.0,0.0);
  681.     CreateDynamicObject(979,4998.322,-1827.285,2.537,0.0,0.0,0.0);
  682.     CreateDynamicObject(979,5007.639,-1827.302,2.537,0.0,0.0,0.0);
  683.     CreateDynamicObject(979,5016.893,-1827.329,2.574,0.0,0.0,0.0);
  684.     CreateDynamicObject(979,5026.179,-1827.329,2.574,0.0,0.0,0.0);
  685.     CreateDynamicObject(979,5035.483,-1827.332,2.574,0.0,0.0,0.0);
  686.     CreateDynamicObject(979,5044.792,-1827.354,2.574,0.0,0.0,0.0);
  687.     CreateDynamicObject(979,5053.726,-1825.620,2.574,0.0,0.0,22.500);
  688.     CreateDynamicObject(979,5060.960,-1820.733,2.402,0.0,0.0,45.000);
  689.     CreateDynamicObject(979,5064.909,-1812.801,2.574,0.0,0.0,82.188);
  690.     CreateDynamicObject(978,4981.501,-1782.688,2.537,0.0,0.0,-180.000);
  691.     CreateDynamicObject(978,4990.773,-1782.689,2.537,0.0,0.0,-180.000);
  692.     CreateDynamicObject(978,5000.146,-1782.682,2.537,0.0,0.0,-180.000);
  693.     CreateDynamicObject(978,5017.251,-1782.372,2.574,0.0,0.0,-180.000);
  694.     CreateDynamicObject(978,5026.543,-1782.370,2.574,0.0,0.0,-180.000);
  695.     CreateDynamicObject(978,5035.898,-1782.348,2.574,0.0,0.0,-180.000);
  696.     CreateDynamicObject(978,5045.249,-1782.342,2.574,0.0,0.0,-180.000);
  697.     CreateDynamicObject(978,5054.485,-1783.283,2.574,0.0,0.0,-191.250);
  698.     CreateDynamicObject(978,5062.417,-1787.497,2.574,0.0,0.0,135.000);
  699.     CreateDynamicObject(978,5066.437,-1795.767,2.559,0.0,0.0,86.562);
  700.     CreateDynamicObject(978,5008.777,-1782.530,2.537,0.0,0.0,-180.000);
  701.     CreateDynamicObject(978,4972.829,-1784.481,2.537,0.0,0.0,-157.500);
  702.     CreateDynamicObject(978,4966.090,-1789.922,2.537,0.0,0.0,-123.750);
  703.     CreateDynamicObject(978,4962.736,-1817.906,2.537,0.0,0.0,-78.750);
  704.     CreateDynamicObject(978,4967.459,-1824.489,2.537,0.0,0.0,-33.750);
  705.     CreateDynamicObject(978,4976.014,-1827.122,2.537,0.0,0.0,0.0);
  706.     CreateDynamicObject(3578,4971.428,-1808.908,2.481,0.0,0.0,-96.093);
  707.     CreateDynamicObject(3578,4972.324,-1800.466,2.481,0.0,0.0,-96.093);
  708.     CreateDynamicObject(978,4976.243,-1793.914,2.556,0.0,0.0,33.750);
  709.     CreateDynamicObject(978,4974.600,-1816.324,2.551,0.0,0.0,-213.750);
  710.     CreateDynamicObject(978,5030.209,-1813.895,2.638,0.0,0.0,-90.000);
  711.     CreateDynamicObject(978,5030.395,-1806.302,3.929,0.0,0.0,-90.000);
  712.     CreateDynamicObject(978,5030.178,-1797.048,2.865,0.0,0.0,-90.000);
  713.     CreateDynamicObject(1237,5030.163,-1791.915,2.196,0.0,0.0,0.0);
  714.     CreateDynamicObject(1226,5035.003,-1791.115,5.830,0.0,0.0,-90.000);
  715.     CreateDynamicObject(1226,5022.654,-1783.373,5.608,0.0,0.0,90.000);
  716.     CreateDynamicObject(1226,5011.172,-1791.132,5.769,0.0,0.0,-101.250);
  717.     CreateDynamicObject(1226,4996.428,-1782.366,6.879,0.0,0.0,101.250);
  718.     CreateDynamicObject(1226,4979.670,-1790.872,5.571,0.0,0.0,-67.500);
  719.     CreateDynamicObject(1226,4974.432,-1815.377,5.579,0.0,0.0,56.250);
  720.     CreateDynamicObject(1226,4962.494,-1801.140,5.571,0.0,0.0,-180.000);
  721.     CreateDynamicObject(1226,4987.383,-1826.975,6.234,0.0,0.0,-90.000);
  722.     CreateDynamicObject(1226,4999.088,-1818.078,6.177,0.0,0.0,90.000);
  723.     CreateDynamicObject(1226,5019.613,-1817.873,5.616,0.0,0.0,0.0);
  724.     CreateDynamicObject(1226,5034.712,-1827.021,6.416,0.0,0.0,-90.000);
  725.     CreateDynamicObject(1226,5056.352,-1824.196,6.687,0.0,0.0,-45.000);
  726.     CreateDynamicObject(1226,5066.248,-1804.375,5.858,0.0,0.0,0.0);
  727.     CreateDynamicObject(1226,5057.361,-1784.185,6.454,0.0,0.0,56.250);
  728.     CreateDynamicObject(1278,5019.554,-1829.337,15.936,0.0,0.0,-180.000);
  729.     //portões
  730.     Portao[0] = CreateObject(980, -302.27911376953, 1506.8515625, 82.704963684082, 0,0,0); //drift 1
  731.     Portao[1] = CreateObject(980, 2322.9008789063, 1428.8912353516, 48.843704223633, 0, 0, 0); //drift 3
  732.     Portao[2] = CreateObject(980, 1795.5178222656, -2194.7895507813, 19.648391723633, 0, 0, 270); //drift 9
  733.     Portao[3] = CreateObject(980, 2225.9816894531, -1732.4475097656, 20.667146682739, 0, 0, 270); //drag 1
  734.     Portao[4] = CreateObject(980, 1007.4539794922, 2463.35546875, 18.093704223633, 0, 0, 0); //drag 3
  735.     Portao[5] = CreateObject(980, 1807.4918212891, 863.38885498047, 17.685880661011, 0, 0, 0); //drag 5
  736.     return 1;
  737. }
  738. public OnGameModeExit()
  739. {
  740.     KillTimer(ConnectTimer);
  741. }
  742.  
  743. stock SystemMsg(playerid,msg[]) {
  744.    if ((IsPlayerConnected(playerid))&&(strlen(msg)>0)) {
  745.        SendClientMessage(playerid,COR_SISTEMA,msg);
  746.    }
  747.    return 1;
  748. }
  749.  
  750. stock PlayerName(playerid) {
  751.   new name[255];
  752.   GetPlayerName(playerid, name, 255);
  753.   return name;
  754. }
  755.  
  756.  
  757.   dcmd_register(playerid,params[]) {
  758.  
  759.     // Se ja logou o comando nao pode funcionar
  760.     if (PLAYERLIST_authed[playerid]) return SystemMsg(playerid,"Voce Ja se Logou.");
  761.  
  762.     // Nao funcionara se a conta existir
  763.     if (udb_Exists(PlayerName(playerid))) return SendClientMessage(playerid,VERDE,"A Conta ja existe '/login senha'.");
  764.  
  765.     // Esqueceu a senha?
  766.     if (strlen(params)==0) return SendClientMessage(playerid,VERMELHO_BRILHOSO,"Uso Correto: '/register senha'");
  767.  
  768.     if (strlen(params)>MAXIMO) return SendClientMessage(playerid,VERMELHO_BRILHOSO,"A Senha Tem que ser menor que 20 Letras");
  769.  
  770.     if (strlen(params)<MINIMO) return SendClientMessage(playerid,VERMELHO_BRILHOSO,"A Senha Tem que ter mais de 3 Letras");
  771.  
  772.     // Salvar o dinheiro e os status
  773.     if (udb_Create(PlayerName(playerid),params)) {
  774.     PLAYERLIST_authed[playerid]=true;
  775.     SendClientMessage(playerid,VERDE_CLARO,"Obrigado Por Registrar A Sua Conta Voce Ganhou $5000");
  776.     GivePlayerMoney(playerid,50000);
  777.     new Float:X;
  778.     new Float:Y;
  779.     new Float:Z;
  780.     GetPlayerPos(playerid, X, Y, Z);
  781.     PlayerPlaySound(playerid,1147, X, Y, Z);//musiquinha
  782.     }
  783.     return true;
  784.  
  785.  }
  786.  
  787. public OnPlayerConnect(playerid)
  788. {
  789.         CriouCarro[playerid] = 0;
  790.         SendClientMessage(playerid, AZUL, "Ae manolo bem vindo ao servidor, divirta-se driftando com a galera");
  791.         new nome[MAX_PLAYER_NAME];
  792.         for(new i=0; i<MAX_PLAYERS; i++)
  793.         {
  794.             if (IsPlayerConnected(i))
  795.             {
  796.                 GetPlayerName(i, nome, sizeof(nome));
  797.                 format(String, sizeof(String), "O jogador %s acaba de entrar no servidor", nome);
  798.                 SendClientMessageToAll(VERDE, String);
  799.             }
  800.         }
  801.         SendClientMessage(playerid, VERMELHO, "Use /register para criar uma conta ou /login para fazer login no server");
  802.         tentativas[playerid] = 0;
  803.         PLAYERLIST_authed[playerid]=false;
  804.         if (udb_Exists(PlayerName(playerid))) return SendClientMessage(playerid, VERDE_MAR, "Bem Vindo de Volta! Esta conta ja esta registrada (/Login senha)");
  805.         return false;
  806. }
  807. public OnPlayerDisconnect(playerid, reason)
  808. {
  809.     if (PLAYERLIST_authed[playerid])
  810.     {
  811.         // se ele estava logado salve!!!
  812.         dUserSetINT(PlayerName(playerid)).("Money",GetPlayerMoney(playerid));
  813.         dUserSetINT(PlayerName(playerid)).("Score",GetPlayerScore(playerid));
  814.         dUserSetINT(PlayerName(playerid)).("Kills",pkills[playerid]);
  815.         dUserSetINT(PlayerName(playerid)).("Deaths",pdeaths[playerid]);
  816.         dUserSetINT(PlayerName(playerid)).("Minutos",MinutosDeJogo[playerid]);
  817.         dUserSetINT(PlayerName(playerid)).("Horas",HorasJogo[playerid]);
  818.     }
  819.     PLAYERLIST_authed[playerid]=false;
  820.     CriouCarro[playerid] = 0;
  821.     Object_OnPlayerDisconnect(playerid, reason);
  822.     return 1;
  823. }
  824. public OnPlayerCommandText(playerid, cmdtext[])
  825. {
  826.     dcmd(login,5,cmdtext); // login tem 5 letras
  827.     dcmd(register,8,cmdtext); // register tem 8 letras
  828.     dcmd(stats,5,cmdtext);
  829.     //
  830.     if(strcmp("/drag", cmdtext, true) == 0)
  831.     {
  832.         SendClientMessage(playerid, VERMELHO, "Uso correto: /drag1-5");
  833.     }
  834.     if(strcmp("/drift", cmdtext, true) == 0)
  835.     {
  836.         SendClientMessage(playerid, VERMELHO, "Uso correto: /drift1-10");
  837.     }
  838.     if(strcmp("/portao", cmdtext, true) == 0)
  839.     {
  840.         if(IsPlayerInRangeOfPoint(playerid, 10, -302.78436279297, 1514.1839599609, 74.359375))
  841.         {
  842.             MoveObject(Portao[0], -302.27911376953, 1506.8515625, 77.204963684082, 5);
  843.             GameTextForAll("~g~Corrida em ~n~~r~5 ~g~segundos", 3000, 6);
  844.             SetTimer("Portao0", 5000, 0);
  845.         }
  846.         else if(IsPlayerInRangeOfPoint(playerid, 10, 2322.9782714844, 1428.1182861328, 41.8203125))
  847.         {
  848.             MoveObject(Portao[1], 2322.9008789063, 1428.8912353516, 44.593704223633, 5);
  849.             GameTextForAll("~g~Corrida em ~n~~r~5 ~g~segundos", 3000, 6);
  850.             SetTimer("Portao1", 5000, 0);
  851.         }
  852.         else if(IsPlayerInRangeOfPoint(playerid, 10,  1795.5178222656, -2194.7895507813, 15.148391723633))
  853.         {
  854.             MoveObject(Portao[2], 1795.5178222656, -2194.7895507813, 15.148391723633, 5);
  855.             GameTextForAll("~g~Corrida em ~n~~r~5 ~g~segundos", 3000, 6);
  856.             SetTimer("Portao2", 5000, 0);
  857.         }
  858.         else if(IsPlayerInRangeOfPoint(playerid, 10, 2225.9816894531, -1732.4475097656, 15.167146682739))
  859.         {
  860.             MoveObject(Portao[3], 2225.9816894531, -1732.4475097656, 15.167146682739, 5);
  861.             GameTextForAll("~g~Corrida em ~n~~r~5 ~g~segundos", 3000, 6);
  862.             SetTimer("Portao3", 5000, 0);
  863.         }
  864.         else if(IsPlayerInRangeOfPoint(playerid, 10, 1007.4539794922, 2463.35546875, 12.593704223633))
  865.         {
  866.             MoveObject(Portao[4], 1007.4539794922, 2463.35546875, 12.593704223633, 5);
  867.             GameTextForAll("~g~Corrida em ~n~~r~5 ~g~segundos", 3000, 6);
  868.             SetTimer("Portao4", 5000, 0);
  869.         }
  870.         else if(IsPlayerInRangeOfPoint(playerid, 10, 1807.4918212891, 863.38885498047, 12.435880661011))
  871.         {
  872.             MoveObject(Portao[5], 1807.4918212891, 863.38885498047, 12.435880661011, 5);
  873.             GameTextForAll("~g~Corrida em ~n~~r~5 ~g~segundos", 3000, 6);
  874.             SetTimer("Portao5", 5000, 0);
  875.         }
  876.         else
  877.         {
  878.             SendClientMessage(playerid, BRANCO, "Você não está perto de um portão!");
  879.         }
  880.     }
  881.     if(strcmp("/ajuda", cmdtext, true) == 0 || strcmp("/comandos", cmdtext, true) == 0)
  882.     {
  883.         SendClientMessage(playerid, VERDE, "=============================Comandos do servidor===============================");
  884.         SendClientMessage(playerid, VERMELHO_BRILHOSO, "/register [senha] - Registra uma conta");
  885.         SendClientMessage(playerid, VERMELHO_BRILHOSO, "/login [senha] - loga em uma conta");
  886.         SendClientMessage(playerid, VERMELHO_BRILHOSO, "/portao - Inicia a contagem se você estiver perto de um portao");
  887.         SendClientMessage(playerid, VERMELHO_BRILHOSO, "/elegy - Cria um elegy ao seu lado");
  888.         SendClientMessage(playerid, VERMELHO_BRILHOSO, "/drift1-10 - Vá as pistas de drift");
  889.         SendClientMessage(playerid, VERMELHO_BRILHOSO, "/drag1-5 - Vá as pistas de drag");
  890.         SendClientMessage(playerid, VERMELHO_BRILHOSO, "/corrida - Vá ao circuito do jogo");
  891.         SendClientMessage(playerid, VERMELHO_BRILHOSO, "/stats - Veja seus status no servidor");
  892.         SendClientMessage(playerid, VERDE, "==============================================================================");
  893.     }
  894.     if(strcmp("/elegy", cmdtext, true) == 0)
  895.     {
  896.         if(CriouCarro[playerid] == 0)
  897.         {
  898.             new Float:X, Float:Y, Float:Z;
  899.             GetPlayerPos(playerid, X, Y, Z);
  900.             carro = CreateVehicle(562, X+1, Y+1, Z+1, 0, -1, -1, 0);
  901.             CriouCarro[playerid] = 1;
  902.         }
  903.         if(CriouCarro[playerid] == 1)
  904.         {
  905.             DestroyVehicle(carro);
  906.             new Float:X, Float:Y, Float:Z;
  907.             GetPlayerPos(playerid, X, Y, Z);
  908.             carro = CreateVehicle(562, X+1, Y+1, Z+1, 0, -1, -1, 0);
  909.         }
  910.         return 1;
  911.     }
  912.     if(strcmp("/drift1", cmdtext, true) == 0)
  913.     {
  914.         if(IsPlayerInAnyVehicle(playerid))
  915.         {
  916.             new CarroID = GetPlayerVehicleID(playerid);
  917.             SetVehiclePos(CarroID, -325.3644,1524.4933,75.3570);
  918.             SetVehicleZAngle(CarroID, 275.7767);
  919.             new Nome[MAX_PLAYER_NAME];
  920.             GetPlayerName(playerid, Nome, MAX_PLAYER_NAME);
  921.             format(String, sizeof(String), "%s foi a pista de drift numero 1! [/drift1]", Nome);
  922.             SendClientMessageToAll(AMARELO, String);
  923.             } else {
  924.             SetPlayerPos(playerid, -308.1646,1538.0590,75.5625);
  925.             new Nome[MAX_PLAYER_NAME];
  926.             GetPlayerName(playerid, Nome, MAX_PLAYER_NAME);
  927.             format(String, sizeof(String), "%s foi a pista de drift numero 1! [/drift1]", Nome);
  928.             SendClientMessageToAll(AMARELO, String);
  929.             return 1;
  930.             }
  931.         return 1;
  932.      }
  933.      if(strcmp("/drift2", cmdtext, true) == 0)
  934.     {
  935.         new Nome[MAX_PLAYER_NAME];
  936.         GetPlayerName(playerid, Nome, MAX_PLAYER_NAME);
  937.         format(String, sizeof(String), "%s foi a pista de drift numero 2! [/drift2]", Nome);
  938.         SendClientMessageToAll(AMARELO, String);
  939.         if(IsPlayerInAnyVehicle(playerid))
  940.         {
  941.             new CarroID = GetPlayerVehicleID(playerid);
  942.             SetVehiclePos(CarroID, 2227.0264,1963.9061,31.7797);
  943.             SetVehicleZAngle(CarroID, 270.9235);
  944.         } else {
  945.             SetPlayerPos(playerid, 2261.4392,1976.4677,31.7797);
  946.         }
  947.         return 1;
  948.     }
  949.     if(strcmp("/drift3", cmdtext, true) == 0)
  950.     {
  951.         new Nome[MAX_PLAYER_NAME];
  952.         GetPlayerName(playerid, Nome, MAX_PLAYER_NAME);
  953.         format(String, sizeof(String), "%s foi a pista de drift numero 3! [/drift3]", Nome);
  954.         SendClientMessageToAll(AMARELO, String);
  955.         if(IsPlayerInAnyVehicle(playerid))
  956.         {
  957.             new CarroID = GetPlayerVehicleID(playerid);
  958.             SetVehiclePos(CarroID, 2312.2485,1388.6058,42.8203);
  959.             SetVehicleZAngle(CarroID, 0.5423);
  960.         } else {
  961.             SetPlayerPos(playerid, 2340.0779,1392.1433,42.8203);
  962.         }
  963.         return 1;
  964.     }
  965.     if(strcmp("/drift4", cmdtext, true) == 0)
  966.     {
  967.         new Nome[MAX_PLAYER_NAME];
  968.         GetPlayerName(playerid, Nome, MAX_PLAYER_NAME);
  969.         format(String, sizeof(String), "%s foi a pista de drift numero 4! [/drift4] (pista muito perigosa)", Nome);
  970.         SendClientMessageToAll(AMARELO, String);
  971.         if(IsPlayerInAnyVehicle(playerid))
  972.         {
  973.             new CarroID = GetPlayerVehicleID(playerid);
  974.             SetVehiclePos(CarroID, -1114.9188,-1320.6501,658.8815);
  975.             SetVehicleZAngle(CarroID, 3.7822);
  976.             SendClientMessage(playerid, VERMELHO, "ATENÇÃO: PARA CARREGAR OS OBJETOS SAIA E ENTRE NO CARRO NOVAMENTE");
  977.         } else {
  978.             SetPlayerPos(playerid, -1121.3420,-1318.6460,658.0516);
  979.         }
  980.         return 1;
  981.         }
  982.     if(strcmp("/drift5", cmdtext,true) == 0)
  983.     {
  984.         new Nome[MAX_PLAYER_NAME];
  985.         GetPlayerName(playerid, Nome, MAX_PLAYER_NAME);
  986.         format(String, sizeof(String), "%s foi a pista de drift numero 5! [/drift5]", Nome);
  987.         SendClientMessageToAll(AMARELO, String);
  988.         if(IsPlayerInAnyVehicle(playerid))
  989.         {
  990.             new CarroID = GetPlayerVehicleID(playerid);
  991.             SetVehiclePos(CarroID, -2397.1782,-591.4322,132.6484);
  992.             SetVehicleZAngle(CarroID, 124.3994);
  993.         } else {
  994.             SetPlayerPos(playerid, -2412.8547,-601.7930,132.5625);
  995.         }
  996.         return 1;
  997.     }
  998.     if(strcmp("/drift6", cmdtext, true) == 0)
  999.     {
  1000.         new Nome[MAX_PLAYER_NAME];
  1001.         GetPlayerName(playerid, Nome, MAX_PLAYER_NAME);
  1002.         format(String, sizeof(String), "%s foi a pista de drift numero 6! [/drift6] (pista muito perigosa)", Nome);
  1003.         SendClientMessageToAll(AMARELO, String);
  1004.         if(IsPlayerInAnyVehicle(playerid))
  1005.         {
  1006.             new CarroID = GetPlayerVehicleID(playerid);
  1007.             SetVehiclePos(CarroID, 507.8903,1527.0479,306.7007);
  1008.             SetVehicleZAngle(CarroID, 91.2310);
  1009.             SendClientMessage(playerid, VERMELHO, "ATENÇÃO: PARA CARREGAR OS OBJETOS SAIA E ENTRE NO CARRO NOVAMENTE");
  1010.         } else {
  1011.             SetPlayerPos(playerid, 480.3091,1543.7242,305.7834);
  1012.             SetPlayerFacingAngle(playerid, 90.0403);
  1013.         return 1;
  1014.         }
  1015.     return 1;
  1016.     }
  1017.     if(strcmp("/drift7", cmdtext, true) == 0)
  1018.     {
  1019.         new Nome[MAX_PLAYER_NAME];
  1020.         GetPlayerName(playerid, Nome, MAX_PLAYER_NAME);
  1021.         format(String, sizeof(String), "%s foi a pista de drift numero 7! [/drift7]", Nome);
  1022.         SendClientMessageToAll(AMARELO, String);
  1023.         if(IsPlayerInAnyVehicle(playerid))
  1024.         {
  1025.             new CarroID = GetPlayerVehicleID(playerid);
  1026.             SetVehiclePos(CarroID, -2143.1484,917.6301,79.8516);
  1027.             SetVehicleZAngle(CarroID, 276.1757);
  1028.         } else {
  1029.             SetPlayerPos(playerid, -2141.8767,910.8787,79.8516);
  1030.             SetPlayerFacingAngle(playerid, 356.8285);
  1031.         }
  1032.         return 1;
  1033.     }
  1034.     if(strcmp("/drift8", cmdtext, true) == 0)
  1035.     {
  1036.         new Nome[MAX_PLAYER_NAME];
  1037.         GetPlayerName(playerid, Nome, MAX_PLAYER_NAME);
  1038.         format(String, sizeof(String), "%s foi a pista de drift numero 8! [/drift8]", Nome);
  1039.         SendClientMessageToAll(AMARELO, String);
  1040.         if(IsPlayerInAnyVehicle(playerid))
  1041.         {
  1042.             new CarroID = GetPlayerVehicleID(playerid);
  1043.             SetVehiclePos(CarroID, 1264.4730,-2041.4668,59.2795);
  1044.             SetVehicleZAngle(CarroID, 179.7309);
  1045.         } else {
  1046.             SetPlayerPos(playerid, 1272.7941,-2042.0048,59.0858);
  1047.             SetPlayerFacingAngle(playerid, 91.1820);
  1048.         }
  1049.         return 1;
  1050.     }
  1051.     if(strcmp("/drift9", cmdtext, true) == 0)
  1052.     {
  1053.         new Nome[MAX_PLAYER_NAME];
  1054.         GetPlayerName(playerid, Nome, MAX_PLAYER_NAME);
  1055.         format(String, sizeof(String), "%s foi a pista de drift numero 9! [/drift9]", Nome);
  1056.         SendClientMessageToAll(AMARELO, String);
  1057.         if(IsPlayerInAnyVehicle(playerid))
  1058.         {
  1059.             new CarroID = GetPlayerVehicleID(playerid);
  1060.             SetVehiclePos(CarroID, 1814.7751,-2193.2014,13.3750);
  1061.             SetVehicleZAngle(CarroID, 87.6335);
  1062.         } else {
  1063.             SetPlayerPos(playerid, 1800.9426,-2202.4644,13.5469);
  1064.             SetPlayerFacingAngle(playerid, 3.5967);
  1065.         }
  1066.         return 1;
  1067.     }
  1068.     if(strcmp("/drift10", cmdtext, true) == 0)
  1069.     {
  1070.         new Nome[MAX_PLAYER_NAME];
  1071.         GetPlayerName(playerid, Nome, MAX_PLAYER_NAME);
  1072.         format(String, sizeof(String), "%s foi a pista de drift numero 10! [/drift10]", Nome);
  1073.         SendClientMessageToAll(AMARELO, String);
  1074.         if(IsPlayerInAnyVehicle(playerid))
  1075.         {
  1076.             new CarroID = GetPlayerVehicleID(playerid);
  1077.             SetVehiclePos(CarroID, 1483.3844,1188.7058,10.8203);
  1078.             SetVehicleZAngle(CarroID, 0.7770);
  1079.         } else {
  1080.             SetPlayerPos(playerid, 1494.5212,1196.6018,10.8203);
  1081.             SetPlayerFacingAngle(playerid, 93.2738);
  1082.         }
  1083.         return 1;
  1084.     }
  1085.     if(strcmp("/drag1", cmdtext, true) == 0)
  1086.     {
  1087.         new Nome[MAX_PLAYER_NAME];
  1088.         GetPlayerName(playerid, Nome, MAX_PLAYER_NAME);
  1089.         format(String, sizeof(String), "%s foi para o Drag numero 1! [/drag1]", Nome);
  1090.         SendClientMessageToAll(AMARELO, String);
  1091.         if(IsPlayerInAnyVehicle(playerid))
  1092.         {
  1093.             new CarroID = GetPlayerVehicleID(playerid);
  1094.             SetVehiclePos(CarroID, 2199.8699,-1729.2563,13.4227);
  1095.             SetVehicleZAngle(CarroID, 266.4235);
  1096.         } else {
  1097.             SetPlayerPos(playerid, 2205.5625,-1739.3123,13.3421);
  1098.             SetPlayerFacingAngle(playerid, 291.8037);
  1099.         }
  1100.         return 1;
  1101.     }
  1102.     if(strcmp("/drag2", cmdtext, true) == 0)
  1103.     {
  1104.         new Nome[MAX_PLAYER_NAME];
  1105.         GetPlayerName(playerid, Nome, MAX_PLAYER_NAME);
  1106.         format(String, sizeof(String), "%s foi para o Drag numero 2! [/drag2]", Nome);
  1107.         SendClientMessageToAll(AMARELO, String);
  1108.         if(IsPlayerInAnyVehicle(playerid))
  1109.         {
  1110.             new CarroID = GetPlayerVehicleID(playerid);
  1111.             SetVehiclePos(CarroID, 434.0305,2522.6165,16.6262);
  1112.             SetVehicleZAngle(CarroID, 92.1458);
  1113.         } else {
  1114.             SetPlayerPos(playerid, 429.7303,2479.1699,16.4844);
  1115.             SetPlayerFacingAngle(playerid, 92.1458);
  1116.         }
  1117.         return 1;
  1118.     }
  1119.     if(strcmp("/drag3", cmdtext, true) == 0)
  1120.     {
  1121.         new Nome[MAX_PLAYER_NAME];
  1122.         GetPlayerName(playerid, Nome, MAX_PLAYER_NAME);
  1123.         format(String, sizeof(String), "%s foi para o Drag numero 3! [/drag3]", Nome);
  1124.         SendClientMessageToAll(AMARELO, String);
  1125.         if(IsPlayerInAnyVehicle(playerid))
  1126.         {
  1127.             new CarroID = GetPlayerVehicleID(playerid);
  1128.             SetVehiclePos(CarroID, 1009.0265,2494.2173,10.8203);
  1129.             SetVehicleZAngle(CarroID, 181.4936);
  1130.         } else {
  1131.             SetPlayerPos(playerid, 998.2145,2467.9543,10.8203);
  1132.             SetPlayerFacingAngle(playerid, 277.3745);
  1133.         }
  1134.         return 1;
  1135.     }
  1136.     if(strcmp("/drag4", cmdtext, true) == 0)
  1137.     {
  1138.         new Nome[MAX_PLAYER_NAME];
  1139.         GetPlayerName(playerid, Nome, MAX_PLAYER_NAME);
  1140.         format(String, sizeof(String), "%s foi para o Drag numero 4! [/drag4]", Nome);
  1141.         SendClientMessageToAll(AMARELO, String);
  1142.         if(IsPlayerInAnyVehicle(playerid))
  1143.         {
  1144.             new CarroID = GetPlayerVehicleID(playerid);
  1145.             SetVehiclePos(CarroID, 1819.8379,838.5637,10.5946);
  1146.             SetVehicleZAngle(CarroID, 90.5944);
  1147.         } else {
  1148.             SetPlayerPos(playerid, 1816.6586,857.3652,10.6719);
  1149.             SetPlayerFacingAngle(playerid, 90.1950);
  1150.         }
  1151.         return 1;
  1152.     }
  1153.     if(strcmp("/drag5", cmdtext, true) == 0)
  1154.     {
  1155.         new Nome[MAX_PLAYER_NAME];
  1156.         GetPlayerName(playerid, Nome, MAX_PLAYER_NAME);
  1157.         format(String, sizeof(String), "%s foi para o Drag numero 5! [/drag5]", Nome);
  1158.         SendClientMessageToAll(AMARELO, String);
  1159.         if(IsPlayerInAnyVehicle(playerid))
  1160.         {
  1161.             new CarroID = GetPlayerVehicleID(playerid);
  1162.             SetVehiclePos(CarroID, -1094.3015,409.3852,14.1484);
  1163.             SetVehicleZAngle(CarroID, 134.0228);
  1164.         } else {
  1165.             SetPlayerPos(playerid, -1089.8513,429.8994,14.2290);
  1166.             SetPlayerFacingAngle(playerid, 223.6996);
  1167.         }
  1168.         return 1;
  1169.     }
  1170.     if(strcmp("/corrida", cmdtext, true) == 0)
  1171.     {
  1172.         new Nome[MAX_PLAYER_NAME];
  1173.         GetPlayerName(playerid, Nome, MAX_PLAYER_NAME);
  1174.         format(String, sizeof(String), "%s foi para a Corrida [/corrida]", Nome);
  1175.         SendClientMessageToAll(AMARELO, String);
  1176.         if(IsPlayerInAnyVehicle(playerid))
  1177.         {
  1178.             new CarroID = GetPlayerVehicleID(playerid);
  1179.             SetVehiclePos(CarroID, 5052.706,-1804.660,2.935);
  1180.         } else {
  1181.             SetPlayerPos(playerid, 5052.706,-1804.660,2.935);
  1182.         }
  1183.     }
  1184.     if(strcmp("/creditos", cmdtext, true) == 0)
  1185.     {
  1186.         SendClientMessage(playerid, ROSA, "=======================================");
  1187.         SendClientMessage(playerid, VERDE_CLARO, "------CRÉDITOS DO GAME MODE------");
  1188.         SendClientMessage(playerid, AZUL_CLARO, "GM em geral - LuCaS_   ( @lucasbep0 )");
  1189.         SendClientMessage(playerid, AZUL_CLARO, "Sistema de registro de contas - Samp Virtual");
  1190.         SendClientMessage(playerid, AZUL_CLARO, "/drift6 - [PsB]Joel");
  1191.         SendClientMessage(playerid, ROSA, "=======================================");
  1192.     }
  1193.     return 1;
  1194. }
  1195. public OnPlayerRequestClass(playerid, classid)
  1196.  {
  1197.     SetPlayerPos(playerid, -353.2932,1515.0031,79.4377);
  1198.     SetPlayerFacingAngle(playerid, 118.1687);
  1199.     SetPlayerCameraPos(playerid, -357.2755,1513.4547,79.5080);
  1200.     SetPlayerCameraLookAt(playerid,  -353.2932,1515.0031,79.4377);
  1201.     return 1;
  1202.  }
  1203.  
  1204. public OnPlayerText(playerid, text[])
  1205. {   if (!PLAYERLIST_authed[playerid]){
  1206.     if (udb_Exists(PlayerName(playerid))){
  1207.     SystemMsg(playerid,"Voce nao esta logado para usar o chat!");
  1208.     new Float:X;
  1209.     new Float:Y;
  1210.     new Float:Z;
  1211.     GetPlayerPos(playerid, X, Y, Z);
  1212.     PlayerPlaySound(playerid,1147, X, Y, Z);//musiquinha
  1213.     }
  1214.     return 0;
  1215.     }
  1216.     return 1;
  1217. }
  1218. public OnPlayerDeath(playerid, killerid, reason)
  1219.  
  1220. {
  1221.  
  1222.     if (killerid != INVALID_PLAYER_ID) {
  1223.  
  1224.             pkills[killerid] ++;
  1225.             pdeaths[playerid] ++;
  1226.         }
  1227.  
  1228.  
  1229.     return 1;
  1230.  
  1231. }
  1232.  
  1233.  
  1234.   dcmd_login(playerid,params[]) {
  1235.  
  1236.     // Porque logar-se dinovo??
  1237.     if (PLAYERLIST_authed[playerid]) return SystemMsg(playerid,"Voce ja se logou.");
  1238.  
  1239.     // O Comando Naso pode funcioanr se
  1240.     // a conta nao existe
  1241.     if (!udb_Exists(PlayerName(playerid))) return SystemMsg(playerid,"A Conta nao existe '/register password'.");
  1242.  
  1243.     // Esqueceu a senha?
  1244.     if (strlen(params)==0) return SendClientMessage(playerid,VERMELHO_BRILHOSO,"Uso '/login password'");
  1245.  
  1246.     if (udb_CheckLogin(PlayerName(playerid),params)) {
  1247.        // Acertou a senha
  1248.  
  1249.        // Aki devolver os status da ultima conta
  1250.        GivePlayerMoney(playerid,dUserINT(PlayerName(playerid)).("money")+GetPlayerMoney(playerid));
  1251.        SetPlayerScore(playerid,dUserINT(PlayerName(playerid)).("Score")+GetPlayerScore(playerid));
  1252.        pkills[playerid] = (playerid,dUserINT(PlayerName(playerid)).("Kills")+pkills[playerid]);
  1253.        pdeaths[playerid] = (playerid,dUserINT(PlayerName(playerid)).("Deaths")+pdeaths[playerid]);
  1254.        MinutosDeJogo[playerid] = (playerid,dUserINT(PlayerName(playerid)).("Minutos")+MinutosDeJogo[playerid]);
  1255.        HorasJogo[playerid] = (playerid,dUserINT(PlayerName(playerid)).("Horas")+HorasJogo[playerid]);
  1256.        PLAYERLIST_authed[playerid]=true;
  1257.  
  1258.        return SystemMsg(playerid,"Voce agora esta logado!");
  1259.     }
  1260.     // Senha incorreta
  1261.     tentativas[playerid]++;
  1262.     if(tentativas[playerid] == MAXIMAS_TENTATIVAS) {
  1263.     SystemMsg(playerid,"Voce foi kickado Por Errar Muito!!");
  1264.     new string[258];
  1265.     format(string,258,"O player %d Foi Kickado por Errar A senha",PlayerName(playerid));
  1266.     print(string);
  1267.     Kick(playerid);
  1268.     }
  1269.     else if (tentativas[playerid] == MAXIMAS_TENTATIVAS-1){
  1270.     SendClientMessage(playerid, VERMELHO_BRILHOSO, "Na Proxima Vai Ser kickado!!!");//ui...
  1271.     }
  1272.     return  SystemMsg(playerid,"Senha Incorreta!");
  1273.  }
  1274.  
  1275. dcmd_stats(playerid,params[])
  1276. {
  1277.     new string[128];
  1278.     if(!strlen(params)) {
  1279.         format(string, sizeof(string),"* Seus Status:  Kills: %d | Deaths: %d | Score: %d | Ratio: %f | Grana: $%d | Tempo de Jogo: %d:%d",
  1280.         pkills[playerid], pdeaths[playerid], GetPlayerScore(playerid), (Float:pkills[playerid]/Float:pdeaths[playerid]),
  1281.         GetPlayerMoney(playerid),HorasJogo[playerid],MinutosDeJogo[playerid]);
  1282.     }
  1283.     else
  1284.     {
  1285.         new player1, playername[MAX_PLAYER_NAME];
  1286.         player1 = strval(params);
  1287.  
  1288.         if(IsPlayerConnected(player1) && player1 != INVALID_PLAYER_ID) {
  1289.             GetPlayerName(player1, playername, sizeof(playername));
  1290.             format(string, sizeof(string),"* Status Do Jogador: %s (id %d)  Kills: %d | Deaths: %d | Score: %d | Ratio: %f | Grana: $%d| Tempo de jogo: %d:%d",
  1291.             playername, player1, pkills[player1], pdeaths[player1], GetPlayerScore(player1),
  1292.             (Float:pkills[player1]/Float:pdeaths[player1]), GetPlayerMoney(player1),HorasJogo[player1],MinutosDeJogo[player1]);
  1293.         } else return SendClientMessage(playerid,VERMELHO, "ERRO: Jogador Nao Conectado");
  1294.     }
  1295.     return SendClientMessage(playerid,BRANCO,String);
  1296. }
  1297.  
  1298. public HorasDeJogo()
  1299. {
  1300. for(new i=0;i<MAX_PLAYERS;i++)
  1301. {
  1302.    if(IsPlayerConnected(i))
  1303.    {
  1304.       if(MinutosDeJogo[i] < 60)
  1305.       {
  1306.       MinutosDeJogo[i]++;
  1307.       }else{
  1308.       MinutosDeJogo[i] = 0;
  1309.       HorasJogo[i]++;
  1310.       }
  1311.    }
  1312. }
  1313. }
  1314. public OnPlayerSpawn(playerid)
  1315. {
  1316.     SetPlayerInterior(playerid,0);
  1317.     TogglePlayerClock(playerid,0);
  1318.     return 1;
  1319. }
  1320. public Portao0()
  1321. {
  1322.     MoveObject(Portao[0], -302.27911376953, 1506.8515625, 82.704963684082, 7);
  1323.     GameTextForAll("~r~Vai Vai Vai", 2000, 6);
  1324. }
  1325. public Portao1()
  1326. {
  1327.     MoveObject(Portao[1], 2322.9008789063, 1428.8912353516, 48.843704223633, 7);
  1328.     GameTextForAll("~r~Vai Vai Vai", 2000, 6);
  1329. }
  1330. public Portao2()
  1331. {
  1332.     MoveObject(Portao[2], 1795.5178222656, -2194.7895507813, 19.648391723633, 7);
  1333.     GameTextForAll("~r~Vai Vai Vai", 2000, 6);
  1334. }
  1335. public Portao3()
  1336. {
  1337.     MoveObject(Portao[3], 2225.9816894531, -1732.4475097656, 20.667146682739, 7);
  1338.     GameTextForAll("~r~Vai Vai Vai", 2000, 6);
  1339. }
  1340. public Portao4()
  1341. {
  1342.     MoveObject(Portao[4], 1007.4539794922, 2463.35546875, 18.093704223633, 7);
  1343.     GameTextForAll("~r~Vai Vai Vai", 2000, 6);
  1344. }
  1345. public Portao5()
  1346. {
  1347.     MoveObject(Portao[5], 1807.4918212891, 863.38885498047, 17.685880661011, 7);
  1348.     GameTextForAll("~r~Vai Vai Vai", 2000, 6);
  1349. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement