SHARE
TWEET

[GM] GameMode Loucos por Drift - Oficial v1.0

Chip7 Aug 23rd, 2012 1,502 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /*VISITE NOSSO SITE: http://www.sampknd.com/
  2.   VISITE NOSSO FACEBOOK: http://www.facebook.com/SampKnd
  3.   SAMP KND MELHOR BLOG DE SAMP DO BRASIL
  4. */
  5.  
  6. //============================[ Includes ]======================================
  7. #include a_samp
  8. #include DOF2
  9. #include zcmd
  10. #include sscanf2
  11. #include streamer
  12. //=============================[ Dialogid ]=====================================
  13. #define DialogRegistro                                                         1
  14. #define DialogLogin                                                            2
  15. #define DialogSaidaA                                                           3
  16. #define DialogSaidaB                                                           4
  17. #define Admins                                                                 5
  18. #define AjudaPlayers                                                           6
  19. #define Ajudaadmins                                                            7
  20. #define DialogContato                                                          8
  21. #define DIALOG_CARS                                                            9
  22. #define DialogTeles                                                           10
  23. //=========================[ Denifiçoes Gerais ]================================
  24. #define HOSTNAME               "hostname [LPD] Loucos Por Drift - Oficial[0.3e]"
  25. #define GAMEMODE                                                      "LPD v1.0"
  26. #define CASE_SENSITIVE                                                     false
  27. #define RESPAWN                                                      99999*99999
  28. #define ADMIN_SPEC_TYPE_NONE                                                   0
  29. #define ADMIN_SPEC_TYPE_PLAYER                                                 1
  30. #define ADMIN_SPEC_TYPE_VEHICLE                                                2
  31. //=============================[ Cores :)  ]====================================
  32. #define CorBranco           0xFFFFFFAA
  33. #define CorPreto            0x000000AA
  34. #define CorCinza            0x808080AA
  35. #define CorCinzaClaro       0xC0C0C0AA
  36. #define CorCinzaEscuro      0x4B4B4BAA
  37. #define CorAmarelo          0xFFFF00AA
  38. #define CorAmareloClaro     0xFFFF80AA
  39. #define CorAmareloEscuro    0xD7D700AA
  40. #define CorVerde            0x008000AA
  41. #define CorVerdeClaro       0x00BB00AA
  42. #define CorVerdeEscuro      0x004000AA
  43. #define CorAzul             0x0000FFAA
  44. #define CorAzulClaro        0x4A4AFFAA
  45. #define CorAzulEscuro       0x000080AA
  46. #define CorVermelho         0xFF0000AA
  47. #define CorVermelhoClaro    0xAE0000AA
  48. #define CorVermelhoEscuro   0xFF3737AA
  49. #define CorLaranja          0xFF8000AA
  50. #define CorLaranjaClaro     0xFF8040AA
  51. #define CorLaranjaEscuro    0xCE6700AA
  52. #define CorRoxo             0x8000FFAA
  53. #define CorRoxoClaro        0x9E3EFFAA
  54. #define CorRoxoEscuro       0x400080AA
  55. #define CorRosa             0xFF62B0AA
  56. #define CorRosaClaro        0xFF91C8AA
  57. #define CorRosaEscuro       0xFF2F97AA
  58. #define CorAzulBebe         0x00FFFFAA
  59. #define CorAzulMarinho      0x33FF99AA
  60. #define CorVerdelimao       0x00FF00AA
  61. #define CorDourado          0x808000AA
  62. #define CorPrata            0xB6B6B6AA
  63. #define CorRosaShock        0xFF0080AA
  64. //=============================[ Drift      ]===================================
  65. #define DRIFT_MINKAT 10.0
  66. #define DRIFT_MAXKAT 90.0
  67. #define DRIFT_SPEED 30.0
  68. #define COLOR_Label 0xFFFFFFFF
  69. #define COLOR_LabelOut 0x00000040
  70. #define COLOR_ValueOut 0xFFFFFF40
  71. #define COLOR_Value 0x000000FF
  72. #define Label_X 500
  73. #define Value_X 500
  74. #define TD_Y 100
  75. //=============================[ PlayerInfo ]===================================
  76. enum pInfo
  77. {
  78.    pScore,
  79.    pGrana,
  80.    pAdmin
  81. }
  82. new PlayerInfo[MAX_PLAYERS][pInfo];
  83. //=============================[ Variaveis ]====================================
  84. new arquivo[45];
  85. new Don[1000];
  86. new Name[MAX_PLAYER_NAME];
  87. new TentativasDeLogar[MAX_PLAYERS];
  88. new bool:espiando[MAX_PLAYERS];
  89. new bool:mpermitido[MAX_PLAYERS];
  90. new gSpectateID[MAX_PLAYERS];
  91. new gSpectateType[MAX_PLAYERS];
  92. new oplayers;
  93. new Precord;
  94. new Drecord;
  95. new Mrecord;
  96. new Yrecord;
  97. new THrecord;
  98. new TMrecord;
  99.  
  100. new MensagensRandomicas[5][128] ={//   {FF0000}%s{FFFFFF}
  101.     "{FF0000}[Loucos-Drift]{FFFFFF} Nao use cheater , pois pode ser {FF0000}kickado{FFFFFF}!",
  102.     "{FF0000}[Loucos-Drift]{FFFFFF} Viu cheater? Use {FF0000}/report{FFFFFF}.",
  103.     "{FF0000}[Loucos-Drift]{FFFFFF} Duvida? {FF0000}/ajuda /admin /report{FFFFFF}.",
  104.     "{FF0000}[Loucos-Drift]{FFFFFF} Acesse nosso forum :{FF0000} Em Breve{FFFFFF}.",
  105.     "{FF0000}[Loucos-Drift]{FFFFFF} Criador desse GameMode : {FF0000}Don_Speed{FFFFFF} ( {FF0000}/contato{FFFFFF} )."
  106. };
  107. new PlayerColors[200] = {
  108. 0xFF8C13FF,0xC715FFFF,0x20B2AAFF,0xDC143CFF,0x6495EDFF,0xf0e68cFF,0x778899FF,0xFF1493FF,0xF4A460FF,
  109. 0xEE82EEFF,0xFFD720FF,0x8b4513FF,0x4949A0FF,0x148b8bFF,0x14ff7fFF,0x556b2fFF,0x0FD9FAFF,0x10DC29FF,
  110. 0x534081FF,0x0495CDFF,0xEF6CE8FF,0xBD34DAFF,0x247C1BFF,0x0C8E5DFF,0x635B03FF,0xCB7ED3FF,0x65ADEBFF,
  111. 0x5C1ACCFF,0xF2F853FF,0x11F891FF,0x7B39AAFF,0x53EB10FF,0x54137DFF,0x275222FF,0xF09F5BFF,0x3D0A4FFF,
  112. 0x22F767FF,0xD63034FF,0x9A6980FF,0xDFB935FF,0x3793FAFF,0x90239DFF,0xE9AB2FFF,0xAF2FF3FF,0x057F94FF,
  113. 0xB98519FF,0x388EEAFF,0x028151FF,0xA55043FF,0x0DE018FF,0x93AB1CFF,0x95BAF0FF,0x369976FF,0x18F71FFF,
  114. 0x4B8987FF,0x491B9EFF,0x829DC7FF,0xBCE635FF,0xCEA6DFFF,0x20D4ADFF,0x2D74FDFF,0x3C1C0DFF,0x12D6D4FF,
  115. 0x48C000FF,0x2A51E2FF,0xE3AC12FF,0xFC42A8FF,0x2FC827FF,0x1A30BFFF,0xB740C2FF,0x42ACF5FF,0x2FD9DEFF,
  116. 0xFAFB71FF,0x05D1CDFF,0xC471BDFF,0x94436EFF,0xC1F7ECFF,0xCE79EEFF,0xBD1EF2FF,0x93B7E4FF,0x3214AAFF,
  117. 0x184D3BFF,0xAE4B99FF,0x7E49D7FF,0x4C436EFF,0xFA24CCFF,0xCE76BEFF,0xA04E0AFF,0x9F945CFF,0xDCDE3DFF,
  118. 0x10C9C5FF,0x70524DFF,0x0BE472FF,0x8A2CD7FF,0x6152C2FF,0xCF72A9FF,0xE59338FF,0xEEDC2DFF,0xD8C762FF,
  119. 0xD8C762FF,0xFF8C13FF,0xC715FFFF,0x20B2AAFF,0xDC143CFF,0x6495EDFF,0xf0e68cFF,0x778899FF,0xFF1493FF,
  120. 0xF4A460FF,0xEE82EEFF,0xFFD720FF,0x8b4513FF,0x4949A0FF,0x148b8bFF,0x14ff7fFF,0x556b2fFF,0x0FD9FAFF,
  121. 0x10DC29FF,0x534081FF,0x0495CDFF,0xEF6CE8FF,0xBD34DAFF,0x247C1BFF,0x0C8E5DFF,0x635B03FF,0xCB7ED3FF,
  122. 0x65ADEBFF,0x5C1ACCFF,0xF2F853FF,0x11F891FF,0x7B39AAFF,0x53EB10FF,0x54137DFF,0x275222FF,0xF09F5BFF,
  123. 0x3D0A4FFF,0x22F767FF,0xD63034FF,0x9A6980FF,0xDFB935FF,0x3793FAFF,0x90239DFF,0xE9AB2FFF,0xAF2FF3FF,
  124. 0x057F94FF,0xB98519FF,0x388EEAFF,0x028151FF,0xA55043FF,0x0DE018FF,0x93AB1CFF,0x95BAF0FF,0x369976FF,
  125. 0x18F71FFF,0x4B8987FF,0x491B9EFF,0x829DC7FF,0xBCE635FF,0xCEA6DFFF,0x20D4ADFF,0x2D74FDFF,0x3C1C0DFF,
  126. 0x12D6D4FF,0x48C000FF,0x2A51E2FF,0xE3AC12FF,0xFC42A8FF,0x2FC827FF,0x1A30BFFF,0xB740C2FF,0x42ACF5FF,
  127. 0x2FD9DEFF,0xFAFB71FF,0x05D1CDFF,0xC471BDFF,0x94436EFF,0xC1F7ECFF,0xCE79EEFF,0xBD1EF2FF,0x93B7E4FF,
  128. 0x3214AAFF,0x184D3BFF,0xAE4B99FF,0x7E49D7FF,0x4C436EFF,0xFA24CCFF,0xCE76BEFF,0xA04E0AFF,0x9F945CFF,
  129. 0xDCDE3DFF,0x10C9C5FF,0x70524DFF,0x0BE472FF,0x8A2CD7FF,0x6152C2FF,0xCF72A9FF,0xE59338FF,0xEEDC2DFF,
  130. 0xD8C762FF,0xD8C762FF
  131. };
  132. new NomeCarros[][] =
  133. {
  134.     "Landstalker",
  135.     "Bravura",
  136.     "Buffalo",
  137.     "Linerunner",
  138.     "Pereniel",
  139.     "Sentinel",
  140.     "Dumper",
  141.     "Firetruck",
  142.     "Trashmaster",
  143.     "Stretch",
  144.     "Manana",
  145.     "Infernus",
  146.     "Voodoo",
  147.     "Pony",
  148.     "Mule",
  149.     "Cheetah",
  150.     "Ambulance",
  151.     "Leviathan",
  152.     "Moonbeam",
  153.     "Esperanto",
  154.     "Taxi",
  155.     "Washington",
  156.     "Bobcat",
  157.     "Mr Whoopee",
  158.     "BF Injection",
  159.     "Hunter",
  160.     "Premier",
  161.     "Enforcer",
  162.     "Securicar",
  163.     "Banshee",
  164.     "Predator",
  165.     "Bus",
  166.     "Rhino",
  167.     "Barracks",
  168.     "Hotknife",
  169.     "Trailer",
  170.     "Previon",
  171.     "Coach",
  172.     "Cabbie",
  173.     "Stallion",
  174.     "Rumpo",
  175.     "RC Bandit",
  176.     "Romero",
  177.     "Packer",
  178.     "Monster Truck",
  179.     "Admiral",
  180.     "Squalo",
  181.     "Seasparrow",
  182.     "Pizzaboy",
  183.     "Tram",
  184.     "Trailer",
  185.     "Turismo",
  186.     "Speeder",
  187.     "Reefer",
  188.     "Tropic",
  189.     "Flatbed",
  190.     "Yankee",
  191.     "Caddy",
  192.     "Solair",
  193.     "Berkley's RC Van",
  194.     "Skimmer",
  195.     "PCJ-600",
  196.     "Faggio",
  197.     "Freeway",
  198.     "RC Baron",
  199.     "RC Raider",
  200.     "Glendale",
  201.     "Oceanic",
  202.     "Sanchez",
  203.     "Sparrow",
  204.     "Patriot",
  205.     "Quad",
  206.     "Coastguard",
  207.     "Dinghy",
  208.     "Hermes",
  209.     "Sabre",
  210.     "Rustler",
  211.     "ZR-350",
  212.     "Walton",
  213.     "Regina",
  214.     "Comet",
  215.     "BMX",
  216.     "Burrito",
  217.     "Camper",
  218.     "Marquis",
  219.     "Baggage",
  220.     "Dozer",
  221.     "Maverick",
  222.     "News Chopper",
  223.     "Rancher",
  224.     "FBI Rancher",
  225.     "Virgo",
  226.     "Greenwood",
  227.     "Jetmax",
  228.     "Hotring",
  229.     "Sandking",
  230.     "Blista Compact",
  231.     "Police Maverick",
  232.     "Boxville",
  233.     "Benson",
  234.     "Mesa",
  235.     "RC Goblin",
  236.     "Hotring Racer",
  237.     "Hotring Racer",
  238.     "Bloodring Banger",
  239.     "Rancher",
  240.     "Super GT",
  241.     "Elegant",
  242.     "Journey",
  243.     "Bike",
  244.     "Mountain Bike",
  245.     "Beagle",
  246.     "Cropdust",
  247.     "Stunt",
  248.     "Tanker",
  249.     "RoadTrain",
  250.     "Nebula",
  251.     "Majestic",
  252.     "Buccaneer",
  253.     "Shamal",
  254.     "Hydra",
  255.     "FCR-900",
  256.     "NRG-500",
  257.     "HPV1000",
  258.     "Cement Truck",
  259.     "Tow Truck",
  260.     "Fortune",
  261.     "Cadrona",
  262.     "FBI Truck",
  263.     "Willard",
  264.     "Forklift",
  265.     "Tractor",
  266.     "Combine",
  267.     "Feltzer",
  268.     "Remington",
  269.     "Slamvan",
  270.     "Blade",
  271.     "Freight",
  272.     "Streak",
  273.     "Vortex",
  274.     "Vincent",
  275.     "Bullet",
  276.     "Clover",
  277.     "Sadler",
  278.     "Firetruck",
  279.     "Hustler",
  280.     "Intruder",
  281.     "Primo",
  282.     "Cargobob",
  283.     "Tampa",
  284.     "Sunrise",
  285.     "Merit",
  286.     "Utility",
  287.     "Nevada",
  288.     "Yosemite",
  289.     "Windsor",
  290.     "Monster Truck",
  291.     "Monster Truck",
  292.     "Uranus",
  293.     "Jester",
  294.     "Sultan",
  295.     "Stratum",
  296.     "Elegy",
  297.     "Raindance",
  298.     "RC Tiger",
  299.     "Flash",
  300.     "Tahoma",
  301.     "Savanna",
  302.     "Bandito",
  303.     "Freight",
  304.     "Trailer",
  305.     "Kart",
  306.     "Mower",
  307.     "Duneride",
  308.     "Sweeper",
  309.     "Broadway",
  310.     "Tornado",
  311.     "AT-400",
  312.     "DFT-30",
  313.     "Huntley",
  314.     "Stafford",
  315.     "BF-400",
  316.     "Newsvan",
  317.     "Tug",
  318.     "Trailer",
  319.     "Emperor",
  320.     "Wayfarer",
  321.     "Euros",
  322.     "Hotdog",
  323.     "Club",
  324.     "Trailer",
  325.     "Trailer",
  326.     "Andromada",
  327.     "Dodo",
  328.     "RC Cam",
  329.     "Launch",
  330.     "Police Car (LS)",
  331.     "Police Car (SF)",
  332.     "Police Car (LV)",
  333.     "Police Ranger",
  334.     "Picador",
  335.     "S.W.A.T. Van",
  336.     "Alpha",
  337.     "Phoenix",
  338.     "Glendale",
  339.     "Sadler",
  340.     "Luggage Trailer",
  341.     "Luggage Trailer",
  342.     "Stair Trailer",
  343.     "Boxville",
  344.     "Farm Plow",
  345.     "Utility Trailer"
  346. };
  347. stock IsValidVehicle(modelid)
  348. {
  349.     switch(modelid)
  350.         {
  351.         case 581, 523, 462, 521, 463, 522, 461, 448, 468, 586, 509,481, 510, 472, 473, 493, 595, 484, 430, 453,
  352.         452, 446, 454, 445, 602, 416, 485, 568, 429, 433, 499, 424, 536, 496,504, 422, 609, 498, 401, 575, 518,
  353.         402, 541, 482, 431, 438, 457, 527, 483, 524, 415, 542, 589, 437, 532,480, 596, 599, 597, 598, 578, 486,
  354.         507, 562, 585, 427, 419, 587, 490, 528, 533, 544, 407, 565, 455, 530,526, 466, 604, 492, 474, 588, 434,
  355.         502, 503, 494, 579, 545, 411, 546, 559, 508, 571, 400, 403, 517, 410,551, 500, 418, 572, 423, 414, 516,
  356.         582, 467, 443, 470, 404, 514, 603, 600, 413, 426, 436, 547, 489, 441,594, 564, 515, 479, 534, 432, 505,
  357.         442, 440, 475, 543, 605, 495, 567, 428, 405, 535, 458, 580, 439, 561,409, 560, 506, 601, 574, 566, 549,
  358.         420, 459, 576, 525, 531, 408, 583, 451, 558, 552, 540, 491, 412, 478,421, 529, 456, 554, 477, 548, 425,
  359.         417, 487, 497, 563, 501, 465, 447, 469, 488, 406, 573, 444, 556, 557,
  360.         592, 577, 511, 512, 593, 520, 553,464, 476, 519, 460, 513, 539, 471, 435, 450, 591, 606, 607, 610, 584,
  361.         608, 611, 590, 449:return 1;
  362.         default:return 0;
  363.     }
  364.     return 0;
  365. }
  366. //==============================[ TextDraw ]====================================
  367. new Text:cima;
  368. new Text:baixo;
  369. new Text:NameServer;
  370. new Text:Versao;
  371. new Text:Rel;
  372. //=============================[ main ]=========================================
  373. main()
  374. {
  375.    for(new b = 0; b <= 300; b++)print("CARREGANDO");
  376.    print("                                                     ");
  377.    print("                Loucos por Drift - Oficial           ");
  378.    print("           Quem pode cria , quem nao pode copia      ");
  379.    print("             Criador do GameMode Don_Speed           ");
  380.    print("           Contato :  maurilio_don@hotmail.com       ");
  381.    print("                       Chupa Jô                      ");
  382.    
  383. }
  384. //==============================================================================
  385. public OnGameModeInit()
  386. {
  387.     SetGameModeText(GAMEMODE);
  388.         SendRconCommand(HOSTNAME);
  389.        
  390.         UsePlayerPedAnims();
  391.         DisableInteriorEnterExits();
  392.        
  393.         SetTimer("Utilitarios", 1000, true);
  394.         SetTimer("Ping", 1000, true);
  395.         SetTimer("MSG", 100000, true);
  396.         LoadRecord();
  397.         oplayers=ConnectedPlayers();
  398.         Skin();
  399.  
  400.         //=================[ Carros p/ Drift ]======================================
  401.         AddStaticVehicleEx(475,-315.00000000,1515.09997559,75.30000305,0.00000000,1,1,RESPAWN); //Sabre
  402.         AddStaticVehicleEx(475,-317.89999390,1515.19995117,75.30000305,0.00000000,1,1,RESPAWN); //Sabre
  403.         AddStaticVehicleEx(475,-320.89999390,1515.30004883,75.30000305,0.00000000,1,1,RESPAWN); //Sabre
  404.         AddStaticVehicleEx(475,-324.10000610,1515.40002441,75.30000305,0.00000000,1,1,RESPAWN); //Sabre
  405.         AddStaticVehicleEx(475,-327.10000610,1515.30004883,75.30000305,0.00000000,1,1,RESPAWN); //Sabre
  406.         AddStaticVehicleEx(475,-330.20001221,1515.40002441,75.30000305,0.00000000,1,1,RESPAWN); //Sabre
  407.         AddStaticVehicleEx(475,-333.39999390,1515.40002441,75.30000305,0.00000000,1,1,RESPAWN); //Sabre
  408.         AddStaticVehicleEx(475,-336.20001221,1515.40002441,75.30000305,0.00000000,1,1,RESPAWN); //Sabre
  409.         AddStaticVehicleEx(475,-339.60000610,1515.40002441,75.30000305,0.00000000,1,1,RESPAWN); //Sabre
  410.         AddStaticVehicleEx(475,-342.79998779,1515.50000000,75.30000305,0.00000000,1,1,RESPAWN); //Sabre
  411.         AddStaticVehicleEx(475,-345.89999390,1515.59997559,75.30000305,0.00000000,1,1,RESPAWN); //Sabre
  412.         //=================[ Carros p/ Drift P3 ]===================================
  413.         AddStaticVehicleEx(475,1414.59997559,-1865.30004883,13.39999962,220.00000000,1,1,RESPAWN); //Sabre
  414.         AddStaticVehicleEx(475,1419.90002441,-1865.40002441,13.39999962,219.99566650,1,1,RESPAWN); //Sabre
  415.         AddStaticVehicleEx(475,1424.30004883,-1865.40002441,13.39999962,219.99023438,1,1,RESPAWN); //Sabre
  416.         AddStaticVehicleEx(475,1428.69995117,-1865.30004883,13.39999962,219.99023438,1,1,RESPAWN); //Sabre
  417.         AddStaticVehicleEx(475,1433.00000000,-1865.19995117,13.39999962,219.99023438,1,1,RESPAWN); //Sabre
  418.         AddStaticVehicleEx(475,1437.69995117,-1865.40002441,13.39999962,219.99023438,1,1,RESPAWN); //Sabre
  419.         //=================[ Drift 4 ]==============================================
  420.         AddStaticVehicleEx(475,-901.59997559,-1375.40002441,124.00000000,114.00000000,1,1,RESPAWN); //Sabre
  421.         AddStaticVehicleEx(475,-903.00000000,-1379.80004883,124.50000000,113.99957275,1,1,RESPAWN); //Sabre
  422.         AddStaticVehicleEx(475,-904.50000000,-1384.19995117,124.90000153,113.99414062,1,1,RESPAWN); //Sabre
  423.         AddStaticVehicleEx(475,-907.40002441,-1388.19995117,125.40000153,113.99414062,1,1,RESPAWN); //Sabre
  424.         AddStaticVehicleEx(475,-910.90002441,-1392.40002441,125.90000153,113.99414062,1,1,RESPAWN); //Sabre
  425.         AddStaticVehicleEx(475,-913.70001221,-1396.09997559,126.40000153,113.99414062,1,1,RESPAWN); //Sabre
  426.         AddStaticVehicleEx(475,-917.20001221,-1400.30004883,126.90000153,113.99414062,1,1,RESPAWN); //Sabre
  427.         AddStaticVehicleEx(475,-923.00000000,-1405.00000000,127.19999695,83.99475098,1,1,RESPAWN); //Sabre
  428.         AddStaticVehicleEx(475,-927.50000000,-1407.40002441,127.59999847,84.04559326,1,1,RESPAWN); //Sabre
  429.         AddStaticVehicleEx(475,-932.00000000,-1409.69995117,128.10000610,84.04541016,1,1,RESPAWN); //Sabre
  430.         AddStaticVehicleEx(475,-936.20001221,-1412.09997559,128.50000000,84.04541016,1,1,RESPAWN); //Sabre
  431.         //===============[ Drift 5 ]================================================
  432.         AddStaticVehicleEx(475,-2494.69995117,-601.40002441,132.50000000,182.00000000,1,1,RESPAWN); //Sabre
  433.         AddStaticVehicleEx(475,-2498.50000000,-601.40002441,132.50000000,181.99951172,1,1,RESPAWN); //Sabre
  434.         AddStaticVehicleEx(475,-2502.30004883,-601.29998779,132.50000000,181.99951172,1,1,RESPAWN); //Sabre
  435.         AddStaticVehicleEx(475,-2505.89990234,-601.40002441,132.50000000,181.99951172,1,1,RESPAWN); //Sabre
  436.         AddStaticVehicleEx(475,-2509.69995117,-601.40002441,132.50000000,181.99951172,1,1,RESPAWN); //Sabre
  437.         AddStaticVehicleEx(475,-2513.39990234,-601.29998779,132.50000000,181.99951172,1,1,RESPAWN); //Sabre
  438.         AddStaticVehicleEx(475,-2516.80004883,-601.29998779,132.50000000,181.99951172,1,1,RESPAWN); //Sabre
  439.         AddStaticVehicleEx(475,-2520.80004883,-601.29998779,132.50000000,181.99951172,1,1,RESPAWN); //Sabre
  440.         AddStaticVehicleEx(475,-2524.50000000,-601.40002441,132.50000000,181.99951172,1,1,RESPAWN); //Sabre
  441.         AddStaticVehicleEx(475,-2528.10009766,-601.50000000,132.50000000,181.99951172,1,1,RESPAWN); //Sabre
  442.         AddStaticVehicleEx(475,-2531.69995117,-601.59997559,132.50000000,181.99951172,1,1,RESPAWN); //Sabre
  443.         AddStaticVehicleEx(475,-2535.50000000,-601.40002441,132.50000000,181.99951172,1,1,RESPAWN); //Sabre
  444.         //===============[ Drift 6 ]================================================
  445.         AddStaticVehicleEx(475,-941.70001221,-254.00000000,37.50000000,20.00000000,1,1,RESPAWN); //Sabre
  446.         AddStaticVehicleEx(475,-939.90002441,-248.69999695,37.70000076,19.99511719,1,1,RESPAWN); //Sabre
  447.         AddStaticVehicleEx(475,-938.00000000,-244.10000610,38.00000000,19.99511719,1,1,RESPAWN); //Sabre
  448.         AddStaticVehicleEx(475,-944.59997559,-260.00000000,37.09999847,19.99511719,1,1,RESPAWN); //Sabre
  449.         AddStaticVehicleEx(475,-959.59997559,-257.79998779,37.09999847,319.99511719,1,1,RESPAWN); //Sabre
  450.         AddStaticVehicleEx(475,-958.79998779,-252.10000610,37.40000153,319.99511719,1,1,RESPAWN); //Sabre
  451.         AddStaticVehicleEx(475,-957.70001221,-246.80000305,37.59999847,319.99511719,1,1,RESPAWN); //Sabre
  452.         AddStaticVehicleEx(475,-956.59997559,-240.50000000,38.09999847,319.99328613,1,1,RESPAWN); //Sabre
  453.         //================[ Drift 7 ]===============================================
  454.         AddStaticVehicleEx(562,-1177.90002441,2698.50000000,45.79999924,250.00000000,1,1,RESPAWN); //Elegy
  455.     AddStaticVehicleEx(562,-1171.40002441,2699.39990234,45.79999924,249.99938965,1,1,RESPAWN); //Elegy
  456.     AddStaticVehicleEx(562,-1165.30004883,2700.10009766,45.79999924,249.99938965,1,1,RESPAWN); //Elegy
  457.     AddStaticVehicleEx(562,-1159.40002441,2701.00000000,45.79999924,249.99938965,1,1,RESPAWN); //Elegy
  458.     AddStaticVehicleEx(562,-1152.69995117,2702.00000000,45.79999924,249.99938965,1,1,RESPAWN); //Elegy
  459.         //===============[ Objetos ]================================================
  460.        
  461.         //===============[ Drift 1 ]============================
  462.         CreateDynamicObject(979,-344.120,1462.888,64.550,0.0,3.438,131.494);
  463.         CreateDynamicObject(979,-350.732,1468.901,63.873,0.0,5.157,144.386);
  464.         CreateDynamicObject(979,-358.447,1471.537,63.333,0.0,1.719,177.044);
  465.         CreateDynamicObject(979,-366.992,1471.090,62.893,0.0,3.438,189.936);
  466.         CreateDynamicObject(979,-374.936,1468.524,62.305,0.0,3.438,206.265);
  467.         CreateDynamicObject(979,-381.996,1463.239,61.619,0.0,5.157,227.751);
  468.         CreateDynamicObject(979,-386.203,1455.728,61.186,0.0,0.859,252.675);
  469.         CreateDynamicObject(979,-386.306,1446.977,61.005,0.0,0.859,287.052);
  470.         CreateDynamicObject(978,-339.053,1310.750,51.647,0.0,-3.438,-23.205);
  471.         CreateDynamicObject(978,-346.480,1315.460,51.135,0.0,-3.438,-42.112);
  472.         CreateDynamicObject(978,-352.405,1322.281,50.705,0.0,-1.719,-55.863);
  473.         CreateDynamicObject(978,-357.219,1329.642,50.114,0.0,-6.016,-57.582);
  474.         CreateDynamicObject(978,-361.537,1336.955,49.180,0.0,-6.016,-61.020);
  475.         CreateDynamicObject(979,-383.704,1892.930,56.578,0.0,-6.016,-267.285);
  476.         CreateDynamicObject(979,-384.303,1901.561,57.440,0.0,-5.157,-264.706);
  477.         CreateDynamicObject(979,-387.250,1909.708,58.101,0.0,-3.438,-236.345);
  478.         CreateDynamicObject(1422,-530.208,1985.658,59.777,0.0,0.0,-29.221);
  479.         CreateDynamicObject(1422,-527.577,1984.204,59.766,0.0,0.0,-29.221);
  480.         CreateDynamicObject(1422,-524.872,1983.227,59.768,0.0,0.0,-12.892);
  481.         CreateDynamicObject(1422,-522.114,1982.698,59.732,0.0,0.0,-9.454);
  482.         CreateDynamicObject(1422,-519.222,1982.455,59.774,0.0,0.0,0.859);
  483.         CreateDynamicObject(1422,-516.221,1982.512,59.764,0.0,0.0,2.578);
  484.         CreateDynamicObject(1422,-526.734,1990.569,59.676,0.0,0.0,-32.659);
  485.         CreateDynamicObject(1422,-508.096,1984.113,59.601,0.0,0.0,13.751);
  486.         CreateDynamicObject(1422,-513.516,1982.861,59.665,0.0,0.0,9.454);
  487.         CreateDynamicObject(1422,-510.772,1983.459,59.598,0.0,0.0,12.892);
  488.         CreateDynamicObject(1422,-524.270,1989.001,59.666,0.0,0.0,-32.659);
  489.         CreateDynamicObject(1422,-521.930,1987.511,59.666,0.0,0.0,-32.659);
  490.         CreateDynamicObject(1422,-519.300,1986.049,59.706,0.0,0.0,-23.205);
  491.         CreateDynamicObject(1422,-516.530,1985.039,59.726,0.0,0.0,-17.189);
  492.         CreateDynamicObject(1422,-513.770,1984.378,59.707,0.0,0.0,-8.594);
  493.         CreateDynamicObject(1422,-511.065,1983.895,59.598,0.0,0.0,-8.594);
  494.         CreateDynamicObject(1422,-528.572,1990.395,59.501,0.0,0.0,29.221);
  495.         CreateDynamicObject(1422,-530.831,1987.514,59.381,0.0,0.0,72.193);
  496.         CreateDynamicObject(1251,-299.298,1507.346,74.386,0.0,0.0,-89.381);
  497.         CreateDynamicObject(1251,-305.504,1507.276,74.385,0.0,0.0,-89.381);
  498.         CreateDynamicObject(3749,-301.930,1505.432,80.397,0.0,0.0,1.719);
  499.         CreateDynamicObject(2773,-300.463,1506.359,74.923,0.0,0.0,1.719);
  500.         CreateDynamicObject(2773,-304.305,1506.302,74.916,0.0,0.0,1.719);
  501.         CreateDynamicObject(978,-288.512,1410.875,72.525,0.0,0.0,87.663);
  502.         CreateDynamicObject(978,-290.041,1401.886,72.405,0.0,-0.859,73.052);
  503.         CreateDynamicObject(978,-294.463,1394.204,72.305,0.0,0.0,47.269);
  504.         CreateDynamicObject(978,-301.971,1389.378,72.383,0.0,0.859,18.908);
  505.         CreateDynamicObject(978,-310.706,1388.497,72.445,0.0,0.0,-6.016);
  506.         CreateDynamicObject(978,-324.875,1398.368,71.129,0.0,-4.297,-59.301);
  507.         CreateDynamicObject(978,-329.197,1405.670,70.488,0.0,-4.297,-59.301);
  508.         CreateDynamicObject(979,-383.306,1438.785,60.807,0.0,1.719,-67.036);
  509.         CreateDynamicObject(979,-392.444,1916.782,58.364,0.0,0.0,128.915);
  510.         CreateDynamicObject(979,-399.451,1922.405,58.359,0.0,0.0,153.839);
  511.         CreateDynamicObject(979,-407.841,1925.384,57.974,3.438,4.297,166.731);
  512.         CreateDynamicObject(979,-416.451,1926.156,57.629,0.0,0.0,-177.044);
  513.         CreateDynamicObject(979,-424.992,1924.455,57.392,0.0,0.859,-158.996);
  514.         CreateDynamicObject(979,-432.440,1919.485,57.321,0.0,0.0,-134.072);
  515.         CreateDynamicObject(979,-437.875,1912.830,57.361,0.0,-0.859,-124.618);
  516.         CreateDynamicObject(978,-415.375,1788.476,70.836,0.0,4.297,97.976);
  517.         CreateDynamicObject(978,-415.665,1779.443,71.402,0.0,2.578,79.068);
  518.         CreateDynamicObject(978,-418.446,1771.009,71.717,0.0,1.719,65.317);
  519.         CreateDynamicObject(978,-423.213,1763.548,71.935,0.0,0.859,49.847);
  520.         CreateDynamicObject(978,-429.896,1757.504,72.088,0.0,1.719,33.518);
  521.         CreateDynamicObject(978,-437.376,1753.281,72.240,0.0,0.0,24.924);
  522.         CreateDynamicObject(978,-446.054,1751.090,72.195,0.0,0.0,3.438);
  523.         CreateDynamicObject(978,-454.774,1751.988,72.317,0.0,1.719,-14.610);
  524.         CreateDynamicObject(978,-463.034,1755.165,72.474,0.0,0.859,-26.643);
  525.         CreateDynamicObject(978,-469.743,1760.815,72.726,0.0,2.578,-52.426);
  526.         CreateDynamicObject(978,-475.233,1767.837,72.943,0.0,0.0,-51.566);
  527.         CreateDynamicObject(979,-370.423,2063.595,60.520,0.0,-0.859,101.414);
  528.         CreateDynamicObject(979,-373.252,2072.141,60.454,0.0,1.719,115.165);
  529.         CreateDynamicObject(979,-378.151,2079.666,60.393,0.0,-0.859,130.634);
  530.         CreateDynamicObject(979,-384.744,2085.691,60.576,0.0,-1.719,144.385);
  531.         CreateDynamicObject(979,-392.929,2089.298,61.080,0.0,-4.297,167.590);
  532.         CreateDynamicObject(979,-401.828,2089.171,61.612,0.0,-2.578,-165.871);
  533.         CreateDynamicObject(979,-410.292,2085.617,61.778,0.0,0.0,-147.823);
  534.         CreateDynamicObject(979,-417.135,2080.337,61.795,0.0,0.0,-136.650);
  535.         CreateDynamicObject(978,-483.117,1953.906,85.730,0.0,-7.735,-121.181);
  536.         CreateDynamicObject(978,-478.852,1961.108,84.443,0.0,-9.454,-120.321);
  537.         CreateDynamicObject(978,-474.224,1968.571,82.923,0.0,-9.454,-123.759);
  538.         CreateDynamicObject(978,-469.294,1975.194,81.733,0.0,-7.735,-128.916);
  539.         CreateDynamicObject(978,-457.871,1987.764,78.908,0.0,-8.594,-136.650);
  540.         CreateDynamicObject(978,-463.731,1981.686,80.357,0.859,-10.313,-132.353);
  541.         CreateDynamicObject(1231,-294.288,1508.792,77.293,0.0,0.0,0.0);
  542.         CreateDynamicObject(1231,-310.476,1508.173,77.293,0.0,0.0,0.0);
  543.         CreateDynamicObject(1262,-299.034,1508.021,81.547,0.0,0.0,0.0);
  544.         CreateDynamicObject(1262,-301.760,1507.939,81.765,0.0,0.0,0.0);
  545.         CreateDynamicObject(1262,-304.556,1507.855,81.574,0.0,0.0,0.0);
  546.         CreateDynamicObject(1262,-295.043,1500.075,75.561,0.0,0.0,32.659);
  547.         CreateDynamicObject(1262,-308.260,1499.597,75.419,0.0,0.0,-30.940);
  548.         CreateDynamicObject(3510,-291.713,1490.680,75.043,0.0,0.0,0.0);
  549.         CreateDynamicObject(3510,-290.313,1477.988,74.563,0.0,0.0,0.0);
  550.         CreateDynamicObject(3510,-288.244,1463.679,73.855,0.0,0.0,0.0);
  551.         CreateDynamicObject(3510,-287.550,1451.790,73.204,0.0,0.0,0.0);
  552.         CreateDynamicObject(3510,-286.486,1433.047,72.285,0.0,0.0,0.0);
  553.         CreateDynamicObject(978,-318.792,1391.666,71.929,0.0,-5.157,-36.096);
  554.         CreateDynamicObject(978,-365.995,1344.752,48.250,0.0,-6.016,-59.301);
  555.         CreateDynamicObject(978,-370.278,1352.383,47.448,0.0,-6.016,-61.879);
  556.         CreateDynamicObject(978,-374.348,1360.020,46.543,0.0,-6.016,-61.879);
  557.         CreateDynamicObject(978,-378.485,1367.742,45.410,-0.859,-8.594,-61.879);
  558.         CreateDynamicObject(978,-382.507,1375.236,44.321,-0.859,-6.016,-61.879);
  559.         CreateDynamicObject(978,-386.764,1383.124,43.168,-0.859,-8.594,-61.879);
  560.         CreateDynamicObject(978,-393.321,1388.153,42.333,-0.859,-2.578,-13.751);
  561.         CreateDynamicObject(978,-400.005,1393.243,41.502,-0.859,-7.735,-61.020);
  562.         CreateDynamicObject(978,-404.001,1400.829,40.321,-0.859,-7.735,-63.598);
  563.         CreateDynamicObject(978,-407.365,1407.254,39.183,-0.859,-9.454,-61.879);
  564.         CreateDynamicObject(978,-410.546,1414.343,38.055,-0.859,-6.016,-71.333);
  565.         CreateDynamicObject(981,-543.557,2001.021,60.334,0.0,0.0,45.000);
  566.         CreateDynamicObject(3850,-313.646,1507.234,75.114,0.0,0.0,90.000);
  567.         CreateDynamicObject(3850,-317.070,1507.240,75.114,0.0,0.0,90.000);
  568.         CreateDynamicObject(3850,-320.544,1507.247,75.113,0.0,0.0,90.000);
  569.         CreateDynamicObject(3850,-324.034,1507.226,75.114,0.0,0.0,90.000);
  570.         CreateDynamicObject(3850,-327.557,1507.199,75.116,0.0,0.0,90.000);
  571.         CreateDynamicObject(3850,-331.043,1507.147,75.113,0.0,0.0,90.000);
  572.         CreateDynamicObject(3850,-334.522,1507.149,75.113,0.0,0.0,90.000);
  573.         CreateDynamicObject(2775,-322.343,1537.418,77.861,0.0,0.0,-0.377);
  574.         CreateDynamicObject(1238,-323.564,1310.629,52.174,0.0,0.0,0.0);
  575.         CreateDynamicObject(1238,-322.808,1311.060,52.231,0.0,0.0,0.0);
  576.         CreateDynamicObject(1238,-322.214,1311.484,52.284,0.0,0.0,0.0);
  577.         CreateDynamicObject(1238,-321.475,1311.848,52.272,0.0,0.0,0.0);
  578.         CreateDynamicObject(1238,-321.025,1312.323,52.378,0.0,0.0,0.0);
  579.         CreateDynamicObject(1238,-320.449,1312.623,52.378,0.0,0.0,0.0);
  580.         CreateDynamicObject(1238,-319.942,1312.990,52.409,0.0,0.0,0.0);
  581.         CreateDynamicObject(1238,-319.317,1313.440,52.481,0.0,0.0,0.0);
  582.         CreateDynamicObject(1238,-318.692,1313.865,52.481,0.0,0.0,0.0);
  583.         CreateDynamicObject(1238,-318.292,1314.316,52.556,0.0,0.0,0.0);
  584.         CreateDynamicObject(1238,-317.917,1314.841,52.581,0.0,0.0,0.0);
  585.         CreateDynamicObject(1238,-317.592,1315.441,52.631,0.0,0.0,0.0);
  586.         CreateDynamicObject(1238,-317.195,1316.036,52.627,0.0,0.0,0.0);
  587.         CreateDynamicObject(1238,-316.809,1316.643,52.682,0.0,0.0,0.0);
  588.         CreateDynamicObject(1238,-316.409,1317.494,52.732,0.0,0.0,0.0);
  589.         CreateDynamicObject(1238,-315.993,1318.247,52.814,0.0,0.0,0.0);
  590.         CreateDynamicObject(1238,-315.504,1319.038,52.870,0.0,0.0,0.0);
  591.         CreateDynamicObject(1238,-314.998,1319.763,52.929,0.0,0.0,0.0);
  592.         CreateDynamicObject(1238,-314.502,1320.532,52.986,0.0,0.0,0.0);
  593.         CreateDynamicObject(1238,-314.154,1321.296,53.014,0.0,0.0,0.0);
  594.         CreateDynamicObject(1238,-314.068,1322.146,53.055,0.0,0.0,0.0);
  595.         CreateDynamicObject(1238,-313.998,1322.868,53.090,0.0,0.0,0.0);
  596.         CreateDynamicObject(645,-345.423,1436.259,66.317,0.0,0.0,0.0);
  597.         CreateDynamicObject(645,-342.395,1430.653,66.973,0.0,0.0,0.0);
  598.         CreateDynamicObject(645,-339.795,1424.981,67.634,0.0,0.0,0.0);
  599.         CreateDynamicObject(645,-337.140,1419.250,68.299,0.0,0.0,0.0);
  600.         CreateDynamicObject(645,-348.511,1442.414,65.585,0.0,0.0,0.0);
  601.         CreateDynamicObject(645,-378.501,1425.120,59.444,0.0,0.0,0.0);
  602.         CreateDynamicObject(645,-375.169,1417.433,59.011,0.0,0.0,0.0);
  603.         CreateDynamicObject(645,-370.992,1410.149,58.503,0.0,0.0,0.0);
  604.         CreateDynamicObject(645,-365.186,1399.619,57.782,0.0,0.0,0.0);
  605.         CreateDynamicObject(645,-359.360,1387.618,56.853,0.0,0.0,0.0);
  606.         CreateDynamicObject(645,-352.150,1376.135,55.904,0.0,0.0,0.0);
  607.         CreateDynamicObject(645,-343.280,1361.093,54.069,0.0,0.0,0.0);
  608.         CreateDynamicObject(3510,-457.466,1792.342,74.645,0.0,0.0,0.0);
  609.         CreateDynamicObject(3510,-457.819,1787.813,74.072,0.0,0.0,0.0);
  610.         CreateDynamicObject(3510,-457.077,1776.280,72.705,0.0,0.0,0.0);
  611.         CreateDynamicObject(3510,-457.786,1781.524,73.113,0.0,0.0,0.0);
  612.         CreateDynamicObject(3510,-454.900,1770.660,71.803,0.0,0.0,0.0);
  613.         CreateDynamicObject(3510,-450.867,1768.927,71.391,0.0,0.0,0.0);
  614.         CreateDynamicObject(3510,-444.693,1769.607,71.343,0.0,0.0,0.0);
  615.         CreateDynamicObject(3510,-439.126,1772.276,71.261,0.0,0.0,0.0);
  616.         CreateDynamicObject(3510,-435.722,1775.951,71.240,0.0,0.0,0.0);
  617.         CreateDynamicObject(3510,-433.603,1780.362,70.887,0.0,0.0,0.0);
  618.         CreateDynamicObject(3510,-432.740,1786.017,70.352,0.0,0.0,0.0);
  619.         CreateDynamicObject(3510,-433.990,1793.791,69.608,0.0,0.0,0.0);
  620.         CreateDynamicObject(3510,-308.253,1487.577,74.730,0.0,0.0,0.0);
  621.         CreateDynamicObject(3510,-307.047,1474.561,74.127,0.0,0.0,0.0);
  622.         CreateDynamicObject(3510,-305.179,1460.580,73.306,0.0,0.0,0.0);
  623.         CreateDynamicObject(3510,-303.864,1443.811,72.454,0.0,0.0,0.0);
  624.         CreateDynamicObject(3510,-303.060,1429.292,71.810,0.0,0.0,0.0);
  625.         CreateDynamicObject(16120,-412.962,2045.919,51.894,0.0,0.0,98.672);
  626.         CreateDynamicObject(3877,-495.169,1979.895,61.075,0.0,0.0,0.0);
  627.         CreateDynamicObject(3877,-498.945,1978.189,61.075,0.0,0.0,0.0);
  628.         CreateDynamicObject(3877,-503.647,1976.465,61.077,0.0,0.0,0.0);
  629.         CreateDynamicObject(3877,-508.713,1975.208,61.068,0.0,0.0,0.0);
  630.         CreateDynamicObject(3877,-513.087,1974.206,61.082,0.0,0.0,0.0);
  631.         CreateDynamicObject(3877,-518.159,1973.762,61.073,0.0,0.0,0.0);
  632.         CreateDynamicObject(3877,-523.958,1974.082,61.067,0.0,0.0,0.0);
  633.         CreateDynamicObject(3877,-530.206,1974.862,61.104,0.0,0.0,0.0);
  634.         CreateDynamicObject(3877,-534.116,1977.029,61.096,0.0,0.0,0.0);
  635.         CreateDynamicObject(3877,-538.371,1980.020,61.051,0.0,0.0,0.0);
  636.         CreateDynamicObject(3877,-524.181,2000.968,61.118,0.0,0.0,0.0);
  637.         CreateDynamicObject(3877,-520.215,1998.236,61.098,0.0,0.0,0.0);
  638.         CreateDynamicObject(3877,-517.274,1996.076,61.078,0.0,0.0,0.0);
  639.         CreateDynamicObject(3877,-513.518,1994.636,61.083,0.0,0.0,0.0);
  640.         CreateDynamicObject(3877,-510.098,1994.216,61.125,0.0,0.0,0.0);
  641.         CreateDynamicObject(3877,-506.832,1993.904,61.104,0.0,0.0,0.0);
  642.         CreateDynamicObject(3877,-503.149,1994.431,61.101,0.0,0.0,0.0);
  643.         CreateDynamicObject(3877,-499.789,1996.108,61.106,0.0,0.0,0.0);
  644.         CreateDynamicObject(3877,-496.258,1998.331,61.097,0.0,0.0,0.0);
  645.         CreateDynamicObject(3877,-493.269,2000.764,61.087,0.0,0.0,0.0);
  646.         CreateDynamicObject(1319,-414.259,1705.943,40.423,0.0,0.0,0.0);
  647.         CreateDynamicObject(1319,-399.029,1705.734,39.683,0.0,0.0,0.0);
  648.         CreateDynamicObject(1319,-440.507,1653.967,36.425,0.0,0.0,0.0);
  649.         CreateDynamicObject(1319,-426.931,1643.821,34.789,0.0,0.0,0.0);
  650.         CreateDynamicObject(1319,-455.195,1626.579,36.388,0.0,0.0,0.0);
  651.         CreateDynamicObject(1319,-438.306,1619.852,34.781,0.0,0.0,0.0);
  652.         CreateDynamicObject(1319,-460.288,1600.333,36.422,0.0,0.0,0.0);
  653.         CreateDynamicObject(1319,-461.718,1590.970,36.324,0.0,0.0,0.0);
  654.         CreateDynamicObject(1319,-447.212,1589.975,35.165,0.0,0.0,0.0);
  655.         CreateDynamicObject(1319,-448.703,1581.686,35.326,0.0,0.0,0.0);
  656.         CreateDynamicObject(1319,-458.291,1533.821,36.986,0.0,0.0,0.0);
  657.         CreateDynamicObject(1319,-457.067,1521.599,36.507,0.0,0.0,0.0);
  658.         CreateDynamicObject(1319,-441.592,1512.880,34.370,0.0,0.0,0.0);
  659.         CreateDynamicObject(1319,-442.498,1530.240,35.069,0.0,0.0,0.0);
  660.         CreateDynamicObject(3850,-337.985,1507.118,75.114,0.0,0.0,90.000);
  661.         CreateDynamicObject(3850,-341.412,1507.114,75.114,0.0,0.0,90.000);
  662.         CreateDynamicObject(3850,-344.834,1507.109,75.114,0.0,0.0,90.000);
  663.         CreateDynamicObject(3850,-293.125,1511.556,74.905,0.0,0.0,-47.578);
  664.         CreateDynamicObject(3850,-290.556,1513.898,74.905,0.0,0.0,-47.578);
  665.         CreateDynamicObject(3850,-287.952,1516.213,74.905,0.0,0.0,-47.578);
  666.         CreateDynamicObject(3850,-285.368,1518.530,74.905,0.0,0.0,-47.578);
  667.         CreateDynamicObject(3850,-282.815,1520.851,74.905,0.0,0.0,-47.578);
  668.         CreateDynamicObject(3850,-280.222,1523.147,74.905,0.0,0.0,-47.578);
  669.         CreateDynamicObject(3850,-277.674,1525.459,74.905,0.0,0.0,-47.578);
  670.         CreateDynamicObject(3850,-275.135,1527.810,74.905,0.0,0.0,-46.719);
  671.         CreateDynamicObject(3850,-272.627,1530.160,74.905,0.0,0.0,-46.719);
  672.         CreateDynamicObject(3850,-270.133,1532.535,74.905,0.0,0.0,-46.719);
  673.         CreateDynamicObject(3850,-267.580,1534.914,74.911,0.0,0.0,-46.719);
  674.         CreateDynamicObject(3850,-266.297,1536.162,74.917,0.0,0.0,-46.719);
  675.         CreateDynamicObject(3850,-265.125,1539.027,74.917,0.0,0.0,-177.895);
  676.         CreateDynamicObject(3850,-265.214,1542.431,74.905,0.0,0.0,-178.754);
  677.         CreateDynamicObject(3850,-265.280,1545.860,74.905,0.0,0.0,-178.754);
  678.         CreateDynamicObject(3850,-267.073,1547.789,74.905,0.0,0.0,-90.232);
  679.         CreateDynamicObject(3850,-270.516,1547.791,74.905,0.0,0.0,-90.232);
  680.         CreateDynamicObject(3850,-273.967,1547.759,74.905,0.0,0.0,-88.513);
  681.         CreateDynamicObject(3850,-277.395,1547.712,74.905,0.0,0.0,-90.232);
  682.         CreateDynamicObject(3850,-280.816,1547.698,74.905,0.0,0.0,-89.373);
  683.         CreateDynamicObject(3850,-291.047,1547.641,74.905,0.0,0.0,-88.513);
  684.         CreateDynamicObject(3850,-284.194,1547.683,74.917,0.0,0.0,-90.232);
  685.         CreateDynamicObject(3850,-287.615,1547.690,74.905,0.0,0.0,-89.372);
  686.         CreateDynamicObject(3850,-297.933,1547.529,74.905,0.0,0.0,-90.473);
  687.         CreateDynamicObject(3850,-294.485,1547.562,74.917,0.0,0.0,-88.754);
  688.         CreateDynamicObject(3850,-347.412,1523.038,74.908,0.0,0.0,0.0);
  689.         CreateDynamicObject(3850,-347.416,1520.570,74.905,0.0,0.0,0.0);
  690.         CreateDynamicObject(3850,-347.430,1517.160,74.905,0.0,0.0,0.0);
  691.         CreateDynamicObject(3850,-347.416,1513.738,74.905,0.0,0.0,0.0);
  692.         CreateDynamicObject(3850,-347.312,1510.283,74.983,0.0,0.0,0.0);
  693.         CreateDynamicObject(3850,-347.300,1508.794,74.983,0.0,0.0,0.0);
  694.         CreateDynamicObject(3850,-345.517,1507.084,75.091,0.0,0.0,90.000);
  695.         CreateDynamicObject(3850,-346.888,1551.372,75.108,0.0,0.0,180.000);
  696.         CreateDynamicObject(3850,-346.866,1554.757,75.108,0.0,0.0,180.000);
  697.         CreateDynamicObject(3850,-346.875,1558.214,75.108,0.0,0.0,180.000);
  698.         CreateDynamicObject(1223,-317.875,1510.934,74.550,0.0,0.0,-281.250);
  699.         CreateDynamicObject(1223,-323.417,1510.889,74.550,0.0,0.0,-281.250);
  700.         CreateDynamicObject(1223,-329.316,1510.632,74.550,0.0,0.0,-281.250);
  701.         CreateDynamicObject(1223,-334.333,1510.727,74.550,0.0,0.0,-281.250);
  702.         CreateDynamicObject(1223,-339.232,1510.980,74.550,0.0,0.0,-281.250);
  703.         CreateDynamicObject(1597,-276.609,1527.323,77.029,0.0,0.0,131.803);
  704.         CreateDynamicObject(1597,-281.471,1546.783,77.029,0.0,0.0,90.550);
  705.         CreateDynamicObject(1597,-294.463,1543.731,77.029,0.0,0.0,45.000);
  706.         CreateDynamicObject(1597,-266.324,1542.702,77.029,0.0,0.0,2.888);
  707.         CreateDynamicObject(1364,-267.742,1542.443,75.156,0.0,-0.859,-87.972);
  708.         CreateDynamicObject(1364,-281.981,1545.514,75.156,0.0,0.0,-1.169);
  709.         CreateDynamicObject(645,-334.244,1413.138,68.996,0.0,0.0,0.0);
  710.         CreateDynamicObject(3512,-271.029,1533.552,74.370,0.0,0.0,0.0);
  711.         CreateDynamicObject(3512,-289.661,1547.107,74.370,0.0,0.0,0.0);
  712.         CreateDynamicObject(3512,-283.595,1522.196,74.370,0.0,0.0,0.0);
  713.         CreateDynamicObject(3512,-272.984,1546.735,74.370,0.0,0.0,0.0);
  714.         CreateDynamicObject(8355,-334.214,1528.130,74.371,0.0,0.0,-89.381);
  715.         CreateDynamicObject(3850,-315.273,1546.479,75.108,0.0,0.0,-49.220);
  716.         CreateDynamicObject(3850,-337.954,1537.551,75.108,0.0,0.0,-87.895);
  717.         CreateDynamicObject(3511,-354.176,1451.454,64.345,0.0,0.0,0.0);
  718.         CreateDynamicObject(3511,-337.457,1349.919,53.185,0.0,0.0,0.0);
  719.         CreateDynamicObject(8344,-412.396,1478.644,34.115,-2.578,0.0,0.0);
  720.         CreateDynamicObject(973,-416.267,1420.313,37.572,0.0,0.0,-22.345);
  721.         CreateDynamicObject(973,-424.376,1424.282,37.549,0.0,0.0,-30.080);
  722.         CreateDynamicObject(973,-431.532,1429.006,37.355,0.0,-2.578,-36.956);
  723.         CreateDynamicObject(973,-438.281,1434.865,36.953,0.0,-2.578,-45.550);
  724.         CreateDynamicObject(973,-443.946,1441.693,36.617,0.0,-1.719,-55.004);
  725.         CreateDynamicObject(973,-448.650,1449.354,36.350,0.0,-1.719,-61.879);
  726.         CreateDynamicObject(973,-452.160,1457.364,35.968,0.0,-3.438,-70.474);
  727.         CreateDynamicObject(973,-454.517,1466.224,35.538,0.0,-1.719,-79.928);
  728.         CreateDynamicObject(973,-455.415,1473.603,35.338,0.0,0.0,-86.803);
  729.         CreateDynamicObject(1237,-455.515,1478.294,33.925,0.0,0.0,0.0);
  730.         CreateDynamicObject(1237,-455.540,1478.323,34.633,0.0,0.0,0.0);
  731.         //============[ Drift 2 ]===================
  732.         CreateDynamicObject(983,2301.249,1403.402,42.504,0.0,0.0,-90.000);
  733.         CreateDynamicObject(983,2307.694,1403.383,42.504,0.0,0.0,-90.000);
  734.         CreateDynamicObject(983,2314.068,1403.383,42.504,0.0,0.0,-90.000);
  735.         CreateDynamicObject(9833,2297.620,1505.889,38.624,0.0,0.0,0.0);
  736.         CreateDynamicObject(9833,2297.342,1509.438,38.624,0.0,0.0,0.0);
  737.         CreateDynamicObject(9833,2296.995,1512.240,38.624,0.0,0.0,0.0);
  738.         CreateDynamicObject(9833,2297.370,1514.761,38.624,0.0,0.0,0.0);
  739.         CreateDynamicObject(9833,2296.541,1521.844,38.624,0.0,0.0,0.0);
  740.         CreateDynamicObject(9833,2297.215,1517.289,38.624,0.0,0.0,0.0);
  741.         CreateDynamicObject(3749,2327.280,1401.561,47.679,0.0,0.0,0.0);
  742.         CreateDynamicObject(983,2353.478,1403.585,42.504,0.0,0.0,-90.000);
  743.         CreateDynamicObject(983,2347.064,1403.556,42.504,0.0,0.0,-90.000);
  744.         CreateDynamicObject(983,2340.562,1403.550,42.504,0.0,0.0,-90.000);
  745.         CreateDynamicObject(979,2312.075,1403.685,36.256,0.0,0.0,-180.000);
  746.         CreateDynamicObject(979,2303.009,1403.627,36.256,0.0,0.0,-180.000);
  747.         CreateDynamicObject(979,2301.750,1403.585,36.256,0.0,0.0,-180.000);
  748.         CreateDynamicObject(978,2312.903,1502.990,29.871,0.0,0.0,0.0);
  749.         CreateDynamicObject(978,2303.528,1502.974,29.864,0.0,0.0,0.0);
  750.         CreateDynamicObject(979,2301.812,1404.315,23.471,0.0,0.0,180.482);
  751.         CreateDynamicObject(979,2311.188,1404.408,23.471,0.0,0.0,180.482);
  752.         CreateDynamicObject(979,2302.491,1502.959,17.064,0.0,0.0,0.0);
  753.         CreateDynamicObject(979,2311.891,1502.942,17.064,0.0,0.0,0.0);
  754.         CreateDynamicObject(981,2328.600,1470.259,10.772,0.0,0.0,-90.000);
  755.         CreateDynamicObject(981,2328.447,1486.786,10.772,0.0,0.0,-90.000);
  756.         CreateDynamicObject(981,2328.370,1439.568,10.797,0.0,0.0,-90.000);
  757.         CreateDynamicObject(981,2328.372,1418.549,10.772,0.0,0.0,-90.000);
  758.         CreateDynamicObject(981,2336.108,1485.478,10.772,0.0,0.0,-271.341);
  759.         CreateDynamicObject(981,2336.740,1475.001,11.066,0.0,-0.859,-271.341);
  760.         CreateDynamicObject(981,2336.323,1451.781,10.772,0.0,0.0,90.000);
  761.         CreateDynamicObject(981,2336.226,1422.634,10.772,0.0,0.0,90.000);
  762.         CreateDynamicObject(1320,2337.389,1408.188,11.305,0.0,0.0,90.000);
  763.         CreateDynamicObject(1238,2338.356,1393.540,10.138,0.0,0.0,0.0);
  764.         CreateDynamicObject(1238,2339.217,1394.823,10.138,0.0,0.0,0.0);
  765.         CreateDynamicObject(1238,2340.235,1395.991,10.138,0.0,0.0,0.0);
  766.         CreateDynamicObject(1238,2341.331,1397.443,10.138,0.0,0.0,0.0);
  767.         CreateDynamicObject(1238,2342.485,1398.739,10.138,0.0,0.0,0.0);
  768.         CreateDynamicObject(1238,2343.584,1400.167,10.138,0.0,0.0,0.0);
  769.         CreateDynamicObject(1238,2344.859,1400.266,10.138,0.0,0.0,0.0);
  770.         CreateDynamicObject(1238,2345.761,1400.217,10.138,0.0,0.0,0.0);
  771.         CreateDynamicObject(1238,2346.985,1400.291,10.138,0.0,0.0,0.0);
  772.         CreateDynamicObject(1262,2332.775,1403.130,42.580,0.0,0.0,-168.750);
  773.         CreateDynamicObject(1262,2327.403,1403.085,42.580,0.0,0.0,-168.750);
  774.         CreateDynamicObject(1262,2321.654,1403.085,42.580,0.0,0.0,-172.188);
  775.         CreateDynamicObject(978,2333.301,1393.399,10.661,0.0,0.0,0.0);
  776.         CreateDynamicObject(978,2333.225,1405.708,10.661,0.0,0.0,-157.500);
  777.         CreateDynamicObject(1362,2344.358,1396.680,10.419,0.0,0.0,0.0);
  778.         CreateDynamicObject(2038,2349.350,1393.764,14.407,0.0,0.0,0.0);
  779.         CreateDynamicObject(3461,2344.355,1396.827,9.343,0.0,0.0,0.0);
  780.         CreateDynamicObject(3374,2295.362,1518.007,30.517,0.0,0.0,0.0);
  781.         CreateDynamicObject(3374,2298.632,1517.969,30.517,0.0,0.0,0.0);
  782.         CreateDynamicObject(3374,2302.214,1517.973,30.517,0.0,0.0,0.0);
  783.         CreateDynamicObject(3374,2306.225,1517.928,30.517,0.0,0.0,0.0);
  784.         CreateDynamicObject(3374,2308.963,1517.862,30.517,0.0,0.0,0.0);
  785.         CreateDynamicObject(3374,2311.806,1517.891,30.517,0.0,0.0,0.0);
  786.         CreateDynamicObject(3374,2315.786,1517.883,30.517,0.0,0.0,0.0);
  787.         CreateDynamicObject(3374,2319.432,1517.892,30.517,0.0,0.0,0.0);
  788.         CreateDynamicObject(3374,2295.666,1389.108,36.916,0.0,0.0,90.000);
  789.         CreateDynamicObject(3374,2298.969,1389.174,36.916,0.0,0.0,90.000);
  790.         CreateDynamicObject(3374,2301.750,1389.297,36.916,0.0,0.0,90.000);
  791.         CreateDynamicObject(3374,2305.771,1389.348,36.916,0.0,0.0,90.000);
  792.         CreateDynamicObject(3374,2309.324,1389.422,36.916,0.0,0.0,90.000);
  793.         CreateDynamicObject(3374,2313.337,1389.411,36.916,0.0,0.0,90.000);
  794.         CreateDynamicObject(3374,2316.625,1389.491,36.993,0.0,0.0,90.000);
  795.         CreateDynamicObject(3374,2318.817,1389.321,36.910,0.0,0.0,90.000);
  796.         CreateDynamicObject(3374,2295.544,1388.788,24.119,0.0,0.0,90.000);
  797.         CreateDynamicObject(3374,2299.486,1388.937,24.119,0.0,0.0,90.000);
  798.         CreateDynamicObject(3374,2303.337,1389.211,24.119,0.0,0.0,90.000);
  799.         CreateDynamicObject(3374,2307.356,1389.261,24.119,0.0,0.0,90.000);
  800.         CreateDynamicObject(3374,2310.486,1389.187,24.119,0.0,0.0,90.000);
  801.         CreateDynamicObject(3374,2312.764,1389.417,24.124,0.0,0.0,90.000);
  802.         CreateDynamicObject(3374,2316.236,1389.437,24.119,0.0,0.0,90.000);
  803.         CreateDynamicObject(3374,2319.383,1389.471,24.119,0.0,0.0,90.000);
  804.         CreateDynamicObject(3374,2319.252,1518.702,17.713,0.0,0.0,90.000);
  805.         CreateDynamicObject(3374,2315.565,1518.699,17.713,0.0,0.0,90.000);
  806.         CreateDynamicObject(3374,2311.566,1518.526,17.713,0.0,0.0,90.000);
  807.         CreateDynamicObject(3374,2307.541,1518.358,17.713,0.0,0.0,90.000);
  808.         CreateDynamicObject(3374,2303.937,1517.925,17.713,0.0,0.0,90.000);
  809.         CreateDynamicObject(3374,2300.178,1517.990,17.713,0.0,0.0,90.000);
  810.         CreateDynamicObject(3374,2296.380,1518.115,17.713,0.0,0.0,90.000);
  811.         CreateDynamicObject(3374,2295.655,1518.365,17.713,0.0,0.0,90.000);
  812.         CreateDynamicObject(1238,2312.319,1509.334,10.138,0.0,0.0,0.0);
  813.         CreateDynamicObject(1238,2313.144,1509.943,10.138,0.0,0.0,0.0);
  814.         CreateDynamicObject(1238,2314.324,1510.866,10.138,0.0,0.0,0.0);
  815.         CreateDynamicObject(1238,2315.572,1511.888,10.138,0.0,0.0,0.0);
  816.         CreateDynamicObject(1238,2317.223,1513.064,10.138,0.0,0.0,0.0);
  817.         CreateDynamicObject(1238,2319.220,1514.489,10.138,0.0,0.0,0.0);
  818.         CreateDynamicObject(1238,2320.897,1515.764,10.138,0.0,0.0,0.0);
  819.         CreateDynamicObject(1238,2318.194,1513.715,10.138,0.0,0.0,0.0);
  820.         CreateDynamicObject(1238,2316.368,1512.396,10.138,0.0,0.0,0.0);
  821.         CreateDynamicObject(1238,2311.827,1507.323,10.138,0.0,0.0,0.0);
  822.         CreateDynamicObject(1238,2311.338,1505.875,10.138,0.0,0.0,0.0);
  823.         CreateDynamicObject(1238,2311.065,1504.475,10.138,0.0,0.0,0.0);
  824.         CreateDynamicObject(9833,2330.068,1395.509,1.198,0.0,0.0,0.0);
  825.         CreateDynamicObject(9833,2330.076,1401.797,1.648,0.0,0.0,0.0);
  826.         CreateDynamicObject(9833,2329.795,1399.051,1.548,0.0,0.0,0.0);
  827.         CreateDynamicObject(1238,2281.976,1397.063,10.138,0.0,0.0,0.0);
  828.         CreateDynamicObject(1238,2282.740,1396.445,10.138,0.0,0.0,0.0);
  829.         CreateDynamicObject(1238,2283.559,1395.832,10.138,0.0,0.0,0.0);
  830.         CreateDynamicObject(1238,2281.307,1397.532,10.138,0.0,0.0,0.0);
  831.         CreateDynamicObject(1238,2284.713,1395.258,10.138,0.0,0.0,0.0);
  832.         CreateDynamicObject(1238,2285.639,1394.534,10.138,0.0,0.0,0.0);
  833.         CreateDynamicObject(1238,2287.085,1393.687,10.138,0.0,0.0,0.0);
  834.         CreateDynamicObject(1238,2289.035,1392.243,10.138,0.0,0.0,0.0);
  835.         CreateDynamicObject(1238,2288.407,1392.892,10.138,0.0,0.0,0.0);
  836.         CreateDynamicObject(1282,2329.909,1500.907,10.509,0.0,0.0,-90.000);
  837.         CreateDynamicObject(1282,2330.775,1501.168,10.509,0.0,0.0,-90.000);
  838.         CreateDynamicObject(1282,2331.761,1501.171,10.509,0.0,0.0,-90.000);
  839.         CreateDynamicObject(1282,2333.305,1501.046,10.509,0.0,0.0,-90.000);
  840.         CreateDynamicObject(1282,2332.660,1501.046,10.509,0.0,0.0,-90.000);
  841.         CreateDynamicObject(1282,2334.362,1500.821,10.509,0.0,0.0,-90.000);
  842.         CreateDynamicObject(1423,2298.465,1403.786,10.534,0.0,0.0,33.750);
  843.         CreateDynamicObject(1423,2300.479,1405.037,10.534,0.0,0.0,33.750);
  844.         CreateDynamicObject(1423,2302.421,1406.345,10.534,0.0,0.0,33.750);
  845.         CreateDynamicObject(1423,2303.788,1408.112,10.534,0.0,0.0,67.500);
  846.         CreateDynamicObject(1423,2304.229,1410.442,10.534,0.0,0.0,87.422);
  847.         CreateDynamicObject(1425,2324.895,1513.829,10.273,0.0,0.0,-6.953);
  848.         CreateDynamicObject(1425,2322.811,1517.715,10.273,0.0,0.0,-6.953);
  849.         CreateDynamicObject(1425,2324.012,1513.952,10.273,0.0,0.0,-6.953);
  850.         CreateDynamicObject(1425,2325.807,1513.755,10.273,0.0,0.0,-6.953);
  851.         CreateDynamicObject(994,2327.417,1407.039,41.921,0.0,0.0,-90.859);
  852.         CreateDynamicObject(994,2333.176,1406.872,41.921,0.0,0.0,-91.719);
  853.         CreateDynamicObject(994,2321.513,1406.773,41.921,0.0,0.0,-91.719);
  854.         //==============[ Drift 3 ]============================
  855.     CreateDynamicObject(970,1411.50000000,-1880.09997559,12.89999962,0.00000000,0.00000000,90.00000000); //object(fencesmallb) (1)
  856.     CreateDynamicObject(970,1411.40002441,-1875.30004883,12.89999962,0.00000000,0.00000000,89.99548340); //object(fencesmallb) (2)
  857.     CreateDynamicObject(970,1411.40002441,-1871.09997559,12.89999962,0.00000000,0.00000000,89.99450684); //object(fencesmallb) (4)
  858.     CreateDynamicObject(970,1411.50000000,-1866.90002441,12.89999962,0.00000000,0.00000000,89.99450684); //object(fencesmallb) (6)
  859.     CreateDynamicObject(970,1411.50000000,-1862.80004883,12.89999962,0.00000000,0.00000000,89.99450684); //object(fencesmallb) (7)
  860.     CreateDynamicObject(970,1443.09997559,-1864.69995117,12.89999962,0.00000000,0.00000000,89.99450684); //object(fencesmallb) (8)
  861.     CreateDynamicObject(970,1442.90002441,-1868.90002441,12.89999962,0.00000000,0.00000000,89.99450684); //object(fencesmallb) (9)
  862.     CreateDynamicObject(970,1442.90002441,-1873.00000000,12.89999962,0.00000000,0.00000000,89.99450684); //object(fencesmallb) (10)
  863.     CreateDynamicObject(970,1442.90002441,-1877.09997559,12.89999962,0.00000000,0.00000000,89.99450684); //object(fencesmallb) (11)
  864.     CreateDynamicObject(970,1442.90002441,-1881.19995117,12.89999962,0.00000000,0.00000000,89.99450684); //object(fencesmallb) (12)
  865.     CreateDynamicObject(978,1276.00000000,-1953.00000000,29.20000076,0.00000000,0.00000000,342.00000000); //object(sub_roadright) (1)
  866.     CreateDynamicObject(978,1265.40002441,-1948.80004883,29.39999962,0.00000000,2.00000000,335.99890137); //object(sub_roadright) (2)
  867.     CreateDynamicObject(978,1255.90002441,-1942.69995117,29.89999962,0.00000000,4.00000000,319.99487305); //object(sub_roadright) (3)
  868.     CreateDynamicObject(978,1249.40002441,-1935.80004883,30.70000076,0.00000000,2.00000000,309.99230957); //object(sub_roadright) (4)
  869.     CreateDynamicObject(978,1246.09997559,-1928.00000000,30.89999962,0.00000000,2.00000000,285.98925781); //object(sub_roadright) (5)
  870.     CreateDynamicObject(978,1246.09997559,-1918.59997559,30.89999962,0.00000000,358.00000000,255.98510742); //object(sub_roadright) (6)
  871.     CreateDynamicObject(978,1249.59997559,-1910.50000000,30.70000076,0.00000000,0.00000000,227.98095703); //object(sub_roadright) (7)
  872.     CreateDynamicObject(978,1256.19995117,-1905.00000000,29.89999962,0.00000000,354.00000000,199.97729492); //object(sub_roadright) (8)
  873.     CreateDynamicObject(1237,1426.40002441,-1882.50000000,12.39999962,0.00000000,0.00000000,0.00000000); //object(strtbarrier01) (22)
  874.     CreateDynamicObject(1237,1426.40002441,-1887.30004883,12.50000000,0.00000000,0.00000000,0.00000000); //object(strtbarrier01) (23)
  875.     CreateDynamicObject(1237,1426.40002441,-1877.69995117,12.39999962,0.00000000,0.00000000,0.00000000); //object(strtbarrier01) (24)
  876.     CreateDynamicObject(1237,1425.59997559,-1879.90002441,12.39999962,0.00000000,0.00000000,0.00000000); //object(strtbarrier01) (25)
  877.     CreateDynamicObject(1237,1427.40002441,-1879.90002441,12.39999962,0.00000000,0.00000000,0.00000000); //object(strtbarrier01) (26)
  878.     CreateDynamicObject(758,1434.50000000,-1987.59997559,48.79999924,0.00000000,0.00000000,0.00000000); //object(sm_scrub_rock6) (1)
  879.     CreateDynamicObject(758,1430.50000000,-1982.19995117,47.59999847,0.00000000,0.00000000,0.00000000); //object(sm_scrub_rock6) (2)
  880.     CreateDynamicObject(758,1425.69995117,-1976.69995117,46.20000076,0.00000000,0.00000000,0.00000000); //object(sm_scrub_rock6) (3)
  881.     CreateDynamicObject(758,1420.80004883,-1972.19995117,44.70000076,0.00000000,0.00000000,0.00000000); //object(sm_scrub_rock6) (4)
  882.     CreateDynamicObject(758,1414.69995117,-1968.50000000,42.79999924,0.00000000,0.00000000,0.00000000); //object(sm_scrub_rock6) (5)
  883.     CreateDynamicObject(758,1409.50000000,-1966.59997559,41.20000076,0.00000000,0.00000000,0.00000000); //object(sm_scrub_rock6) (6)
  884.     CreateDynamicObject(758,1403.40002441,-1964.30004883,39.50000000,0.00000000,0.00000000,0.00000000); //object(sm_scrub_rock6) (7)
  885.     CreateDynamicObject(758,1398.19995117,-1963.69995117,38.09999847,0.00000000,0.00000000,0.00000000); //object(sm_scrub_rock6) (8)
  886.     CreateDynamicObject(758,1437.09997559,-1994.40002441,49.50000000,0.00000000,0.00000000,0.00000000); //object(sm_scrub_rock6) (10)
  887.         //===============[ Drift 4 ]============================
  888.     CreateDynamicObject(4515,-913.90002441,-1448.40002441,125.00000000,0.00000000,0.00000000,0.00000000); //object(cn2_roadblock02ld) (1)
  889.     CreateDynamicObject(4515,-909.09997559,-1361.80004883,124.80000305,0.00000000,0.00000000,162.00000000); //object(cn2_roadblock02ld) (2)
  890.         //===============[ Drift 5 ]============================
  891.     CreateDynamicObject(3749,-2487.50000000,-615.09997559,137.39999390,0.00000000,0.00000000,270.00000000); //object(clubgate01_lax) (1)
  892.     CreateDynamicObject(3578,-2494.39990234,-625.50000000,132.50000000,0.00000000,0.00000000,0.00000000); //object(dockbarr1_la) (1)
  893.     CreateDynamicObject(3578,-2504.50000000,-625.50000000,132.50000000,0.00000000,0.00000000,0.00000000); //object(dockbarr1_la) (2)
  894.     CreateDynamicObject(3578,-2514.69995117,-625.50000000,132.60000610,0.00000000,0.00000000,0.00000000); //object(dockbarr1_la) (3)
  895.     CreateDynamicObject(3578,-2497.89990234,-597.90002441,132.50000000,0.00000000,0.00000000,0.00000000); //object(dockbarr1_la) (4)
  896.     CreateDynamicObject(3578,-2508.19995117,-597.90002441,132.50000000,0.00000000,0.00000000,0.00000000); //object(dockbarr1_la) (5)
  897.     CreateDynamicObject(3578,-2518.50000000,-597.90002441,132.50000000,0.00000000,0.00000000,0.00000000); //object(dockbarr1_la) (6)
  898.     CreateDynamicObject(3578,-2528.69995117,-597.90002441,132.50000000,0.00000000,0.00000000,0.00000000); //object(dockbarr1_la) (7)
  899.     CreateDynamicObject(3578,-2537.00000000,-597.90002441,132.50000000,0.00000000,0.00000000,0.00000000); //object(dockbarr1_la) (8)
  900.     CreateDynamicObject(3578,-2492.19995117,-603.00000000,132.50000000,0.00000000,0.00000000,270.00000000); //object(dockbarr1_la) (9)
  901.         //===============[ Drift 6 ]============================
  902.     CreateDynamicObject(3578,-956.79998779,-226.00000000,39.79999924,0.00000000,0.00000000,82.00000000); //object(dockbarr1_la) (1)
  903.     CreateDynamicObject(3578,-958.70001221,-236.30000305,39.00000000,0.00000000,0.00000000,79.99645996); //object(dockbarr1_la) (3)
  904.     CreateDynamicObject(3578,-958.00000000,-263.39999390,36.40000153,0.00000000,0.00000000,169.99145508); //object(dockbarr1_la) (4)
  905.     CreateDynamicObject(3578,-947.40002441,-265.10000610,36.70000076,0.00000000,0.00000000,169.99145508); //object(dockbarr1_la) (5)
  906.     CreateDynamicObject(3578,-904.09997559,-238.80000305,37.70000076,0.00000000,0.00000000,259.99145508); //object(dockbarr1_la) (6)
  907.     CreateDynamicObject(3578,-905.70001221,-249.89999390,37.59999847,0.00000000,0.00000000,259.98596191); //object(dockbarr1_la) (7)
  908.     //================[ Drift 7 ]=================================
  909.     CreateDynamicObject(3578,-1183.40002441,2696.10009766,45.59999847,0.00000000,0.00000000,98.00000000); //object(dockbarr1_la) (1)
  910.     CreateDynamicObject(3578,-1182.30004883,2688.10009766,45.59999847,0.00000000,0.00000000,97.99804688); //object(dockbarr1_la) (3)
  911.     CreateDynamicObject(3578,-1183.40002441,2696.30004883,47.00000000,0.00000000,0.00000000,97.99804688); //object(dockbarr1_la) (4)
  912.     CreateDynamicObject(3578,-1182.30004883,2688.39990234,47.00000000,0.00000000,0.00000000,97.99804688); //object(dockbarr1_la) (5)
  913.     CreateDynamicObject(3578,-1183.69995117,2696.10009766,48.09999847,0.00000000,0.00000000,97.99804688); //object(dockbarr1_la) (6)
  914.     CreateDynamicObject(3578,-1182.59997559,2688.50000000,48.09999847,0.00000000,0.00000000,97.99804688); //object(dockbarr1_la) (8)
  915.  
  916.         //===============[ TextDraw ]===========================
  917.         cima = TextDrawCreate(0.000000,-1.000000,"                                    ");
  918.         TextDrawUseBox(cima,1);
  919.         TextDrawBoxColor(cima,0x00000065);
  920.         TextDrawTextSize(cima,639.000000,13.000000);
  921.         TextDrawAlignment(cima,0);
  922.         TextDrawBackgroundColor(cima,0x000000FF);
  923.         TextDrawFont(cima,3);
  924.         TextDrawLetterSize(cima,2.000000,12.000000);
  925.         TextDrawColor(cima,0x00000000);
  926.         TextDrawSetOutline(cima,1);
  927.         TextDrawSetProportional(cima,1);
  928.         TextDrawSetShadow(cima,1);
  929.        
  930.     baixo = TextDrawCreate(-1.000000,343.000000,"                                    ");
  931.         TextDrawUseBox(baixo,1);
  932.         TextDrawBoxColor(baixo,0x00000065);
  933.         TextDrawTextSize(baixo,639.000000,13.000000);
  934.         TextDrawAlignment(baixo,0);
  935.         TextDrawBackgroundColor(baixo,0x000000FF);
  936.         TextDrawFont(baixo,3);
  937.         TextDrawLetterSize(baixo,2.000000,12.000000);
  938.         TextDrawColor(baixo,0x00000000);
  939.         TextDrawSetOutline(baixo,1);
  940.         TextDrawSetProportional(baixo,1);
  941.         TextDrawSetShadow(baixo,1);
  942.        
  943.         NameServer = TextDrawCreate(192 ,133 , "Loucos por Drift");
  944.     TextDrawFont(NameServer , 3);
  945.     TextDrawLetterSize(NameServer , 0.8, 3.8);
  946.     TextDrawColor(NameServer , 0xFF0000FF);
  947.     TextDrawSetOutline(NameServer , false);
  948.     TextDrawSetProportional(NameServer , true);
  949.     TextDrawSetShadow(NameServer , 1);
  950.  
  951.     Versao = TextDrawCreate(318 ,158 , "V1.0");
  952.     TextDrawFont(Versao , 3);
  953.     TextDrawLetterSize(Versao , 0.6, 2.4);
  954.     TextDrawColor(Versao , 0xFF0000FF);
  955.     TextDrawSetOutline(Versao , false);
  956.     TextDrawSetProportional(Versao , true);
  957.     TextDrawSetShadow(Versao , 1);
  958.    
  959.     SetTimer("Relogio",1000,1);
  960.  
  961.     Rel = TextDrawCreate(1.0, 433.0,"00/00/00 || 00:00:00");
  962.     TextDrawBackgroundColor(Rel, 255);
  963.     TextDrawFont(Rel, 1);
  964.     TextDrawLetterSize(Rel,0.3,1.4);
  965.     TextDrawColor(Rel, -1);
  966.     TextDrawSetOutline(Rel, 0);
  967.     TextDrawSetProportional(Rel, 1);
  968.     TextDrawSetShadow(Rel, 1);
  969.         //TextDrawUseBox(Rel,1);
  970.         //TextDrawBoxColor(Rel,0x00000065);
  971.  
  972.         for(new i; i < MAX_PLAYERS; i ++)
  973.     {
  974.         if(IsPlayerConnected(i))
  975.         {
  976.             TextDrawShowForPlayer(i, cima);
  977.             TextDrawShowForPlayer(i, baixo);
  978.             TextDrawShowForPlayer(i, NameServer);
  979.             TextDrawShowForPlayer(i, Versao);
  980.             TextDrawShowForPlayer(i, Rel);
  981.         }
  982.     }
  983.         return 1;
  984. }
  985. public OnGameModeExit()
  986. {
  987.     for(new i, f = GetMaxPlayers(); i < f; i++)
  988.     {
  989.         if(IsPlayerConnected(i))
  990.         {
  991.            SalvarContas(i);
  992.                 }
  993.     }
  994.         return 1;
  995. }
  996. public OnPlayerRequestClass(playerid, classid)
  997. {
  998.     TextDrawHideForPlayer(playerid,NameServer);
  999.     TextDrawHideForPlayer(playerid,Versao);
  1000.    
  1001.     SetPlayerPos(playerid, 2924.9727, -1563.8043, 11.0469);
  1002.     SetPlayerFacingAngle(playerid, 86.8798);
  1003.     SetPlayerCameraPos(playerid, 2920.7109, -1563.5922, 12.0877);
  1004.     SetPlayerCameraLookAt(playerid, 2924.9727, -1563.8043, 11.0469);
  1005.    
  1006.         return 1;
  1007. }
  1008. public OnPlayerConnect(playerid)
  1009. {
  1010.     GetPlayerScore(PlayerInfo[playerid][pScore]);
  1011.     GetPlayerMoney(PlayerInfo[playerid][pGrana]);
  1012.  
  1013.     TextDrawShowForPlayer(playerid,cima);
  1014.     TextDrawShowForPlayer(playerid,baixo);
  1015.     TextDrawShowForPlayer(playerid,NameServer);
  1016.     TextDrawShowForPlayer(playerid,Versao);
  1017.     SetTimer("Setar", 1000, true);
  1018.     if(IsPlayerNPC(playerid)) { return 1; }
  1019.         SetTimerEx("Record", 1000, false, "d", playerid);
  1020.  
  1021.     TentativasDeLogar[playerid] = 0;
  1022.     GetPlayerName(playerid, Name, sizeof(Name));
  1023.     format(arquivo, sizeof(arquivo), "/Players/%s.ini", Name);
  1024.     if(!DOF2_FileExists(arquivo))
  1025.     {
  1026.         format(Don, sizeof(Don), "{FFFFFF}Voce Nao e Registrado!\nNome: {7CFC00}%s{FFFFFF}\n\nColoque Sua Senha", Name);
  1027.         ShowPlayerDialog(playerid, DialogRegistro, DIALOG_STYLE_PASSWORD, "Registro", Don, "Registrar", "Sair");
  1028.     }
  1029.     if(DOF2_FileExists(arquivo))
  1030.     {
  1031.          format(Don, sizeof(Don), "{FFFFFF}Voce e Registrado!\nNome: {7CFC00}%s{FFFFFF}\n\nColoque Sua Senha", Name);
  1032.          ShowPlayerDialog(playerid, DialogLogin, DIALOG_STYLE_PASSWORD, "Login", Don, "Login", "Sair");
  1033.     }
  1034.     espiando[playerid] = false;
  1035.     mpermitido[playerid] = true;
  1036.         if(PlayerInfo[playerid][pAdmin] >= 1){
  1037.     format(Don,sizeof(Don),"~g~%s:~r~ON",Name);
  1038.         GameTextForAll(Don,3000,3);}
  1039.        
  1040.         format(Don,sizeof(Don),"{FF0000}-OperServ-{FFFFFF} O player {FF0000}%s{FFFFFF} ({FF0000}ID:%d{FFFFFF}) entrou no servidor.",Name,playerid);
  1041.         SendClientMessageToAll(-1,Don);
  1042.         return 1;
  1043. }
  1044. public OnPlayerDisconnect(playerid, reason)
  1045. {
  1046.     oplayers--;
  1047.     SalvarContas(playerid);
  1048.     format(Don,sizeof(Don),"{FF0000}-OperServ-{FFFFFF} O player {FF0000}%s{FFFFFF} ({FF0000}ID:%d{FFFFFF}) saiu do servidor.",Name,playerid);
  1049.         SendClientMessageToAll(-1,Don);
  1050.         return 1;
  1051. }
  1052. public OnPlayerSpawn(playerid)
  1053. {
  1054.     TextDrawHideForPlayer(playerid,cima);
  1055.     TextDrawHideForPlayer(playerid,baixo);
  1056.     TextDrawShowForPlayer(playerid,Rel);
  1057.     SetPlayerPos(playerid, -314.29,1533.80,75.40);
  1058.  
  1059.         SetPlayerColor(playerid, PlayerColors[random(200)]);
  1060.         return 1;
  1061. }
  1062. public OnPlayerDeath(playerid, killerid, reason)
  1063. {
  1064.         return 1;
  1065. }
  1066. public OnVehicleSpawn(vehicleid)
  1067. {
  1068.         return 1;
  1069. }
  1070. public OnVehicleDeath(vehicleid, killerid)
  1071. {
  1072.         return 1;
  1073. }
  1074. public OnPlayerText(playerid, text[])
  1075. {
  1076.         new DName[MAX_PLAYER_NAME];
  1077.         GetPlayerName(playerid,DName,sizeof(DName));
  1078.         format(Don,sizeof(Don),"[%s(ID:%d)]diz:{FFFFFF} %s",DName,playerid,text);
  1079.         SendClientMessageToAll(GetPlayerColor(playerid),Don);
  1080.         return 0;
  1081. }
  1082. public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
  1083. {
  1084.         return 1;
  1085. }
  1086. public OnPlayerExitVehicle(playerid, vehicleid)
  1087. {
  1088.         return 1;
  1089. }
  1090. public OnPlayerStateChange(playerid, newstate, oldstate)
  1091. {
  1092.         return 1;
  1093. }
  1094. public OnPlayerEnterCheckpoint(playerid)
  1095. {
  1096.         return 1;
  1097. }
  1098. public OnPlayerLeaveCheckpoint(playerid)
  1099. {
  1100.         return 1;
  1101. }
  1102. public OnPlayerEnterRaceCheckpoint(playerid)
  1103. {
  1104.         return 1;
  1105. }
  1106. public OnPlayerLeaveRaceCheckpoint(playerid)
  1107. {
  1108.         return 1;
  1109. }
  1110. public OnRconCommand(cmd[])
  1111. {
  1112.         return 1;
  1113. }
  1114. public OnPlayerRequestSpawn(playerid)
  1115. {
  1116.         return 1;
  1117. }
  1118.  
  1119. public OnObjectMoved(objectid)
  1120. {
  1121.         return 1;
  1122. }
  1123.  
  1124. public OnPlayerObjectMoved(playerid, objectid)
  1125. {
  1126.         return 1;
  1127. }
  1128.  
  1129. public OnPlayerPickUpPickup(playerid, pickupid)
  1130. {
  1131.         return 1;
  1132. }
  1133.  
  1134. public OnVehicleMod(playerid, vehicleid, componentid)
  1135. {
  1136.         return 1;
  1137. }
  1138.  
  1139. public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
  1140. {
  1141.         return 1;
  1142. }
  1143.  
  1144. public OnVehicleRespray(playerid, vehicleid, color1, color2)
  1145. {
  1146.         return 1;
  1147. }
  1148.  
  1149. public OnPlayerSelectedMenuRow(playerid, row)
  1150. {
  1151.         return 1;
  1152. }
  1153.  
  1154. public OnPlayerExitedMenu(playerid)
  1155. {
  1156.         return 1;
  1157. }
  1158.  
  1159. public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
  1160. {
  1161.     new x = 0;
  1162.         while(x!=MAX_PLAYERS)
  1163.         {
  1164.             if( IsPlayerConnected(x) && GetPlayerState(x) == PLAYER_STATE_SPECTATING &&
  1165.                         gSpectateID[x] == playerid && gSpectateType[x] == ADMIN_SPEC_TYPE_PLAYER )
  1166.                 {
  1167.                     SetPlayerInterior(x,newinteriorid);
  1168.                 }
  1169.                 x++;
  1170.         }
  1171.         return 1;
  1172. }
  1173.  
  1174. public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
  1175. {
  1176.         return 1;
  1177. }
  1178.  
  1179. public OnRconLoginAttempt(ip[], password[], success)
  1180. {
  1181.         return 1;
  1182. }
  1183. public OnPlayerUpdate(playerid)
  1184. {
  1185.         GetPlayerName(playerid,Name,sizeof(Name));
  1186.     switch(GetPlayerWeapon(playerid))
  1187.     {
  1188.        case 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:
  1189.        {
  1190.                   format(Don,sizeof(Don),"{FF0000}-OperServ-{FFFFFF} O player {FF0000}%s{FFFFFF} ({FF0000}ID:%d{FFFFFF}) foi kickado pelo admin {FF0000}BOT {FFFFFF}[Motivo: {FF0000}Hack{FFFFFF}]", Name,playerid);
  1191.                   SendClientMessageToAll(-1,Don);
  1192.                   Kick(playerid);
  1193.            }
  1194.            case 21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40:
  1195.            {
  1196.               format(Don,sizeof(Don),"{FF0000}-OperServ-{FFFFFF} O player {FF0000}%s{FFFFFF} ({FF0000}ID:%d{FFFFFF}) foi kickado pelo admin {FF0000}BOT {FFFFFF}[Motivo: {FF0000}Hack{FFFFFF}]", Name,playerid);
  1197.                   SendClientMessageToAll(-1,Don);
  1198.                   Kick(playerid);
  1199.            }
  1200.         }
  1201.         return 1;
  1202. }
  1203.  
  1204. public OnPlayerStreamIn(playerid, forplayerid)
  1205. {
  1206.         return 1;
  1207. }
  1208.  
  1209. public OnPlayerStreamOut(playerid, forplayerid)
  1210. {
  1211.         return 1;
  1212. }
  1213.  
  1214. public OnVehicleStreamIn(vehicleid, forplayerid)
  1215. {
  1216.         return 1;
  1217. }
  1218.  
  1219. public OnVehicleStreamOut(vehicleid, forplayerid)
  1220. {
  1221.         return 1;
  1222. }
  1223. public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
  1224. {
  1225.         if(dialogid == DialogRegistro)
  1226.     {
  1227.         if(!response) ShowPlayerDialog(playerid, DialogSaidaA, DIALOG_STYLE_MSGBOX, "{FFFFFF}[FLB]Confirmar saida", "{FF0000}..:: [FLB]Falcon's Login Box ::..\n{FFFFFF}Você ainda não está registrado.\n\nTem certeza que deseja sair ?", "Sair", "Voltar");
  1228.         if(response)
  1229.         {
  1230.            if(strlen(inputtext) < 5 || strlen(inputtext) > 20)
  1231.            {
  1232.               format(Don, sizeof(Don), "{FFFFFF}Voce Nao e Registrado!\nNome: {7CFC00}%s{FFFFFF}\n\nColoque Sua Senha", Name);
  1233.               return ShowPlayerDialog(playerid, DialogRegistro, DIALOG_STYLE_PASSWORD, "Registro", Don, "Registrar", "Sair");
  1234.            }
  1235.            GetPlayerName(playerid, Name, sizeof(Name));
  1236.            format(arquivo, sizeof(arquivo), "/Players/%s.ini", Name);
  1237.            DOF2_CreateFile(arquivo);
  1238.            DOF2_SetString(arquivo, "Senha", inputtext);
  1239.            PlayerInfo[playerid][pScore] = 10;
  1240.            PlayerInfo[playerid][pGrana] = 10000;
  1241.            PlayerInfo[playerid][pAdmin] = 0;
  1242.            SetarScore(playerid, 10);
  1243.            SetarGrana(playerid, 10000);
  1244.            
  1245.            SalvarContas(playerid);
  1246.            SendClientMessage(playerid, 0xFFFFFFAA, "Obrigado por registrar-se...A administração do servidor lhe deseja um bom jogo !!");
  1247.                 }
  1248.     }
  1249.     if(dialogid == DialogLogin)
  1250.     {
  1251.         if(!response) ShowPlayerDialog(playerid, DialogSaidaB, DIALOG_STYLE_MSGBOX, "Confirmar saida", "{FFFFFF}Você ainda não está logado.\n\nTem certeza que deseja sair ?", "Sair", "Voltar");
  1252.         if(response)
  1253.         {
  1254.           if(strlen(inputtext) < 5 || strlen(inputtext) > 20)
  1255.           {
  1256.                GetPlayerName(playerid, Name, sizeof(Name));
  1257.                format(Don, sizeof(Don), "{FFFFFF}Voce e Registrado!\nNome: {7CFC00}%s{FFFFFF}\n\nColoque Sua Senha", Name);
  1258.                ShowPlayerDialog(playerid, DialogLogin, DIALOG_STYLE_PASSWORD, "Login", Don, "Login", "Sair");
  1259.           }
  1260.           GetPlayerName(playerid, Name, sizeof(Name));
  1261.           format(arquivo, sizeof(arquivo), "/Players/%s.ini", Name);
  1262.           if(!strcmp(inputtext, DOF2_GetString(arquivo, "Senha"), CASE_SENSITIVE))
  1263.           {
  1264.                CarregarContas(playerid);
  1265.           }
  1266.           else
  1267.           {
  1268.           TentativasDeLogar[playerid] ++;
  1269.           if(TentativasDeLogar[playerid] <= 3)
  1270.           {
  1271.               GetPlayerName(playerid, Name, sizeof(Name));
  1272.               format(Don, sizeof(Don), "{FFFFFF}Voce Nao e Registrado!\nNome: {7CFC00}%s{FFFFFF}\n\nColoque Sua Senha", Name);
  1273.               ShowPlayerDialog(playerid, DialogRegistro, DIALOG_STYLE_PASSWORD, "Registro", Don, "Registrar", "Sair");
  1274.               format(Don, sizeof(Don), "Senha incorreta !!  || %d Tentativa(s) de %d", TentativasDeLogar[playerid], 3);
  1275.               SendClientMessage(playerid, 0xFF0000AA, Don);
  1276.           }
  1277.           if(TentativasDeLogar[playerid] > 3)
  1278.           {
  1279.               SendClientMessage(playerid, 0xFF0000AA, "Você excedeu o limite máximo de tentativas de logar...");
  1280.               SendClientMessage(playerid, 0xFF0000AA, "Por questões de segurança você foi kickado !!");
  1281.               Kick(playerid);
  1282.           }
  1283.           }
  1284.                 }
  1285.     }
  1286.     if(dialogid == DialogSaidaA)
  1287.     {
  1288.         if(response)
  1289.         {
  1290.             SendClientMessage(playerid, 0xFFFFFFAA, "Você decidiu sair sem se registrar...");
  1291.             Kick(playerid);
  1292.         }
  1293.         else
  1294.         {
  1295.             GetPlayerName(playerid, Name, sizeof(Name));
  1296.             format(Don, sizeof(Don), "{FFFFFF}Voce Nao e Registrado!\nNome: {7CFC00}%s{FFFFFF}\n\nColoque Sua Senha", Name);
  1297.             ShowPlayerDialog(playerid, DialogRegistro, DIALOG_STYLE_PASSWORD, "Registro", Don, "Registrar", "Sair");
  1298.         }
  1299.     }
  1300.     if(dialogid == DialogSaidaB)
  1301.     {
  1302.        if(response)
  1303.        {
  1304.           SendClientMessage(playerid, 0xFFFFFFAA, "Você decidiu sair sem se logar...");
  1305.           Kick(playerid);
  1306.        }
  1307.        else
  1308.        {
  1309.           GetPlayerName(playerid, Name, sizeof(Name));
  1310.           format(Don, sizeof(Don), "{FFFFFF}Voce e Registrado!\nNome: {7CFC00}%s{FFFFFF}\n\nColoque Sua Senha", Name);
  1311.           ShowPlayerDialog(playerid, DialogLogin, DIALOG_STYLE_PASSWORD, "Login", Don, "Login", "Sair");
  1312.        }
  1313.     }
  1314.     if(dialogid == DIALOG_CARS)
  1315.         {
  1316.         if(!response)return SendClientMessage(playerid, 0xFFFFFFFF, "[INFO] Você cancelou a seleção de carros");
  1317.         if(!IsValidVehicle(strval(inputtext)))return SendClientMessage(playerid, 0xFFFFFFFF, "[ERRO] Carro Inválido");
  1318.         format(Don, sizeof(Don), "Você colocou o carro %s(%i)", NomeCarros[strval(inputtext)-400],strval(inputtext));
  1319.         SendClientMessage(playerid, 0xFFFFFFFF, Don);
  1320.         new Float:x,Float:y,Float:z;
  1321.         GetPlayerPos(playerid, x, y, z);
  1322.         PutPlayerInVehicle(playerid,CreateVehicle(strval(inputtext),x, y, z, 82,0,1,60), 0);
  1323.         return 1;
  1324.     }
  1325.     if(dialogid == DialogTeles)
  1326.         {
  1327.         if(!response)return SendClientMessage(playerid, 0xFFFFFFFF, "[INFO]Ok! Menu fechado");
  1328.         if(listitem == 0)return cmd_drift1(playerid);
  1329.         if(listitem == 1)return cmd_drift2(playerid);
  1330.         if(listitem == 2)return cmd_drift3(playerid);
  1331.         if(listitem == 3)return cmd_drift4(playerid);
  1332.         if(listitem == 4)return cmd_drift5(playerid);
  1333.         if(listitem == 5)return cmd_drift6(playerid);
  1334.         if(listitem == 6)return cmd_drift7(playerid);
  1335.         }
  1336.         return 1;
  1337. }
  1338.  
  1339. public OnPlayerClickPlayer(playerid, clickedplayerid, source)
  1340. {
  1341.         return 1;
  1342. }
  1343. forward SalvarContas(playerid);
  1344. public SalvarContas(playerid)
  1345. {
  1346.      GetPlayerName(playerid, Name, sizeof(Name));
  1347.      format(arquivo, sizeof(arquivo), "/Players/%s.ini", Name);
  1348.      if(!DOF2_FileExists(arquivo)) DOF2_CreateFile(arquivo);
  1349.  
  1350.      DOF2_SetInt(arquivo, "Score", PlayerInfo[playerid][pScore]);
  1351.      DOF2_SetInt(arquivo, "Grana", PlayerInfo[playerid][pGrana]);
  1352.      DOF2_SetInt(arquivo, "Admin", PlayerInfo[playerid][pAdmin]);
  1353.      DOF2_Exit();
  1354.      return 1;
  1355. }
  1356. forward CarregarContas(playerid);
  1357. public CarregarContas(playerid)
  1358. {
  1359.     GetPlayerName(playerid, Name, sizeof(Name));
  1360.     format(arquivo, sizeof(arquivo), "/Players/%s.ini", Name);
  1361.     if(!DOF2_FileExists(arquivo)) return 0x1;
  1362.  
  1363.     PlayerInfo[playerid][pScore]   =    DOF2_GetInt  (arquivo, "Score");
  1364.     PlayerInfo[playerid][pGrana]   =    DOF2_GetInt  (arquivo, "Grana");
  1365.     PlayerInfo[playerid][pAdmin]   =    DOF2_GetInt  (arquivo, "Admin");
  1366.     SetPlayerScore(playerid, DOF2_GetInt  (arquivo, "Score"));
  1367.     GivePlayerMoney(playerid, DOF2_GetInt  (arquivo, "Grana"));
  1368.     return 1;
  1369. }
  1370. forward Utilitarios();
  1371. public Utilitarios()
  1372. {
  1373.    for(new i, f = GetMaxPlayers(); i < f; i++)
  1374.    {
  1375.       if(IsPlayerConnected(i))
  1376.       {
  1377.            if(IsPlayerInAnyVehicle(i))
  1378.            {
  1379.               RepairVehicle(GetPlayerVehicleID(i));
  1380.               AddVehicleComponent(GetPlayerVehicleID(i) ,1010);
  1381.            }
  1382.       }
  1383.    }
  1384.    return true;
  1385. }
  1386. forward Setar(playerid);
  1387. public Setar(playerid)
  1388. {
  1389.     GetPlayerName(playerid, Name, sizeof(Name));
  1390.     ResetPlayerMoney(playerid);
  1391.     format(arquivo, sizeof(arquivo), "/Players/%s.ini", Name);
  1392.     DOF2_SetInt(arquivo, "Score", PlayerInfo[playerid][pScore]);
  1393.     SetPlayerScore(playerid, DOF2_GetInt  (arquivo, "Score"));
  1394.     PlayerInfo[playerid][pGrana]   =    DOF2_GetInt  (arquivo, "Grana");
  1395.     return GivePlayerMoney(playerid, DOF2_GetInt  (arquivo, "Grana"));
  1396. }
  1397. forward Ping(playerid);
  1398. public Ping(playerid)
  1399. {
  1400.    if(GetPlayerPing(playerid) > 400)
  1401.    {
  1402.            SetTimer("Ping2", 4000, true);
  1403.    }
  1404.    return true;
  1405. }
  1406. forward Ping2(playerid);
  1407. public Ping2(playerid)
  1408. {
  1409.    GetPlayerName(playerid,Name,sizeof(Name));
  1410.    if(GetPlayerPing(playerid) > 400)
  1411.    {
  1412.           format(Don,sizeof(Don),"{FF0000}-OperServ-{FFFFFF} O player {FF0000}%s{FFFFFF} ({FF0000}ID:%d{FFFFFF}) foi kickado pelo admin BOT [Motivo : Ping Alto]",Name,playerid);
  1413.           SendClientMessageToAll(-1,Don);
  1414.           Kick(playerid);
  1415.    }
  1416.    return true;
  1417. }
  1418. forward LoadRecord();
  1419. public LoadRecord()
  1420. {
  1421.         new strFromFile[24], arrCoords[6][5], File: file = fopen("porecords", io_read);
  1422.         if (file)
  1423.         {
  1424.                 fread(file, strFromFile);
  1425.                 split(strFromFile, arrCoords, ',');
  1426.                 Precord = strval(arrCoords[0]);
  1427.                 Drecord = strval(arrCoords[1]);
  1428.                 Mrecord = strval(arrCoords[2]);
  1429.                 Yrecord = strval(arrCoords[3]);
  1430.                 THrecord = strval(arrCoords[4]);
  1431.                 TMrecord = strval(arrCoords[5]);
  1432.                 fclose(file);
  1433.         }
  1434.         return 1;
  1435. }
  1436. forward SaveRecord();
  1437. public SaveRecord()
  1438. {
  1439.         new coordsstring[24];
  1440.         format(coordsstring, sizeof(coordsstring), "%d,%d,%d,%d,%d,%d", Precord, Drecord, Mrecord, Yrecord, THrecord, TMrecord);
  1441.         new File: file = fopen("porecords", io_write);
  1442.         fwrite(file, coordsstring);
  1443.         fclose(file);
  1444.         return 1;
  1445. }
  1446. forward Record(playerid);
  1447. public Record(playerid)
  1448. {
  1449.         oplayers++;
  1450.     if(Precord < oplayers)
  1451.     {
  1452.         Precord=oplayers;
  1453.         gettime(THrecord, TMrecord); getdate(Yrecord, Mrecord, Drecord);
  1454.         new string[92];
  1455.                 format(string, sizeof(string), "{FF0000}-OperServ-{FFFFFF} Novo record de players online foi de {FF0000}%d/%d", Precord, GetMaxPlayers());
  1456.         SendClientMessageToAll(-1, string);
  1457.         SaveRecord();
  1458.     }
  1459.         return 1;
  1460. }
  1461. forward ConnectedPlayers();
  1462. public ConnectedPlayers()
  1463. {
  1464.         new Connected;
  1465.         for(new i = 0; i < MAX_PLAYERS; i++) if(IsPlayerConnected(i) && !IsPlayerNPC(i)) Connected++;
  1466.         return Connected;
  1467. }
  1468. forward MSG();
  1469. public MSG()
  1470. {
  1471.     SendClientMessageToAll(-1,MensagensRandomicas[random(sizeof(MensagensRandomicas))]);
  1472.     return 1;
  1473. }
  1474. forward Relogio(playerid);
  1475. public Relogio(playerid)
  1476. {
  1477.     new str[259], mes[12], ano, month, dia, horas, minutos, segundos;
  1478.  
  1479.     getdate(ano, month, dia);
  1480.     gettime(horas,minutos,segundos);
  1481.  
  1482.     if(month == 1) { mes = "Janeiro"; }
  1483.     else if(month == 2) {mes = "Fevereiro";}
  1484.     else if(month == 3) {mes = "Marco";}
  1485.     else if(month == 4) {mes = "Abril";}
  1486.     else if(month == 5) {mes = "Maio";}
  1487.     else if(month == 6) {mes = "Junho";}
  1488.     else if(month == 7) {mes = "Julho";}
  1489.     else if(month == 8) {mes = "Agosto";}
  1490.     else if(month == 9) {mes = "Setembro";}
  1491.     else if(month == 10) {mes = "Outubro";}
  1492.     else if(month == 11) {mes = "Novembro";}
  1493.     else if(month == 12) {mes= "Dezembro";}
  1494.  
  1495.     format(str, sizeof(str), "Dia %d de %s de %d [%d:%d:%d] ~r~ Loucos por Drift - Oficial v1.0", dia, mes,ano,horas, minutos, segundos);
  1496.     TextDrawSetString(Rel, str);
  1497.     return true;
  1498. }
  1499. stock split(const strsrc[], strdest[][], delimiter)
  1500. {
  1501.     new i, li;
  1502.     new aNum;
  1503.     new len;
  1504.     while(i <= strlen(strsrc))
  1505.     {
  1506.         if(strsrc[i] == delimiter || i == strlen(strsrc))
  1507.         {
  1508.             len = strmid(strdest[aNum], strsrc, li, i, 128);
  1509.             strdest[aNum][len] = 0;
  1510.             li = i+1;
  1511.             aNum++;
  1512.         }
  1513.         i++;
  1514.     }
  1515.     return 1;
  1516. }
  1517. stock SetarScore(playerid, Quantia)
  1518. {
  1519.    SetPlayerScore(playerid, 0);
  1520.    return SetPlayerScore(playerid, Quantia);
  1521. }
  1522. stock SetarGrana(playerid, Quantia)
  1523. {
  1524.   ResetPlayerMoney(playerid);
  1525.   return GivePlayerMoney(playerid, Quantia);
  1526. }
  1527. stock Skin()
  1528. {
  1529.         AddPlayerClass(0, 00.00, 00.00, 00.00, 00.00, 0, 0, 0, 0, 0, 0);
  1530.         AddPlayerClass(1, 00.00, 00.00, 00.00, 00.00, 0, 0, 0, 0, 0, 0);
  1531.         AddPlayerClass(2, 00.00, 00.00, 00.00, 00.00, 0, 0, 0, 0, 0, 0);
  1532.         AddPlayerClass(3, 00.00, 00.00, 00.00, 00.00, 0, 0, 0, 0, 0, 0);
  1533.         AddPlayerClass(4, 00.00, 00.00, 00.00, 00.00, 0, 0, 0, 0, 0, 0);
  1534.         AddPlayerClass(5, 00.00, 00.00, 00.00, 00.00, 0, 0, 0, 0, 0, 0);
  1535.         AddPlayerClass(6, 00.00, 00.00, 00.00, 00.00, 0, 0, 0, 0, 0, 0);
  1536.         AddPlayerClass(7, 00.00, 00.00, 00.00, 00.00, 0, 0, 0, 0, 0, 0);
  1537.         AddPlayerClass(8, 00.00, 00.00, 00.00, 00.00, 0, 0, 0, 0, 0, 0);
  1538.         AddPlayerClass(9, 00.00, 00.00, 00.00, 00.00, 0, 0, 0, 0, 0, 0);
  1539.         AddPlayerClass(10, 00.00, 00.00, 00.00, 00.00, 0, 0, 0, 0, 0, 0);
  1540.         AddPlayerClass(11, 00.00, 00.00, 00.00, 00.00, 0, 0, 0, 0, 0, 0);
  1541.         AddPlayerClass(12, 00.00, 00.00, 00.00, 00.00, 0, 0, 0, 0, 0, 0);
  1542.         AddPlayerClass(13, 00.00, 00.00, 00.00, 00.00, 0, 0, 0, 0, 0, 0);
  1543.         AddPlayerClass(14, 00.00, 00.00, 00.00, 00.00, 0, 0, 0, 0, 0, 0);
  1544.         AddPlayerClass(15, 00.00, 00.00, 00.00, 00.00, 0, 0, 0, 0, 0, 0);
  1545.         AddPlayerClass(16, 00.00, 00.00, 00.00, 00.00, 0, 0, 0, 0, 0, 0);
  1546.         AddPlayerClass(17, 00.00, 00.00, 00.00, 00.00, 0, 0, 0, 0, 0, 0);
  1547.         AddPlayerClass(18, 00.00, 00.00, 00.00, 00.00, 0, 0, 0, 0, 0, 0);
  1548.         AddPlayerClass(19, 00.00, 00.00, 00.00, 00.00, 0, 0, 0, 0, 0, 0);
  1549.         AddPlayerClass(20, 00.00, 00.00, 00.00, 00.00, 0, 0, 0, 0, 0, 0);
  1550.         AddPlayerClass(21, 00.00, 00.00, 00.00, 00.00, 0, 0, 0, 0, 0, 0);
  1551.         AddPlayerClass(22, 00.00, 00.00, 00.00, 00.00, 0, 0, 0, 0, 0, 0);
  1552.         AddPlayerClass(23, 00.00, 00.00, 00.00, 00.00, 0, 0, 0, 0, 0, 0);
  1553.         AddPlayerClass(24, 00.00, 00.00, 00.00, 00.00, 0, 0, 0, 0, 0, 0);
  1554.         AddPlayerClass(25, 00.00, 00.00, 00.00, 00.00, 0, 0, 0, 0, 0, 0);
  1555.         AddPlayerClass(26, 00.00, 00.00, 00.00, 00.00, 0, 0, 0, 0, 0, 0);
  1556.         AddPlayerClass(27, 00.00, 00.00, 00.00, 00.00, 0, 0, 0, 0, 0, 0);
  1557.         AddPlayerClass(28, 00.00, 00.00, 00.00, 00.00, 0, 0, 0, 0, 0, 0);
  1558.         AddPlayerClass(29, 00.00, 00.00, 00.00, 00.00, 0, 0, 0, 0, 0, 0);
  1559.         AddPlayerClass(30, 00.00, 00.00, 00.00, 00.00, 0, 0, 0, 0, 0, 0);
  1560.         AddPlayerClass(31, 00.00, 00.00, 00.00, 00.00, 0, 0, 0, 0, 0, 0);
  1561.         AddPlayerClass(32, 00.00, 00.00, 00.00, 00.00, 0, 0, 0, 0, 0, 0);
  1562.         AddPlayerClass(33, 00.00, 00.00, 00.00, 00.00, 0, 0, 0, 0, 0, 0);
  1563.         AddPlayerClass(34, 00.00, 00.00, 00.00, 00.00, 0, 0, 0, 0, 0, 0);
  1564.         AddPlayerClass(35, 00.00, 00.00, 00.00, 00.00, 0, 0, 0, 0, 0, 0);
  1565.         AddPlayerClass(36, 00.00, 00.00, 00.00, 00.00, 0, 0, 0, 0, 0, 0);
  1566.         AddPlayerClass(37, 00.00, 00.00, 00.00, 00.00, 0, 0, 0, 0, 0, 0);
  1567.         AddPlayerClass(38, 00.00, 00.00, 00.00, 00.00, 0, 0, 0, 0, 0, 0);
  1568.         AddPlayerClass(39, 00.00, 00.00, 00.00, 00.00, 0, 0, 0, 0, 0, 0);
  1569.         AddPlayerClass(40, 00.00, 00.00, 00.00, 00.00, 0, 0, 0, 0, 0, 0);
  1570.         AddPlayerClass(45, 00.00, 00.00, 00.00, 00.00, 0, 0, 0, 0, 0, 0);
  1571.         AddPlayerClass(60, 00.00, 00.00, 00.00, 00.00, 0, 0, 0, 0, 0, 0);
  1572.         AddPlayerClass(100, 00.00, 00.00, 00.00, 00.00, 0, 0, 0, 0, 0, 0);
  1573.         AddPlayerClass(189, 00.00, 00.00, 00.00, 00.00, 0, 0, 0, 0, 0, 0);
  1574.         AddPlayerClass(200, 00.00, 00.00, 00.00, 00.00, 0, 0, 0, 0, 0, 0);
  1575.         AddPlayerClass(187, 00.00, 00.00, 00.00, 00.00, 0, 0, 0, 0, 0, 0);
  1576.         AddPlayerClass(287, 00.00, 00.00, 00.00, 00.00, 0, 0, 0, 0, 0, 0);
  1577.         AddPlayerClass(288, 00.00, 00.00, 00.00, 00.00, 0, 0, 0, 0, 0, 0);
  1578.         AddPlayerClass(286, 00.00, 00.00, 00.00, 00.00, 0, 0, 0, 0, 0, 0);
  1579.         AddPlayerClass(298, 00.00, 00.00, 00.00, 00.00, 0, 0, 0, 0, 0, 0);
  1580.         AddPlayerClass(254, 00.00, 00.00, 00.00, 00.00, 0, 0, 0, 0, 0, 0);
  1581.         AddPlayerClass(210, 00.00, 00.00, 00.00, 00.00, 0, 0, 0, 0, 0, 0);
  1582.         return 0;
  1583. }
  1584. //                *****************************************
  1585. //                **       Comando Admins LVL 1          **
  1586. //                *****************************************
  1587. CMD:ah(playerid,params[])
  1588. {
  1589.         new speed[300];
  1590.     if(PlayerInfo[playerid][pAdmin] > 1)
  1591.     {
  1592.          format(Don,sizeof(Don),"{FF0000}|Level 1| /a /kick /ir /trazer /tapa /espiar /pararespiar /av /ao\n\n");
  1593.          strcat(speed, Don);
  1594.          format(Don,sizeof(Don),"{FF0000}|Level 2| /dardinheiro /setardinheiro /darscore /setarscore\n\n");
  1595.          strcat(speed, Don);
  1596.          format(Don,sizeof(Don),"{FF0000}|Level 2| /limparchat /rc /vidatodos /coletetodos\n\n");
  1597.          strcat(speed, Don);
  1598.          format(Don,sizeof(Don),"{FF0000}|Level 3| /daradmin /bloquearmp /desbloquearmp /deletarjetpack /gmx /skick\n\n");
  1599.          strcat(speed, Don);
  1600.          ShowPlayerDialog(playerid, Ajudaadmins, DIALOG_STYLE_MSGBOX, "Ajuda ADM", speed, "Ok","");
  1601.         }else SendClientMessage(playerid,-1,"[ERRO] Nao es admin");
  1602.         return true;
  1603. }
  1604. CMD:a(playerid,params[])
  1605. {
  1606.     if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, -1,"[ERRO] Voce nao e admin ou nao tem level suficiente.");
  1607.     if(sscanf(params, "s[100]",params)) return SendClientMessage(playerid,-1,"[USE] /a [texto]");
  1608.     GetPlayerName(playerid,Name,sizeof(Name));
  1609.     format(Don,sizeof(Don),"|Admin {FF0000}%s{FFFFFF} ({FF0000}ID:%d{FFFFFF})|: {FF0000}%s.",Name,playerid,params);
  1610.     for(new i=0; i<MAX_PLAYERS; i++)
  1611.     {
  1612.        if(PlayerInfo[i][pAdmin] == PlayerInfo[playerid][pAdmin])
  1613.        {
  1614.           SendClientMessage(i, -1,Don);
  1615.        }
  1616.     }
  1617.     return 1;
  1618. }
  1619. CMD:kick(playerid,params[])
  1620. {
  1621.     if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, -1,"[ERRO] Voce nao e admin ou nao tem level suficiente.");
  1622.     new DName[MAX_PLAYER_NAME], ID;
  1623.         if(sscanf(params, "ds[50]", ID, params)) return SendClientMessage(playerid,-1,"[USE] /kickar [id][motivo]");
  1624.     if(!IsPlayerConnected(ID))return SendClientMessage(playerid,-1,"[OFF]");
  1625.         GetPlayerName(ID,DName,sizeof(DName));
  1626.         GetPlayerName(playerid,Name,sizeof(Name));
  1627.         format(Don,sizeof(Don),"{FF0000}-OperServ-{FFFFFF} O Administrador {FF0000}%s{FFFFFF} ({FF0000}ID:%d{FFFFFF}) kickou {FF0000}%s{FFFFFF}({FF0000}ID:%d{FFFFFF})[[ Motivo : %s ]]", Name,playerid,DName,ID,params);
  1628.         SendClientMessageToAll(-1,Don);
  1629.         Kick(ID);
  1630.         return true;
  1631. }
  1632. CMD:ir(playerid,params[])
  1633. {
  1634.     new DName[MAX_PLAYER_NAME], ID;
  1635.     if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, -1,"[ERRO] Voce nao e admin ou nao tem level suficiente.");
  1636.     if(sscanf(params, "u", ID)) return SendClientMessage(playerid,-1,"[USE] /ir [id]");
  1637.         GetPlayerName(ID,DName,sizeof(DName));
  1638.         GetPlayerName(playerid,Name,sizeof(Name));
  1639.         if(!IsPlayerConnected(ID))return SendClientMessage(playerid,-1,"[OFF]");
  1640.         new Float:PPos[3];
  1641.     SetPlayerPos(playerid, PPos[0], PPos[1], PPos[2]);
  1642.     GetPlayerPos(ID, PPos[0], PPos[1], PPos[2]);
  1643.     new VehicleID;
  1644.     VehicleID = GetPlayerVehicleID(playerid);
  1645.     SetVehiclePos(VehicleID,PPos[0], PPos[1], PPos[2]);
  1646.     format(Don,sizeof(Don),"{FF0000}-OperServ-{FFFFFF} O Admin {FF0000}%s{FFFFFF}({FF0000}ID:%d{FFFFFF}) Veio Ate Voce", Name,playerid);
  1647.     SendClientMessage(ID,-1,Don);
  1648.     format(Don,sizeof(Don),"{FF0000}-OperServ-{FFFFFF} Voce Foi Ate Player %s(ID:%s).", DName,ID);
  1649.     SendClientMessage(playerid,-1,Don);
  1650.     return true;
  1651. }
  1652. CMD:trazer(playerid,params[])
  1653. {
  1654.     new DName[MAX_PLAYER_NAME], ID;
  1655.     if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, -1,"[ERRO] Voce nao e admin ou nao tem level suficiente.");
  1656.     if(sscanf(params, "u", ID)) return SendClientMessage(playerid,-1,"[USE] /trazer [id]");
  1657.         GetPlayerName(ID,DName,sizeof(DName));
  1658.         GetPlayerName(playerid,Name,sizeof(Name));
  1659.         if(!IsPlayerConnected(ID))return SendClientMessage(playerid,-1,"[OFF]");
  1660.         new Float:PPos[3];
  1661.     GetPlayerPos(playerid, PPos[0], PPos[1], PPos[2]);
  1662.     SetPlayerPos(ID, PPos[0], PPos[1], PPos[2]);
  1663.     new VehicleID;
  1664.     VehicleID = GetPlayerVehicleID(playerid);
  1665.     SetVehiclePos(VehicleID,PPos[0], PPos[1], PPos[2]);
  1666.     format(Don,sizeof(Don),"{FF0000}-OperServ-{FFFFFF} O Admin {FF0000}%s{FFFFFF}({FF0000}ID:%d{FFFFFF}) Te Trouxe Ate Ele.", Name,playerid);
  1667.     SendClientMessage(ID,-1,Don);
  1668.     format(Don,sizeof(Don),"{FF0000}-OperServ-{FFFFFF} Voce Teouxe o Player %s(ID:%s) Ate Voce.", DName,ID);
  1669.     SendClientMessage(playerid,-1,Don);
  1670.     return true;
  1671. }
  1672. CMD:tapa(playerid,params[])
  1673. {
  1674.     new DName[MAX_PLAYER_NAME], ID;
  1675.     if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, -1,"[ERRO] Voce nao e admin ou nao tem level suficiente.");
  1676.     if(sscanf(params, "u", ID)) return SendClientMessage(playerid,-1,"[USE] /tapa [id]");
  1677.     if(!IsPlayerConnected(ID))return SendClientMessage(playerid,-1,"[OFF]");
  1678.         GetPlayerName(ID,DName,sizeof(DName));
  1679.         GetPlayerName(playerid,Name,sizeof(Name));
  1680.         new Float:c[3];
  1681.         GetPlayerPos(ID,c[0],c[1],c[2]);
  1682.     SetPlayerPos(ID,c[0],c[1],c[2]+15);
  1683.     format(Don,sizeof(Don),"{FF0000}-OperServ-{FFFFFF} O Admin {FF0000}%s{FFFFFF} ({FF0000}ID:%d{FFFFFF}) deu um tapa em {FF0000}%s{FFFFFF}({FF0000}ID:%d{FFFFFF}).", Name,playerid,DName,ID);
  1684.     SendClientMessageToAll(-1,Don);
  1685.     return true;
  1686. }
  1687. CMD:espiar(playerid,params[])
  1688. {
  1689.     new DName[MAX_PLAYER_NAME], ID;
  1690.     if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, -1,"[ERRO] Voce nao e admin ou nao tem level suficiente.");
  1691.     if(sscanf(params, "uu",ID)) return SendClientMessage(playerid,-1,"[USE] /espiar [id]");
  1692.         if(!IsPlayerConnected(ID))return SendClientMessage(playerid,-1,"[OFF]");
  1693.         if(espiando[playerid] == true)return SendClientMessage(playerid,-1,"[ERRO] Voce ja esta espiando [/pararespiar]");
  1694.         GetPlayerName(ID,DName,sizeof(DName));
  1695.         espiando[playerid] = true;
  1696.         TogglePlayerSpectating(playerid, 1);
  1697.         PlayerSpectatePlayer(playerid, ID);
  1698.         SetPlayerInterior(playerid,GetPlayerInterior(ID));
  1699.         gSpectateID[playerid] = ID;
  1700.         gSpectateType[playerid] = ADMIN_SPEC_TYPE_PLAYER;
  1701.         format(Don,sizeof(Don),"{FF0000}-OperServ-{FFFFFF} Voce esta espiando o player {FF0000}%s{FFFFFF}({FF0000}ID:%d{FFFFFF}).",DName,ID);
  1702.         SendClientMessage(playerid,-1,Don);
  1703.         return true;
  1704. }
  1705. CMD:pararespiar(playerid,params[])
  1706. {
  1707.     new DName[MAX_PLAYER_NAME], ID;
  1708.     if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, -1,"[ERRO] Voce nao e admin ou nao tem level suficiente.");
  1709.         if(espiando[playerid] == false)return SendClientMessage(playerid,-1,"[ERRO] Voce nao esta espiando [/espiar]");
  1710.         GetPlayerName(ID,DName,sizeof(DName));
  1711.         espiando[playerid] = false;
  1712.         TogglePlayerSpectating(playerid, 0);
  1713.         gSpectateID[playerid] = INVALID_PLAYER_ID;
  1714.         gSpectateType[playerid] = ADMIN_SPEC_TYPE_NONE;
  1715.         format(Don,sizeof(Don),"{FF0000}-OperServ-{FFFFFF} Voce parou de  espiar o player {FF0000}%s{FFFFFF}({FF0000}ID:%d{FFFFFF}).",DName,ID);
  1716.         SendClientMessage(playerid,-1,Don);
  1717.         return true;
  1718. }
  1719. CMD:av(playerid,params[])
  1720. {
  1721.     if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, -1,"[ERRO] Voce nao e admin ou nao tem level suficiente.");
  1722.     new text[128];
  1723.     if(sscanf(params, "s",text)) return SendClientMessage(playerid,-1,"[USE] /av [texto]");
  1724.     GetPlayerName(playerid,Name,sizeof(Name));
  1725.     format(Don,sizeof(Don),"|Admin {FF0000}%s{FFFFFF}({FF0000}ID:%d{FFFFFF})| %s.",Name,playerid, text);
  1726.     SendClientMessageToAll(-1,Don);
  1727.     return true;
  1728. }
  1729. CMD:ao(playerid,params[])
  1730. {
  1731.     if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, -1,"[ERRO] Voce nao e admin ou nao tem level suficiente.");
  1732.     new text[128];
  1733.     if(sscanf(params, "s", text)) return SendClientMessage(playerid,-1,"[USE] /ao [texto]");
  1734.     GetPlayerName(playerid,Name,sizeof(Name));
  1735.     format(Don,sizeof(Don),"~w~%s:~r~%s.",Name,text);
  1736.     GameTextForAll(Don,3000,3);
  1737.     return true;
  1738. }
  1739. //                *****************************************
  1740. //                **       Comando Admins LVL 2          **
  1741. //                *****************************************
  1742. CMD:limparchat(playerid,params[])
  1743. {
  1744.     if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, -1,"[ERRO] Voce nao e admin ou nao tem level suficiente.");
  1745.     for(new b = 0; b <= 300; b++) SendClientMessageToAll(-1, " ");
  1746.     GameTextForPlayer(playerid,"~r~Chat Limpo", 3000 , 3);
  1747.         return true;
  1748. }
  1749. CMD:dardinheiro(playerid,params[])
  1750. {
  1751.     new DName[MAX_PLAYER_NAME], ID, Quantidade;
  1752.     if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, -1,"[ERRO] Voce nao e admin ou nao tem level suficiente.");
  1753.     if(sscanf(params, "uu",ID,Quantidade)) return SendClientMessage(playerid,-1,"[USE] /dardinheiro [id] [Quantidade]");
  1754.         GetPlayerName(ID,DName,sizeof(DName));
  1755.         GetPlayerName(playerid,Name,sizeof(Name));
  1756.         if(!IsPlayerConnected(ID))return SendClientMessage(playerid,-1,"[OFF]");
  1757.         PlayerInfo[ID][pGrana] += Quantidade;
  1758.         format(Don,sizeof(Don),"{FF0000}-OperServ-{FFFFFF} Voce Ganhou %i de Dinheiro, do Admin {FF0000}%s{FFFFFF} ({FF0000}ID:%d{FFFFFF}).",Quantidade,Name,playerid);
  1759.         SendClientMessage(ID,-1,Don);
  1760.         format(Don,sizeof(Don),"{FF0000}-OperServ-{FFFFFF} Voce Deu %i de Dinheiro Para o Player {FF0000}%s{FFFFFF} ({FF0000}ID:%d{FFFFFF}).",Quantidade,DName,ID);
  1761.         SendClientMessage(ID,-1,Don);
  1762.         return true;
  1763. }
  1764. CMD:setardinheiro(playerid,params[])
  1765. {
  1766.     new DName[MAX_PLAYER_NAME], ID, Quantidade;
  1767.     if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, -1,"[ERRO] Voce nao e admin ou nao tem level suficiente.");
  1768.     if(sscanf(params, "uu",ID,Quantidade)) return SendClientMessage(playerid,-1,"[USE] /setardinheiro [id] [Quantidade]");
  1769.         GetPlayerName(ID,DName,sizeof(DName));
  1770.         GetPlayerName(playerid,Name,sizeof(Name));
  1771.         if(!IsPlayerConnected(ID))return SendClientMessage(playerid,-1,"[OFF]");
  1772.         PlayerInfo[ID][pGrana] += Quantidade;
  1773.         format(Don,sizeof(Don),"{FF0000}-OperServ-{FFFFFF} Seu Dinheiro foi setado para %i pelo Admin {FF0000}%s{FFFFFF} ({FF0000}ID:%d{FFFFFF}).",Quantidade,Name,playerid);
  1774.         SendClientMessage(ID,-1,Don);
  1775.         format(Don,sizeof(Don),"{FF0000}-OperServ-{FFFFFF} Voce setou o dinheiro para %i do {FF0000}%s{FFFFFF} ({FF0000}ID:%d{FFFFFF}).",Quantidade,DName,ID);
  1776.         SendClientMessage(ID,-1,Don);
  1777.         return true;
  1778. }
  1779. CMD:darscore(playerid,params[])
  1780. {
  1781.     new DName[MAX_PLAYER_NAME], ID, Quantidade;
  1782.     if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, -1,"[ERRO] Voce nao e admin ou nao tem level suficiente.");
  1783.     if(sscanf(params, "uu",ID,Quantidade)) return SendClientMessage(playerid,-1,"[USE] /darscore [id] [Quantidade]");
  1784.         GetPlayerName(ID,DName,sizeof(DName));
  1785.         GetPlayerName(playerid,Name,sizeof(Name));
  1786.         if(!IsPlayerConnected(ID))return SendClientMessage(playerid,-1,"[OFF]");
  1787.         PlayerInfo[ID][pScore] += Quantidade;
  1788.         format(Don,sizeof(Don),"{FF0000}-OperServ-{FFFFFF} Voce Ganhou %i de Score, do Admin {FF0000}%s{FFFFFF} ({FF0000}ID:%d{FFFFFF}).",Quantidade,Name,playerid);
  1789.         SendClientMessage(ID,-1,Don);
  1790.         format(Don,sizeof(Don),"{FF0000}-OperServ-{FFFFFF} Voce Deu %i de Score Para o Player {FF0000}%s{FFFFFF} ({FF0000}ID:%d{FFFFFF}).",Quantidade,DName,ID);
  1791.         SendClientMessage(ID,-1,Don);
  1792.         return true;
  1793. }
  1794. CMD:setarscore(playerid,params[])
  1795. {
  1796.     new DName[MAX_PLAYER_NAME], ID, Quantidade;
  1797.     if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, -1,"[ERRO] Voce nao e admin ou nao tem level suficiente.");
  1798.     if(sscanf(params, "uu",ID,Quantidade)) return SendClientMessage(playerid,-1,"[USE] /setardinheiro [id] [Quantidade]");
  1799.         GetPlayerName(ID,DName,sizeof(DName));
  1800.         GetPlayerName(playerid,Name,sizeof(Name));
  1801.         if(!IsPlayerConnected(ID))return SendClientMessage(playerid,-1,"[OFF]");
  1802.         PlayerInfo[ID][pScore] += Quantidade;
  1803.         format(Don,sizeof(Don),"{FF0000}-OperServ-{FFFFFF} Seu Score foi setado para %i pelo Admin {FF0000}%s{FFFFFF} ({FF0000}ID:%d{FFFFFF}).",Quantidade,Name,playerid);
  1804.         SendClientMessage(ID,-1,Don);
  1805.         format(Don,sizeof(Don),"{FF0000}-OperServ-{FFFFFF} Voce setou o score para %i do {FF0000}%s{FFFFFF} ({FF0000}ID:%d{FFFFFF}).",Quantidade,DName,ID);
  1806.         SendClientMessage(ID,-1,Don);
  1807.         return true;
  1808. }
  1809. CMD:rc(playerid,params[])
  1810. {
  1811.     if(PlayerInfo[playerid][pAdmin] < 2) return SendClientMessage(playerid, -1,"[ERRO] Voce nao e admin ou nao tem level suficiente.");
  1812.         GetPlayerName(playerid,Name,sizeof(Name));
  1813.         format(Don,sizeof(Don),"{FF0000}-OperServ-{FFFFFF} O Admin {FF0000}%s{FFFFFF} ({FF0000}ID:%d{FFFFFF}) deu respawn em todos os carros.",Name,playerid);
  1814.         SendClientMessageToAll(-1,Don);
  1815.     for(new i=0; i<MAX_VEHICLES; i++)
  1816.     {
  1817.          #define VehicleOccupied(i)
  1818.          {
  1819.              SetVehicleToRespawn(i);
  1820.          }
  1821.     }
  1822.     return true;
  1823. }
  1824. CMD:vidatodos(playerid,params[])
  1825. {
  1826.     if(PlayerInfo[playerid][pAdmin] < 2) return SendClientMessage(playerid, -1,"[ERRO] Voce nao e admin ou nao tem level suficiente.");
  1827.         GetPlayerName(playerid,Name,sizeof(Name));
  1828.         format(Don,sizeof(Don),"{FF0000}-OperServ-{FFFFFF} O Admin {FF0000}%s{FFFFFF} ({FF0000}ID:%d{FFFFFF}) deu vida a todos online.",Name,playerid);
  1829.         SendClientMessageToAll(-1,Don);
  1830.     for(new i=0; i<MAX_PLAYERS; i++)
  1831.     {
  1832.         SetPlayerHealth(i, 100);
  1833.         }
  1834.         return true;
  1835. }
  1836. CMD:coletetodos(playerid,params[])
  1837. {
  1838.     if(PlayerInfo[playerid][pAdmin] < 2) return SendClientMessage(playerid, -1,"[ERRO] Voce nao e admin ou nao tem level suficiente.");
  1839.         GetPlayerName(playerid,Name,sizeof(Name));
  1840.         format(Don,sizeof(Don),"{FF0000}-OperServ-{FFFFFF} O Admin {FF0000}%s{FFFFFF} ({FF0000}ID:%d{FFFFFF}) deu colete a todos online.",Name,playerid);
  1841.         SendClientMessageToAll(-1,Don);
  1842.     for(new i=0; i<MAX_PLAYERS; i++)
  1843.     {
  1844.         SetPlayerArmour(i, 100);
  1845.         }
  1846.         return true;
  1847. }
  1848. //                *****************************************
  1849. //                **       Comando Admins LVL 3          **
  1850. //                *****************************************
  1851. CMD:daradmin(playerid, params[])
  1852. {
  1853.     if(strcmp(Name,"Don_Speed",true)==0 || strcmp(Name,"mau_tito",true)==0)
  1854.     {
  1855.          new ID,DName[MAX_PLAYER_NAME];
  1856.          GetPlayerName(ID,DName,sizeof(DName));
  1857.          static Level = 0;
  1858.          if(sscanf(params, "ud", ID, Level)) return SendClientMessage(playerid, -1,"[ERRO]: Correto: /daradmin [ID] [Nivel].");
  1859.          if(0>(Level)<3) return SendClientMessage(playerid, -1,"[ERRO]:Bote Nivel Maior que 1 e menor que 3!.");
  1860.          if(PlayerInfo[ID][pAdmin] == Level) return SendClientMessage(playerid, -1,"[ERRO]: Este player já tem este nível.");
  1861.          PlayerInfo[ID][pAdmin] = Level;
  1862.          format(Don,sizeof(Don),"{FF0000}-OperServ-{FFFFFF} Voce Foi Setado a Admin Level %d Pelo Admin %s .", Level, playerid);
  1863.          SendClientMessage(ID, -1, Don);
  1864.          format(Don,sizeof(Don),"{FF0000}-OperServ-{FFFFFF} Voce setou {FF0000}%s{FFFFFF} ({FF0000}ID:%d{FFFFFF}) a admin level %d .", DName, ID, Level);
  1865.          SendClientMessage(playerid, -1, Don);
  1866.         }else SendClientMessage(playerid,-1,"[ERRO] Voce nao tem acesso a esse comando");
  1867.     return true;
  1868. }
  1869. CMD:bloquearmp(playerid)
  1870. {
  1871.     if(PlayerInfo[playerid][pAdmin] < 3) return SendClientMessage(playerid, -1,"[ERRO] Voce nao e admin ou nao tem level suficiente.");
  1872.         if(mpermitido[playerid] == false)return SendClientMessage(playerid,-1,"[ERRO] Ja esta com mp bloqueado");
  1873.         mpermitido[playerid] = false;
  1874.         SendClientMessage(playerid,-1,"[SUCESSO] Voce bloqueou sua mp [ /desbloquearmp ]");
  1875.         return true;
  1876. }
  1877. CMD:desbloquearmp(playerid)
  1878. {
  1879.     if(PlayerInfo[playerid][pAdmin] < 3) return SendClientMessage(playerid, -1,"[ERRO] Voce nao e admin ou nao tem level suficiente.");
  1880.         if(mpermitido[playerid] == true)return SendClientMessage(playerid,-1,"[ERRO] Ja esta com mp desbloqueado");
  1881.         mpermitido[playerid] = true;
  1882.         SendClientMessage(playerid,-1,"[SUCESSO] Voce desbloqueou sua mp [ /bloquearmp ]");
  1883.         return true;
  1884. }
  1885. CMD:gmx(playerid)
  1886. {
  1887.    if(PlayerInfo[playerid][pAdmin] < 3) return SendClientMessage(playerid, -1,"[ERRO] Voce nao e admin ou nao tem level suficiente.");
  1888.    GameTextForAll("~r~Reiniciando Servidor", 5000,3);
  1889.    SendRconCommand("gmx");
  1890.    return true;
  1891. }
  1892. CMD:deletarjetpack(playerid)
  1893. {
  1894.    if(PlayerInfo[playerid][pAdmin] < 3) return SendClientMessage(playerid, -1,"[ERRO] Voce nao e admin ou nao tem level suficiente.");
  1895.    GetPlayerName(playerid,Name,sizeof(Name));
  1896.    format(Don,sizeof(Don),"{FF0000}-OperServ-{FFFFFF} Todos jetpack deletados por {FF0000}%s{FFFFFF} ({FF0000}ID:%d{FFFFFF}).",Name,playerid);
  1897.    SendClientMessageToAll(-1,Don);
  1898.    for(new i=0; i<MAX_PLAYERS; i++)
  1899.    {
  1900.           if(IsPlayerConnected(i))
  1901.           {
  1902.            SetPlayerSpecialAction(i,SPECIAL_ACTION_NONE);
  1903.           }
  1904.    }
  1905.    return true;
  1906. }
  1907. CMD:skick(playerid,params[])
  1908. {
  1909.     if(PlayerInfo[playerid][pAdmin] < 3) return SendClientMessage(playerid, -1,"[ERRO] Voce nao e admin ou nao tem level suficiente.");
  1910.     new ID;
  1911.         if(sscanf(params, "d", ID)) return SendClientMessage(playerid,-1,"[USE] /kickar [id]");
  1912.     if(!IsPlayerConnected(ID))return SendClientMessage(playerid,-1,"[OFF]");
  1913.         Kick(ID);
  1914.         return true;
  1915. }
  1916. //                *****************************************
  1917. //                **       Comando Players               **
  1918. //                *****************************************
  1919. CMD:admins(playerid,params[])
  1920. {
  1921.    new speed[200];
  1922.    for(new i=0; i<MAX_PLAYERS; i++)
  1923.    {
  1924.       GetPlayerName(i, Name, sizeof(Name));
  1925.           if(PlayerInfo[i][pAdmin] == 1)
  1926.           {
  1927.          format(Don,sizeof(Don),"{FF0000}%s{FFFFFF} ({FF0000}ID:%d{FFFFFF}) Nivel 1\n", Name,i);
  1928.          strcat(speed, Don);
  1929.           }
  1930.           if(PlayerInfo[i][pAdmin] == 2)
  1931.           {
  1932.          format(Don,sizeof(Don),"{FF0000}%s{FFFFFF} ({FF0000}ID:%d{FFFFFF}) Nivel 2\n", Name,i);
  1933.          strcat(speed, Don);
  1934.           }
  1935.           if(PlayerInfo[i][pAdmin] >= 3)
  1936.           {
  1937.          format(Don,sizeof(Don),"{FF0000}%s{FFFFFF} ({FF0000}ID:%d{FFFFFF}) Nivel 3\n", Name,i);
  1938.          strcat(speed, Don);
  1939.           }
  1940.    }
  1941.    ShowPlayerDialog(playerid, Admins, DIALOG_STYLE_MSGBOX, "Administradores Online", speed, "Ok","");
  1942.    return true;
  1943. }
  1944. CMD:mp(playerid,params[])
  1945. {
  1946.     new DName[MAX_PLAYER_NAME], ID;
  1947.     if(sscanf(params, "ud", ID,params[100])) return SendClientMessage(playerid,-1,"[USE] /mp [id][texto]");
  1948.     if(!IsPlayerConnected(ID))return SendClientMessage(playerid,-1,"[OFF]");
  1949.         GetPlayerName(ID,DName,sizeof(DName));
  1950.         GetPlayerName(playerid,Name,sizeof(Name));
  1951.         if(mpermitido[ID] == false)return SendClientMessage(playerid,-1,"[ERRO]Admin bloqueou sua mp");
  1952.         format(Don,sizeof(Don),"[MP]Para %s(ID:%s) : %s.",DName,ID,params);
  1953.         SendClientMessage(playerid,-1,Don);
  1954.         format(Don,sizeof(Don),"[MP]Recebido de {FF0000}%s{FFFFFF} ({FF0000}ID:%d{FFFFFF}) : %s.",Name,playerid,params);
  1955.         SendClientMessage(ID,-1,Don);
  1956.         GameTextForPlayer(playerid,"~r~Mp enviada com sucesso",3000,3);
  1957.         GameTextForPlayer(playerid,"~r~Mp recebida",3000,3);
  1958.         return true;
  1959. }
  1960. CMD:report(playerid,params[])
  1961. {
  1962.     new DName[MAX_PLAYER_NAME], ID, text[128];
  1963.     if(sscanf(params, "ds", ID,text))
  1964.         return SendClientMessage(playerid,-1,"[USE] /report [id][motivo]");
  1965.     if(!IsPlayerConnected(ID))
  1966.         return SendClientMessage(playerid,-1,"[OFF]");
  1967.     GetPlayerName(ID,DName,sizeof(DName));
  1968.     GetPlayerName(playerid,Name,sizeof(Name));
  1969.     format(Don,sizeof(Don),"[REPORT] {FF0000}%s{FFFFFF}({FF0000}ID:%d{FFFFFF}) denunciou {FF0000}%s{FFFFFF}({FF0000}ID:%d{FFFFFF})[motivo:{FF0000} %s{FFFFFF}]",Name,playerid,DName,ID,text);
  1970.     for(new i, p = GetMaxPlayers(); i < p; i++)
  1971.         if(PlayerInfo[i][pAdmin])
  1972.             SendClientMessage(i, -1, Don);
  1973.     return true;
  1974. }
  1975. CMD:virar(playerid)
  1976. {
  1977.         if(IsPlayerInAnyVehicle(playerid))
  1978.         {
  1979.                 new Float:x = 0.0, Float:y = 0.0, Float:z = 0.0;
  1980.                 if(IsPlayerInAnyVehicle(playerid))
  1981.                         SetCameraBehindPlayer(playerid);
  1982.                 GetPlayerPos(playerid, x, y, z);
  1983.                 SetVehiclePos(GetPlayerVehicleID(playerid), x, y, z);
  1984.                 SetVehicleZAngle(GetPlayerVehicleID(playerid), 0.0);
  1985.                
  1986.                 GetPlayerName(playerid,Name,sizeof(Name));
  1987.         format(Don,sizeof(Don),"{FF0000}-OperServ-{FFFFFF} O player {FF0000}%s{FFFFFF} ({FF0000}ID:%d{FFFFFF}) virou seu carro ( {FF0000}/virar{FFFFFF} ).",Name,playerid);
  1988.         SendClientMessageToAll(-1,Don);
  1989.         }
  1990.         return true;
  1991. }
  1992. CMD:kill(playerid)
  1993. {
  1994.     GetPlayerName(playerid,Name,sizeof(Name));
  1995.     format(Don,sizeof(Don),"{FF0000}-OperServ-{FFFFFF} O player {FF0000}%s{FFFFFF} ({FF0000}ID:%d{FFFFFF}) pediu pra morrer ( {FF0000}/kill{FFFFFF} ).",Name,playerid);
  1996.     SendClientMessageToAll(-1,Don);
  1997.     SetPlayerHealth(playerid, 0);
  1998.         return true;
  1999. }
  2000. CMD:jetpack(playerid)
  2001. {
  2002.     GetPlayerName(playerid,Name,sizeof(Name));
  2003.     format(Don,sizeof(Don),"{FF0000}-OperServ-{FFFFFF} O player {FF0000}%s{FFFFFF} ({FF0000}ID:%d{FFFFFF}) criou um jetpack ( {FF0000}/jetpack{FFFFFF} ).",Name,playerid);
  2004.     SendClientMessageToAll(-1,Don);
  2005.     SetPlayerSpecialAction(playerid, SPECIAL_ACTION_USEJETPACK);
  2006.     return true;
  2007. }
  2008. CMD:veh(playerid,params[])
  2009. {
  2010.     GetPlayerName(playerid,Name,sizeof(Name));
  2011.     format(Don,sizeof(Don),"{FF0000}-OperServ-{FFFFFF} O player {FF0000}%s{FFFFFF} ({FF0000}ID:%d{FFFFFF}) vai criar seu carro ( {FF0000}/veh{FFFFFF} ).",Name,playerid);
  2012.     SendClientMessageToAll(-1,Don);
  2013.     ShowPlayerDialog(playerid,DIALOG_CARS,DIALOG_STYLE_INPUT,"Carros","Digite id do seu carro abaixo:","Criar Carro","Sair");
  2014.     return true;
  2015. }
  2016. CMD:contato(playerid,params[])
  2017. {
  2018.         new speed[300];
  2019.     format(Don,sizeof(Don),"Loucos por Drift - Oficial\nCriador do GM: Don_Speed\nContato via msn: {FF0000}maurilio_don@hotmail.com\n\n");
  2020.     strcat(speed, Don);
  2021.     ShowPlayerDialog(playerid, DialogContato, DIALOG_STYLE_MSGBOX, "Contato", speed, "Ok","");
  2022.         return true;
  2023. }
  2024. CMD:ajuda(playerid,params[])
  2025. {
  2026.         new speed[700];
  2027.     format(Don,sizeof(Don),"============================[ {FF0000}Comandos{FFFFFF} ]============================\n");
  2028.     strcat(speed, Don);
  2029.     format(Don,sizeof(Don),"{FF0000}Players {FFFFFF}: /admins /report /kill /mp /jetpack /kill \n");
  2030.     strcat(speed, Don);
  2031.     format(Don,sizeof(Don),"{FF0000}Players {FFFFFF}: /veh  \n");
  2032.     strcat(speed, Don);
  2033.     format(Don,sizeof(Don),"{FF0000}Carros {FFFFFF}: /virar \n");
  2034.     strcat(speed, Don);
  2035.     format(Don,sizeof(Don),"=====================================================================\n");
  2036.     strcat(speed, Don);
  2037.     ShowPlayerDialog(playerid, AjudaPlayers, DIALOG_STYLE_MSGBOX, "Ajuda Players", speed, "Ok","");
  2038.         return true;
  2039. }
  2040. //==============================================================================
  2041. //=====================[ Teleportes ]===========================================
  2042. //==============================================================================
  2043. CMD:drift1(playerid)
  2044. {
  2045.     new VehicleID;
  2046.     GetPlayerName(playerid,Name,sizeof(Name));
  2047.     format(Don,sizeof(Don),"{FF0000}-OperServ-{FFFFFF} O player {FF0000}%s{FFFFFF} ({FF0000}ID:%d{FFFFFF}) foi para drift 1 ( {FF0000}/drift1{FFFFFF} ).",Name,playerid);
  2048.     SendClientMessageToAll(-1,Don);
  2049.     SetPlayerPos(playerid, -314.29,1533.80,75.40);
  2050.     VehicleID = GetPlayerVehicleID(playerid);
  2051.     SetVehiclePos(VehicleID,-314.29,1533.80,75.40);
  2052.     PutPlayerInVehicle(playerid, VehicleID, 0);
  2053.     return true;
  2054. }
  2055. CMD:drift2(playerid)
  2056. {
  2057.     new VehicleID;
  2058.     GetPlayerName(playerid,Name,sizeof(Name));
  2059.     format(Don,sizeof(Don),"{FF0000}-OperServ-{FFFFFF} O player {FF0000}%s{FFFFFF} ({FF0000}ID:%d{FFFFFF}) foi para drift 2 ( {FF0000}/drift2{FFFFFF} ).",Name,playerid);
  2060.     SendClientMessageToAll(-1,Don);
  2061.     SetPlayerPos(playerid,2326.9189,1388.0199,42.8203);
  2062.     SetPlayerInterior(playerid,0);
  2063.     VehicleID = GetPlayerVehicleID(playerid);
  2064.     SetVehiclePos(VehicleID,2326.9189,1388.0199,42.8203);
  2065.     PutPlayerInVehicle(playerid, VehicleID, 0);
  2066.     return true;
  2067. }
  2068. CMD:drift3(playerid)
  2069. {
  2070.     new VehicleID;
  2071.     GetPlayerName(playerid,Name,sizeof(Name));
  2072.     format(Don,sizeof(Don),"{FF0000}-OperServ-{FFFFFF} O player {FF0000}%s{FFFFFF} ({FF0000}ID:%d{FFFFFF}) foi para drift 3 ( {FF0000}/drift3{FFFFFF} ).",Name,playerid);
  2073.     SendClientMessageToAll(-1,Don);
  2074.     SetPlayerPos(playerid,1440.80,-1878.80,13.5);
  2075.     SetPlayerInterior(playerid,0);
  2076.     VehicleID = GetPlayerVehicleID(playerid);
  2077.     SetVehiclePos(VehicleID,1440.80,-1878.80,13.5);
  2078.     PutPlayerInVehicle(playerid, VehicleID, 0);
  2079.     return true;
  2080. }
  2081. CMD:drift4(playerid)
  2082. {
  2083.     new VehicleID;
  2084.     GetPlayerName(playerid,Name,sizeof(Name));
  2085.     format(Don,sizeof(Don),"{FF0000}-OperServ-{FFFFFF} O player {FF0000}%s{FFFFFF} ({FF0000}ID:%d{FFFFFF}) foi para drift 4 ( {FF0000}/drift4{FFFFFF} ).",Name,playerid);
  2086.     SendClientMessageToAll(-1,Don);
  2087.     SetPlayerPos(playerid,-916.59,-1374.5,124.5);
  2088.     SetPlayerInterior(playerid,0);
  2089.     VehicleID = GetPlayerVehicleID(playerid);
  2090.     SetVehiclePos(VehicleID,-916.59,-1374.5,124.5);
  2091.     PutPlayerInVehicle(playerid, VehicleID, 0);
  2092.     return true;
  2093. }
  2094. CMD:drift5(playerid)
  2095. {
  2096.     new VehicleID;
  2097.     GetPlayerName(playerid,Name,sizeof(Name));
  2098.     format(Don,sizeof(Don),"{FF0000}-OperServ-{FFFFFF} O player {FF0000}%s{FFFFFF} ({FF0000}ID:%d{FFFFFF}) foi para drift 5 ( {FF0000}/drift5{FFFFFF} ).",Name,playerid);
  2099.     SendClientMessageToAll(-1,Don);
  2100.     SetPlayerPos(playerid,-2535.10,-615.59,132.60);
  2101.     SetPlayerInterior(playerid,0);
  2102.     VehicleID = GetPlayerVehicleID(playerid);
  2103.     SetVehiclePos(VehicleID,-2535.10,-615.59,132.60);
  2104.     PutPlayerInVehicle(playerid, VehicleID, 0);
  2105.     return true;
  2106. }
  2107. CMD:drift6(playerid)
  2108. {
  2109.     new VehicleID;
  2110.     GetPlayerName(playerid,Name,sizeof(Name));
  2111.     format(Don,sizeof(Don),"{FF0000}-OperServ-{FFFFFF} O player {FF0000}%s{FFFFFF} ({FF0000}ID:%d{FFFFFF}) foi para drift 6 ( {FF0000}/drift6{FFFFFF} ).",Name,playerid);
  2112.     SendClientMessageToAll(-1,Don);
  2113.     SetPlayerPos(playerid,-930.09,-234.30,38.79);
  2114.     SetPlayerInterior(playerid,0);
  2115.     VehicleID = GetPlayerVehicleID(playerid);
  2116.     SetVehiclePos(VehicleID,-930.09,-234.30,38.79);
  2117.     PutPlayerInVehicle(playerid, VehicleID, 0);
  2118.     return true;
  2119. }
  2120. CMD:drift7(playerid)
  2121. {
  2122.     new VehicleID;
  2123.     GetPlayerName(playerid,Name,sizeof(Name));
  2124.     format(Don,sizeof(Don),"{FF0000}-OperServ-{FFFFFF} O player {FF0000}%s{FFFFFF} ({FF0000}ID:%d{FFFFFF}) foi para drift 7 ( {FF0000}/drift7{FFFFFF} ).",Name,playerid);
  2125.     SendClientMessageToAll(-1,Don);
  2126.     SetPlayerPos(playerid,-1164.40,2692.80,45.90);
  2127.     SetPlayerInterior(playerid,0);
  2128.     VehicleID = GetPlayerVehicleID(playerid);
  2129.     SetVehiclePos(VehicleID,-1164.40,2692.80,45.90);
  2130.     PutPlayerInVehicle(playerid, VehicleID, 0);
  2131.     return true;
  2132. }
  2133. CMD:teles(playerid,params[])
  2134. {
  2135.         format(Don,sizeof(Don),"Drift 1\nDrift 2\nDrift 3\nDrift 4\nDrift 5\nDrift 6\nDrift 7");
  2136.     ShowPlayerDialog(playerid, DialogTeles, DIALOG_STYLE_LIST, "Teleportes", Don, "Selecionar", "Cancelar");
  2137.     return true;
  2138.  }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top