Advertisement
Guest User

Untitled

a guest
Sep 22nd, 2010
529
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 70.72 KB | None | 0 0
  1. /* NNF 4Fun by Merini e Sindacco |Início: 17/04/10 14:10:20
  2.  
  3. Nao Retire Os Creditos Pois Quem Tirar E Sempre Un Noob ¬¬
  4.  
  5. visite: www.nnfclan.com
  6.  
  7. ////////////////////Versões e Changelog
  8. Beta 0.1.1 - Merini e Sindacco - 17/04/10 - Base, Carros, Teleports e Menus.
  9. Beta 0.1.2 - Merini - 18/04/10 - Pickups, Novos Teleportes, Remoção de Carros no Spawn.
  10. Beta 0.1.4 - Sindacco - 18/04/10 - Dialog nos /creditos e /ajuda, conserto de bugs e add o teleporte pra o aero de ls.
  11. Beta 0.1.5 - Merini - 18/04/10 - Teleportes e carros novos: stunt1, stunt2, stunt3. stunt4, stunt5, dragsf, draglv, dragls.
  12. Beta 0.1.6 - Merini - 18/04/10 - Teleportes e carros novos: stunt6, stunt7, driftlv, driftsf, /tune, /javolto e /voltei.
  13. Beta 0.1.7 - Merini - 19/04/10 - /Tune arrumado, /vr adicionado.
  14. Beta 0.1.8 - Merini - 22/04/10 - Carros adicionados no Aeroabandonado.
  15. Beta 0.1.9 - Merini - 23/04/10 - Objetos adicionados ao Spawn, /ajuda corrigido e /xcmds adicionados, abreviação do /teleportes (agora: /teles).
  16. Beta 0.2.0 - Merini - 23/04/10 - /Cons adicionado, Área de Stunts e Carros adicionados no aeroporto de LS, /nrg e /infernus adicionados, auto carregamento e descarregamento do NNF Admin Script.
  17. Beta 0.2.1 - Merini - 30/04/10 - Auto carregamento e descarregamento do NNFAdmin SCript retirado por Bugs.
  18. ///////////////////////////////////////
  19.  
  20. */
  21. #include <a_samp>
  22.  
  23. #pragma tabsize 0
  24.  
  25. #define AzulClaro 0x33CCFFAA
  26. #define Azul 0x0000BBAA
  27. #define Laranja 0xFF9900AA
  28. #define Cinza 0xAFAFAFAA
  29. #define Verde 0x33AA33AA
  30. #define Vermelho 0xAA3333AA
  31. #define Amarelo 0xFFFF00AA
  32. #define Branco 0xFFFFFFAA
  33. #define Texto 0xBDBDBDAA
  34. #define Texto2 0xDEDEDEAA
  35. #define Titulo 0x96D742AA
  36.  
  37. #define PocketMoney 5000 // Quanto o player recebe de $ no spawn
  38. #define INACTIVE_PLAYER_ID 544
  39.  
  40. forward SetPlayerRandomSpawn(playerid);
  41. forward SetupPlayerForClassSelection(playerid);
  42. forward GameModeExitFunc();
  43. forward SendPlayerFormattedText(playerid, const str[], define);
  44. forward public SendAllFormattedText(playerid, const str[], define);
  45. new strdialog[3100];
  46.  
  47. IsPlayerInPlane(playerid) //para o Player não tunar Aviões
  48. {
  49. if(IsPlayerInAnyVehicle(playerid)){
  50. new vehicleid = GetPlayerVehicleID(playerid);
  51. new vehicleclass = GetVehicleModel(vehicleid);
  52. switch(vehicleclass)
  53. {
  54. case 460:return 1;
  55. case 464:return 1;
  56. case 476:return 1;
  57. case 511:return 1;
  58. case 512:return 1;
  59. case 513:return 1;
  60. case 519:return 1;
  61. case 520:return 1;
  62. case 539:return 1;
  63. case 553:return 1;
  64. case 577:return 1;
  65. case 592:return 1;
  66. case 593:return 1;
  67. }
  68. }
  69. return 0;
  70. }
  71.  
  72. /*--------------------------------------------------------------------------- */
  73. IsPlayerInHelicopter(playerid) //Para o player não tunar Helicopteros
  74. {
  75. if(IsPlayerInAnyVehicle(playerid)){
  76. new vehicleid = GetPlayerVehicleID(playerid);
  77. new vehicleclass = GetVehicleModel(vehicleid);
  78. switch(vehicleclass)
  79. {
  80. case 417:return 1;
  81. case 425:return 1;
  82. case 447:return 1;
  83. case 465:return 1;
  84. case 469:return 1;
  85. case 487:return 1;
  86. case 488:return 1;
  87. case 497:return 1;
  88. case 501:return 1;
  89. case 548:return 1;
  90. case 563:return 1;
  91. }
  92. }
  93. return 0;
  94. }
  95.  
  96. /*--------------------------------------------------------------------------- */
  97. IsPlayerInMoto(playerid) //Para o player não tunar Motos
  98. {
  99. if(IsPlayerInAnyVehicle(playerid)){
  100. new vehicleid = GetPlayerVehicleID(playerid);
  101. new vehicleclass = GetVehicleModel(vehicleid);
  102. switch(vehicleclass)
  103. {
  104. case 523:return 1;
  105. case 481:return 1;
  106. case 509:return 1;
  107. case 510:return 1;
  108. case 581:return 1;
  109. case 462:return 1;
  110. case 521:return 1;
  111. case 463:return 1;
  112. case 522:return 1;
  113. case 461:return 1;
  114. case 448:return 1;
  115. case 468:return 1;
  116. case 586:return 1;
  117. }
  118. }
  119. return 0;
  120. }
  121.  
  122. new iSpawnSet[MAX_PLAYERS];
  123. //Pickups Spawn
  124. new PickupTeleportes;
  125. new PickupAjuda;
  126. new PickupCreditos;
  127. new VehicleNames[212][] = {
  128. {"Landstalker"},{"Bravura"},{"Buffalo"},{"Linerunner"},{"Perrenial"},{"Sentinel"},{"Dumper"},
  129. {"Firetruck"},{"Trashmaster"},{"Stretch"},{"Manana"},{"Infernus"},{"Voodoo"},{"Pony"},{"Mule"},
  130. {"Cheetah"},{"Ambulance"},{"Leviathan"},{"Moonbeam"},{"Esperanto"},{"Taxi"},{"Washington"},
  131. {"Bobcat"},{"Mr Whoopee"},{"BF Injection"},{"Hunter"},{"Premier"},{"Enforcer"},{"Securicar"},
  132. {"Banshee"},{"Predator"},{"Bus"},{"Rhino"},{"Barracks"},{"Hotknife"},{"Trailer 1"},{"Previon"},
  133. {"Coach"},{"Cabbie"},{"Stallion"},{"Rumpo"},{"RC Bandit"},{"Romero"},{"Packer"},{"Monster"},
  134. {"Admiral"},{"Squalo"},{"Seasparrow"},{"Pizzaboy"},{"Tram"},{"Trailer 2"},{"Turismo"},
  135. {"Speeder"},{"Reefer"},{"Tropic"},{"Flatbed"},{"Yankee"},{"Caddy"},{"Solair"},{"Berkley's RC Van"},
  136. {"Skimmer"},{"PCJ-600"},{"Faggio"},{"Freeway"},{"RC Baron"},{"RC Raider"},{"Glendale"},{"Oceanic"},
  137. {"Sanchez"},{"Sparrow"},{"Patriot"},{"Quad"},{"Coastguard"},{"Dinghy"},{"Hermes"},{"Sabre"},
  138. {"Rustler"},{"ZR-350"},{"Walton"},{"Regina"},{"Comet"},{"BMX"},{"Burrito"},{"Camper"},{"Marquis"},
  139. {"Baggage"},{"Dozer"},{"Maverick"},{"News Chopper"},{"Rancher"},{"FBI Rancher"},{"Virgo"},{"Greenwood"},
  140. {"Jetmax"},{"Hotring"},{"Sandking"},{"Blista Compact"},{"Police Maverick"},{"Boxville"},{"Benson"},
  141. {"Mesa"},{"RC Goblin"},{"Hotring Racer A"},{"Hotring Racer B"},{"Bloodring Banger"},{"Rancher"},
  142. {"Super GT"},{"Elegant"},{"Journey"},{"Bike"},{"Mountain Bike"},{"Beagle"},{"Cropdust"},{"Stunt"},
  143. {"Tanker"}, {"Roadtrain"},{"Nebula"},{"Majestic"},{"Buccaneer"},{"Shamal"},{"Hydra"},{"FCR-900"},
  144. {"NRG-500"},{"HPV1000"},{"Cement Truck"},{"Tow Truck"},{"Fortune"},{"Cadrona"},{"FBI Truck"},
  145. {"Willard"},{"Forklift"},{"Tractor"},{"Combine"},{"Feltzer"},{"Remington"},{"Slamvan"},
  146. {"Blade"},{"Freight"},{"Streak"},{"Vortex"},{"Vincent"},{"Bullet"},{"Clover"},{"Sadler"},
  147. {"Firetruck LA"},{"Hustler"},{"Intruder"},{"Primo"},{"Cargobob"},{"Tampa"},{"Sunrise"},{"Merit"},
  148. {"Utility"},{"Nevada"},{"Yosemite"},{"Windsor"},{"Monster A"},{"Monster B"},{"Uranus"},{"Jester"},
  149. {"Sultan"},{"Stratum"},{"Elegy"},{"Raindance"},{"RC Tiger"},{"Flash"},{"Tahoma"},{"Savanna"},
  150. {"Bandito"},{"Freight Flat"},{"Streak Carriage"},{"Kart"},{"Mower"},{"Duneride"},{"Sweeper"},
  151. {"Broadway"},{"Tornado"},{"AT-400"},{"DFT-30"},{"Huntley"},{"Stafford"},{"BF-400"},{"Newsvan"},
  152. {"Tug"},{"Trailer 3"},{"Emperor"},{"Wayfarer"},{"Euros"},{"Hotdog"},{"Club"},{"Freight Carriage"},
  153. {"Trailer 3"},{"Andromada"},{"Dodo"},{"RC Cam"},{"Launch"},{"Police Car (LSPD)"},{"Police Car (SFPD)"},
  154. {"Police Car (LVPD)"},{"Police Ranger"},{"Picador"},{"S.W.A.T. Van"},{"Alpha"},{"Phoenix"},{"Glendale"},
  155. {"Sadler"},{"Luggage Trailer A"},{"Luggage Trailer B"},{"Stair Trailer"},{"Boxville"},{"Farm Plow"},
  156. {"Utility Trailer"}
  157. };
  158.  
  159. new NicksProibidos[][MAX_PLAYER_NAME]  =
  160. {
  161. "com1","com2","com3","com4","com5","com6","com7","com8","com9","lpt1","lpt2","lpt3","lpt4","lpt5","lpt6","lpt7","lpt8","lpt9",
  162. "Carl","Rocky","Sony","clock$","prn","nul","con",
  163. "Azucar","CON","con","con1","aux","aux1","prn","PRN","AUX"
  164. };
  165.  
  166. new Float:gRandomPlayerSpawns[1][3] = {
  167. {389.0467,-2069.7053,7.8359} //Spawn no Deck de LS
  168. };
  169.  
  170. //posição ausente do NNF Tuning 2.6
  171. new Float:gRandomAusentePos[3][3] = {
  172. {-218.0189,1408.7489,27.7734},
  173. {-219.8288,1409.1951,27.7734},
  174. {-218.6217,1410.6240,27.7734}
  175. };
  176. new Float:gRandomx1tenso[2][3] = {
  177. {-1519.9575,676.4520,139.2734},
  178. {-1543.0043,698.1716,139.2734}
  179. };
  180. new gActivePlayers[MAX_PLAYERS];
  181. new gLastGaveCash[MAX_PLAYERS];
  182. new VehicleModel[MAX_PLAYERS];
  183.  
  184.  
  185. main()
  186. {
  187.         print("|----------------------|");
  188.         print("|     NNF4Fun Beta     |");
  189.         print("| By Merini & Sindacco |");
  190.         print("|  Thanks to NNF Clan  |");
  191.         print("|        Loaded        |");
  192.         print("|----------------------|");
  193. }
  194.  
  195. public OnPlayerRequestSpawn(playerid)
  196. {
  197.     return 1;
  198. }
  199.  
  200. public OnPlayerPickUpPickup(playerid, pickupid)
  201. {
  202.     if(pickupid == PickupTeleportes) {
  203.         format(strdialog, sizeof(strdialog),"\n");
  204.         format(strdialog, sizeof(strdialog),"%s%s",strdialog,"\n\n");
  205.         format(strdialog, sizeof(strdialog),"%s%s",strdialog,"\n");
  206.  
  207.         new listitems[] = "1\tDrift The Big Ear\n2\tDrift San Fierro\n3\tDrift Las Venturas\n4\tAeroporto de Las Venturas\n5\tAvenida de Las Venturas\n6\tAeroporto Abandonado\n7\tÁrea de Hydras\n8\tx1 Walking\n9\tx1 Running\n10\tÁrea de Respawn\n11\tX1 Tenso\n12\tAeroporto de Los Santos - Com Stunts!\n13\tStunt 1\n14\tStunt 2\n15\tStunt 3\n16\tStunt 4\n17\tStunt 5\n18\tStunt 6\n19\tStunt 7\n20\tStunt 8\n21\tDrag SF\n22\tDrag LV\n23\tDrag LS\n24\tOffroad 1\n25\tOffroad 2";
  208.         ShowPlayerDialog(playerid,1,DIALOG_STYLE_LIST,"Escolha onde você quer ir:",listitems,"Ir","Fechar");
  209.         }
  210.     if(pickupid == PickupAjuda) {
  211.         ShowPlayerDialog(playerid,2,DIALOG_STYLE_MSGBOX,"\tAjuda","ATENÇÃO: GAMEMODE EM DESENVOLVIMENTO!\nComandos Disponiveis:\n/Kill\n/Teles - Ver a lista de Teleportes\n/Creditos - Ver os Créditos\n/Javolto - Use quando você ficar Ausente\n/Voltei - Sair do /Javolto\n/Infernus - Cria um Infenus\n/nrg - Cria uma NRG\n/Tun - Tunar seu carro\n/Vr - Virar seu carro\n/Cons - Conserta seu Veículo\n/Xcmds - Ver sua lista de Comandos como Player\n/Adm - Ver sua lista de comandos como Admin","OK","Sair");
  212.     }
  213.     if(pickupid == PickupCreditos) {
  214.         ShowPlayerDialog(playerid,2,DIALOG_STYLE_MSGBOX,"\tCreditos","Nome do Gamemode: NNF 4Fun\nCriadores: [NNF]Merini e [NNF]Sindacco\nAgradecimentos a [NNF]Maicon72\nVersão: 0.2.0 BETA - 23 de Abril de 2010","OK","Sair");
  215.     }
  216.         return 1;
  217. }
  218.  
  219. public OnPlayerConnect(playerid)
  220. {
  221.     SendDeathMessage(255, playerid, 200);
  222.     SendPlayerFormattedText(playerid, "Bem-vindo! Para ajuda, digite: /ajuda", 0);
  223.     SendPlayerFormattedText(playerid, "Visite: www.nnfclan.com", 0);
  224.     gActivePlayers[playerid]++;
  225.     gLastGaveCash[playerid] = GetTickCount();
  226.     for(new i; i<sizeof(NicksProibidos); i++) //nicks proibidos
  227.     {
  228.         new fulano_entrou[40];
  229.         GetPlayerName(playerid,fulano_entrou,40);
  230.         if(strcmp(NicksProibidos[i],fulano_entrou,true)==0)
  231.         {
  232.             new string2[256];
  233.             format(string2, sizeof(string2), "[ADMIN-BOT]: %s foi banido do servidor. (Motivo: Nick Proibido)" ,fulano_entrou);
  234.             SendClientMessageToAll(Vermelho, string2);
  235.             SendClientMessage(playerid,Verde,"ae... porque você não crasha a mãe?");
  236.             Ban(playerid);
  237.         }
  238.     }
  239.     return 1;
  240. }
  241.  
  242.  
  243. public OnPlayerDisconnect(playerid)
  244. {
  245.     SendDeathMessage(255, playerid, 201);
  246.     gActivePlayers[playerid]--;
  247. }
  248.  
  249. public OnPlayerCommandText(playerid, cmdtext[])
  250. {
  251.     new cmd[256];
  252.     new idx;
  253.     new string[128], pName[MAX_PLAYER_NAME];
  254.     GetPlayerName(playerid,pName,MAX_PLAYER_NAME);
  255.     cmd = strtok(cmdtext, idx);
  256.     if(strcmp(cmd, "/ajuda", true) == 0) {
  257.         ShowPlayerDialog(playerid,2,DIALOG_STYLE_MSGBOX,"\tAjuda","NNF Help '-'\nComandos Disponiveis:\n/Kill\n/Teles - Ver a lista de Teleportes\n/Creditos - Ver os Créditos\n/Javolto - Use quando você ficar Ausente\n/Voltei - Sair do /Javolto\n/Infernus - Cria um Infenus\n/nrg - Cria uma NRG\n/Tun - Tunar seu carro\n/Vr - Virar seu carro\n/Cons - Conserta seu Veículo\n/Xcmds - Ver sua lista de Comandos como Player\n/Adm - Ver sua lista de comandos como Admin","OK","Sair");
  258.     return 1;
  259.     }
  260.     if(strcmp(cmd, "/Creditos", true) == 0) {
  261.         ShowPlayerDialog(playerid,2,DIALOG_STYLE_MSGBOX,"\tCreditos","Nome do Gamemode: NNF 4Fun\nCriadores: [NNF]Merini e [NNF]Sindacco\nAgradecimentos a [NNF]Maicon72\nVersão: 0.2.0 BETA - 23 de Abril de 2010","OK","Sair");
  262.     return 1;
  263.     }
  264.     if(strcmp(cmd, "/kill", true) == 0) {
  265.         SetPlayerArmour(playerid, 0);
  266.         SetPlayerHealth(playerid, 0);
  267.         format(string,sizeof string,"%s(%d) Se Suicidou. (/Kill)",pName, playerid);
  268.         SendClientMessageToAll(Branco, string);
  269.     return 1;
  270.     }
  271.     if(strcmp(cmd, "/tun", true) == 0) {
  272.         if(!IsPlayerInPlane(playerid) && !IsPlayerInHelicopter(playerid) && !IsPlayerInMoto(playerid))
  273.                     {
  274.         if(IsPlayerInAnyVehicle(playerid))
  275.                     {
  276.         GetPlayerVehicleID (playerid);
  277.         AddVehicleComponent(GetPlayerVehicleID(playerid),1010);
  278.         AddVehicleComponent(GetPlayerVehicleID(playerid),1085);
  279.         AddVehicleComponent(GetPlayerVehicleID(playerid),1087);
  280.         ChangeVehicleColor(GetPlayerVehicleID(playerid),0,1);
  281.         format(string,sizeof string,"%s(%d) Tunou seu carro! (/Tun)",pName, playerid);
  282.         SendClientMessageToAll(Branco, string);
  283.             }
  284.         else
  285.             {
  286.                 SendClientMessage(playerid, Vermelho, "Erro! Você precisa estar em um veículo!");
  287.  
  288.         }
  289.   }
  290.   else
  291.             {
  292.                 SendClientMessage(playerid, Vermelho, "Erro! Você só pode tunar carros!");
  293.         }
  294.     return 1;
  295.     }
  296.  
  297.     if(strcmp(cmd, "/vr", true) == 0) {
  298.    
  299.     if(!IsPlayerInAnyVehicle(playerid))
  300.     {
  301.         SendClientMessage(playerid, Vermelho, "Você precisa estar em um veículo para virar ele!");
  302.     return 1;
  303.     }
  304.         new idveiculo;
  305.         new Float:X, Float:Y, Float:Z, Float:angulo;
  306.         idveiculo = GetPlayerVehicleID(playerid);
  307.         GetVehicleZAngle(idveiculo, angulo);
  308.         GetPlayerPos(playerid, X, Y, Z);
  309.         SetVehiclePos(idveiculo, X, Y, Z + 3);
  310.         SetVehicleZAngle(idveiculo, angulo + 5);
  311.         SetVehicleZAngle(idveiculo, angulo);
  312.         SendClientMessage(playerid, Vermelho, "Você virou seu veículo!");
  313.         format(string,sizeof string,"%s(%d) Virou seu carro!(/vr)",pName, playerid);
  314.         SendClientMessageToAll(Branco, string);
  315.     return 1;
  316.     }
  317.     if(strcmp("/nrg", cmdtext, true) == 0)
  318.     {
  319.     if(IsPlayerInAnyVehicle(playerid))
  320.     {
  321.     return SendClientMessage(playerid, Vermelho, "Voce ja esta em um veiculo");
  322.     }
  323.     format(string,sizeof string,"%s(%d) Criou uma NRG-500! (/Nrg)",pName, playerid);
  324.     SendClientMessageToAll(Branco, string);
  325.     new Float:pos0 = 0, Float:pos1 = 0, Float:pos2 = 0, Float:pos3 = 0;
  326.     GetPlayerPos(playerid, pos0, pos1, pos2);
  327.     GetPlayerFacingAngle(playerid, pos3);
  328.     CreateVehicle(522, pos0 + 2, pos1 + 1, pos2, pos3, 1, 1, 10000);
  329.     return 1;
  330.     }
  331.         if(strcmp("/infernus", cmdtext, true) == 0)
  332.     {
  333.     if(IsPlayerInAnyVehicle(playerid))
  334.     {
  335.     return SendClientMessage(playerid, Vermelho, "Voce ja esta em um veiculo");
  336.     }
  337.     format(string,sizeof string,"%s(%d) Criou um Infernus! (/Infernus)",pName, playerid);
  338.     SendClientMessageToAll(Branco, string);
  339.     new Float:pos0 = 0, Float:pos1 = 0, Float:pos2 = 0, Float:pos3 = 0;
  340.     GetPlayerPos(playerid, pos0, pos1, pos2);
  341.     GetPlayerFacingAngle(playerid, pos3);
  342.     CreateVehicle(411, pos0 + 1, pos1 + 1, pos2, pos3, 1, 1, 10000);
  343.     return 1;
  344.     }
  345.  
  346.         if(strcmp(cmd, "/javolto", true) == 0) {
  347.         new rand = random(sizeof(gRandomAusentePos));
  348.         TogglePlayerControllable(playerid, 0);
  349.         SendClientMessage(playerid, Amarelo, "Você está ausente e não pode se mover! Digite /Voltei para voltar à Jogar!");
  350.         SetPlayerInterior(playerid,18);
  351.         SetPlayerPos(playerid, gRandomAusentePos[rand][0], gRandomAusentePos[rand][1], gRandomAusentePos[rand][2]);
  352.         format(string,sizeof string,"%s(%d) Está ausente!(/Javolto)",pName, playerid);
  353.         SendClientMessageToAll(Branco, string);
  354.     return 1;
  355.     }
  356.         if(strcmp(cmd, "/voltei", true) == 0) {
  357.         TogglePlayerControllable(playerid, 1);
  358.         SendClientMessage(playerid, Amarelo, "Você voltou ao Jogo!");
  359.         format(string,sizeof string,"%s(%d) Voltou ao Jogo!(/Voltei)",pName, playerid);
  360.         SendClientMessageToAll(Branco, string);
  361.         new rand = random(sizeof(gRandomPlayerSpawns));
  362.         SetPlayerPos(playerid, gRandomPlayerSpawns[rand][0], gRandomPlayerSpawns[rand][1], gRandomPlayerSpawns[rand][2]); // Warp the player
  363.         SetPlayerInterior(playerid,0);
  364.     return 1;
  365.     }
  366.     if(strcmp(cmd, "/cons", true) == 0) {
  367.  
  368.                 if(IsPlayerInAnyVehicle(playerid))
  369.                 {
  370.                     SetVehicleHealth(GetPlayerVehicleID(playerid), 1000);
  371.                     format(string,sizeof string,"%s(%d) Consertou seu carro! (/Cons)",pName, playerid);
  372.                     SendClientMessageToAll(Branco, string);
  373.                 }
  374.                 else
  375.                 {
  376.                     SendClientMessage(playerid, Vermelho, "Erro! Você precisa estar em um carro!");
  377.                 }
  378.  
  379.         return 1;
  380.     }
  381.     if(strcmp(cmd, "/teleportes", true) == 0){
  382.         RemovePlayerFromVehicle(playerid);
  383.         new listitems[] = "1\tDrift The Big Ear\n2\tDrift San Fierro\n3\tDrift Las Venturas\n4\tAeroporto de Las Venturas\n5\tAvenida de Las Venturas\n6\tAeroporto Abandonado\n7\tÁrea de Hydras\n8\tx1 Walking\n9\tx1 Running\n10\tÁrea de Respawn\n11\tX1 Tenso\n12\tAeroporto de Los Santos\n13\tStunt 1\n14\tStunt 2\n15\tStunt 3\n16\tStunt 4\n17\tStunt 5\n18\tStunt 6\n19\tStunt 7\n20\tStunt 8\n21\tDrag SF\n22\tDrag LV\n23\tDrag LS\n24\tOffroad 1\n25\tOffroad 2";
  384.         ShowPlayerDialog(playerid,1,DIALOG_STYLE_LIST,"Escolha onde você quer ir:",listitems,"Ir","Fechar");
  385.     return 1;
  386.     }
  387.     if(strcmp(cmd, "/teles", true) == 0){
  388.         RemovePlayerFromVehicle(playerid);
  389.         new listitems[] = "1\tDrift The Big Ear\n2\tDrift San Fierro\n3\tDrift Las Venturas\n4\tAeroporto de Las Venturas\n5\tAvenida de Las Venturas\n6\tAeroporto Abandonado\n7\tÁrea de Hydras\n8\tx1 Walking\n9\tx1 Running\n10\tÁrea de Respawn\n11\tX1 Tenso\n12\tAeroporto de Los Santos - Com Stunts!\n13\tStunt 1\n14\tStunt 2\n15\tStunt 3\n16\tStunt 4\n17\tStunt 5\n18\tStunt 6\n19\tStunt 7\n20\tStunt 8\n21\tDrag SF\n22\tDrag LV\n23\tDrag LS\n24\tOffroad 1\n25\tOffroad 2";
  390.         ShowPlayerDialog(playerid,1,DIALOG_STYLE_LIST,"Escolha onde você quer ir:",listitems,"Ir","Fechar");
  391.     return 1;
  392.     }
  393.     return SendClientMessage(playerid,Vermelho,"Comando não encontrado! Digite /Ajuda para ver todos os comandos.");
  394. }
  395.  
  396. public OnPlayerSpawn(playerid)
  397. {
  398.     GivePlayerMoney(playerid, PocketMoney);
  399.     SetPlayerInterior(playerid,0);
  400.     SetPlayerRandomSpawn(playerid);
  401.     SetPlayerVirtualWorld(playerid, 0);
  402.     return 1;
  403. }
  404.  
  405. public SetPlayerRandomSpawn(playerid)
  406. {
  407.  
  408.     if (iSpawnSet[playerid] == 0)
  409.     {
  410.         new rand = random(sizeof(gRandomPlayerSpawns));
  411.         SetPlayerPos(playerid, gRandomPlayerSpawns[rand][0], gRandomPlayerSpawns[rand][1], gRandomPlayerSpawns[rand][2]); // spawns randomicos
  412.     }
  413.     return 1;
  414. }
  415.  
  416. public OnPlayerDeath(playerid, killerid, reason)
  417. {
  418.     new playercash;
  419.     if(killerid == INVALID_PLAYER_ID) {
  420.         SendDeathMessage(INVALID_PLAYER_ID,playerid,reason);
  421.         ResetPlayerMoney(playerid);
  422.         ResetPlayerWeapons(playerid);
  423.         } else {
  424.         SendDeathMessage(killerid,playerid,reason);
  425.         SetPlayerScore(killerid,GetPlayerScore(killerid)+1);
  426.         playercash = GetPlayerMoney(playerid);
  427.         if (playercash > 0)  {
  428.         GivePlayerMoney(killerid, playercash);
  429.         ResetPlayerMoney(playerid);
  430.         }
  431.         else
  432.         {
  433.     }
  434. }
  435. return 1;
  436. }
  437.  
  438. public OnPlayerRequestClass(playerid, classid)
  439. {
  440.     iSpawnSet[playerid] = 0;
  441.     SetupPlayerForClassSelection(playerid);
  442.     return 1;
  443. }
  444.  
  445. public SetupPlayerForClassSelection(playerid)
  446. {
  447.     SetPlayerInterior(playerid,14);
  448.     SetPlayerPos(playerid,258.4893,-41.4008,1002.0234);
  449.     SetPlayerFacingAngle(playerid, 270.0);
  450.     SetPlayerCameraPos(playerid,256.0815,-43.0475,1004.0234);
  451.     SetPlayerCameraLookAt(playerid,258.4893,-41.4008,1002.0234);
  452. }
  453.  
  454. public GameModeExitFunc()
  455. {
  456.     GameModeExit();
  457. }
  458.  
  459. public OnGameModeInit()
  460. {
  461.     SetGameModeText("NNF 4FUN 0.2.1 BETA");
  462.     SendRconCommand("mapname Playground NNF");
  463.     SendRconCommand("hostname [NNF]Killers Brasil - Playground NNF");
  464.     ShowPlayerMarkers(1);
  465.     ShowNameTags(1);
  466.     UsePlayerPedAnims();
  467.     //textos 3d em cima dos pickups
  468.     Create3DTextLabel("Teleportes",Laranja,391.9828,-2064.0571,8.8359,15,0,0);
  469.     Create3DTextLabel("Ajuda",Laranja,392.2740,-2061.2263,8.8359,15,0,0);
  470.     Create3DTextLabel("Créditos",Laranja,391.9032,-2058.2087,8.8359,15,0,0);
  471.     //Pickups
  472.     PickupTeleportes = CreatePickup(1318, 1, 391.9828,-2064.0571,7.8359);
  473.     PickupAjuda = CreatePickup(1239, 1, 392.2740,-2061.2263,7.8359);
  474.     PickupCreditos = CreatePickup(1239, 1,391.9032,-2058.2087,7.8359);
  475.     EnableStuntBonusForAll(1);
  476.     for ( new i = 280; i < 300; i++ )
  477.         if ( IsValidSkin( i ) )                         AddPlayerClass( i, 1958.3783, 1343.1572, 15.3746, 270.1425, 0, 0, 0, 0, 0, 0 );
  478.     for ( new i = 0; i < 280; i++ )
  479.     {
  480.         if ( IsValidSkin( i ) && i != 217 && i != 211 ) AddPlayerClass( i,1958.3783, 1343.1572, 15.3746, 270.1425, 0, 0, 0, 0, 0, 0 );
  481.     }
  482.     // Veiculos
  483.     AddStaticVehicle(520,277.7690,2023.7168,18.3598,268.9495,0,0); // Hydra1
  484.     AddStaticVehicle(520,316.0292,2046.5459,18.3614,180.3658,0,0); // Hydra2
  485.     AddStaticVehicle(520,300.3074,2050.1731,18.3680,179.4140,0,0); // Hydra3
  486.     AddStaticVehicle(520,370.2896,1998.2317,18.3609,110.7939,0,0); // Hydra4
  487.     AddStaticVehicle(520,367.3095,1973.5800,18.3640,89.8632,0,0); // Hydra5
  488.     AddStaticVehicle(520,367.3107,1962.4067,18.3638,87.1658,0,0); // Hydra6
  489.     AddStaticVehicle(520,366.4493,1951.0125,18.3629,85.9578,0,0); // Hydra7
  490.     AddStaticVehicle(520,365.8514,1941.0516,18.3626,84.8516,0,0); // Hydra8
  491.     AddStaticVehicle(520,365.5423,1930.0677,18.3678,85.7895,0,0); // Hydra9
  492.     AddStaticVehicle(520,364.5261,1918.2740,18.3604,82.0127,0,0); // Hydra10
  493.     AddStaticVehicle(520,276.8808,1956.2181,18.3601,270.9527,0,0); // Hydra11
  494.     //AddStaticVehicle(588,375.4299,-2027.4333,7.6727,359.4068,1,1); // salchixa
  495.     AddStaticVehicle(423,388.8157,-2045.0803,7.8626,90.2623,1,56); // carrin de sorvete com um pinto
  496.     AddStaticVehicle(571,401.0989,-1804.1868,7.1119,0.8195,36,2); //
  497.     AddStaticVehicle(571,397.6027,-1804.2427,7.1192,1.0638,51,53); // carti
  498.     AddStaticVehicle(424,439.5591,-1872.9487,2.6966,182.6399,2,2); // bugg
  499.     AddStaticVehicle(444,505.4804,-1872.8953,3.7984,181.1701,32,42); //
  500.     AddStaticVehicle(473,403.9723,-1907.8835,-0.3232,189.4754,56,53); // barkin
  501.     AddStaticVehicle(471,383.3006,-1890.7241,1.0048,1.2916,120,114); // quad
  502.     AddStaticVehicle(468,164.6602,-1869.7629,2.6176,246.6732,53,53); // motenha
  503.     AddStaticVehicle(562,-314.7186,1515.2522,75.0164,181.1154,116,1); // elegy do drift1
  504.     AddStaticVehicle(562,-318.0217,1515.1932,75.0176,180.3663,11,1); // elegy do drift2
  505.     AddStaticVehicle(562,-321.0608,1515.0836,75.0163,179.0135,17,1); // elegy do drift3
  506.     AddStaticVehicle(562,-324.1533,1515.0336,75.0189,182.4384,113,1); // elegy do drift4
  507.     AddStaticVehicle(506,-327.3479,1514.8010,75.0639,180.3009,7,7); // supergt do drift1
  508.     AddStaticVehicle(506,-330.4671,1514.6188,75.0639,181.3156,6,6); // supergt do drift2
  509.     AddStaticVehicle(506,-333.5662,1514.7174,75.0637,178.7289,52,52); // supergt do drift3
  510.     AddStaticVehicle(506,-336.7420,1514.7483,75.0639,179.8318,76,76); // supergt do drift4
  511.     AddStaticVehicle(495,-347.2474,1553.9929,75.9048,119.5976,119,122); // sandking do deserto
  512.     AddStaticVehicle(411,-339.8860,1514.9082,75.0865,181.1727,116,1); // infernus do drift1
  513.     AddStaticVehicle(411,-342.9081,1514.8425,75.0865,181.0747,123,1); // infernus do drift2
  514.     AddStaticVehicle(522,376.5407,-2055.4482,7.5844,283.1216,39,106); // nrgspawn
  515.     AddStaticVehicle(522,376.5903,-2054.2695,7.5922,286.5616,51,118); // nrgspawn
  516.     AddStaticVehicle(522,376.7368,-2053.1487,7.5896,284.2903,3,3); // nrgspawn
  517.     AddStaticVehicle(522,376.6704,-2051.7476,7.5886,281.1111,3,8); // nrgspawn
  518.     AddStaticVehicle(451,372.2791,-2044.2579,7.3299,359.8391,0,1); // turismospawn
  519.     AddStaticVehicle(411,368.1330,-2044.3762,7.3691,359.8301,0,1); // turismospawn
  520.     AddStaticVehicle(411,381.5409,-2038.3442,7.5601,88.1427,75,1); // infernusspawn
  521.     AddStaticVehicle(411,381.5147,-2034.4885,7.5601,89.4997,12,1); // infernusspawn
  522.     AddStaticVehicle(411,381.0701,-2028.2253,7.5601,269.3159,12,1); // infernusspawn
  523.     AddStaticVehicle(451,380.9214,-2025.0896,7.5385,90.5663,18,18); // turismospawn
  524.     AddStaticVehicle(415,362.8271,-2044.7015,7.5690,359.6314,0,1); // Cheetahspawn
  525.     AddStaticVehicle(415,362.6291,-2037.1250,7.6048,359.3684,0,1); // Cheetahspawn
  526.     AddStaticVehicle(522,362.4156,-2025.9248,7.4020,269.3719,8,82); // nrgspawn
  527.     AddStaticVehicle(522,362.8338,-2024.3583,7.4078,270.6404,8,82); // nrgspawn
  528.     AddStaticVehicle(522,362.7849,-2022.5806,7.4106,269.0122,8,82); // nrgspawn
  529.     AddStaticVehicle(522,362.8166,-2021.5477,7.4061,269.5609,36,105); // nrgspawn
  530. //  AddStaticVehicle(522,362.8668,-2020.0056,7.4101,270.2711,39,106); // nrgspawn
  531. //  AddStaticVehicle(522,362.9536,-2018.7623,7.4057,271.3441,51,118); // nrgspawn
  532. //  AddStaticVehicle(522,362.8366,-2017.4510,7.4094,271.9491,3,3); // nrgspawn
  533.     AddStaticVehicle(522,362.8459,-2016.1483,7.4072,272.7747,3,8); // nrgspawn
  534.     AddStaticVehicle(448,377.3573,-2015.4645,7.4270,88.2143,3,6); // pizzamoto
  535.     AddStaticVehicle(448,377.3432,-2016.9910,7.4288,89.4690,3,6); // pizzamoto
  536. //  AddStaticVehicle(448,377.3817,-2018.1624,7.4291,92.8068,3,6); // pizzamoto
  537.     AddStaticVehicle(451,377.7972,-2044.2416,7.5364,358.9506,36,36); // turismospawn
  538.     AddStaticVehicle(451,363.2229,-2012.1904,7.5414,327.1881,36,36); // turismospawn
  539. //  AddStaticVehicle(451,362.9169,-2008.1908,7.5404,325.2414,16,16); // turismospawn
  540. //  AddStaticVehicle(451,362.9014,-2004.5945,7.5431,323.1255,18,18); // turismospawn
  541. //  AddStaticVehicle(411,362.8579,-2000.6510,7.5635,323.5642,64,1); // infernusspawn
  542. //  AddStaticVehicle(411,362.9508,-1996.5658,7.5613,319.7549,123,1); // infernusspawn
  543. //  AddStaticVehicle(411,363.0383,-1992.8879,7.5630,318.6922,116,1); // infernusspawn
  544. //  AddStaticVehicle(451,377.0981,-2012.8798,7.5404,89.8106,61,61); // Turismo
  545. //  AddStaticVehicle(451,376.9465,-2007.6006,7.5387,90.3907,123,123); // turismospawn
  546. //  AddStaticVehicle(415,377.2920,-1993.2391,7.5935,44.8519,0,1); // cheetahspawn
  547.     AddStaticVehicle(411,-346.0119,1514.8545,75.0865,180.7515,112,1); // inf faltando do drift
  548.     //stunt1
  549.     AddStaticVehicle(522,-2239.7263,329.8608,34.8891,267.6095,8,82); // NRGSTUNT1
  550.     AddStaticVehicle(522,-2239.5996,328.6245,34.8902,269.8510,8,82); // NRGSTUNT2
  551.     AddStaticVehicle(522,-2239.6631,327.0431,34.8942,268.2962,8,82); // NRGSTUNT2
  552.     AddStaticVehicle(522,-2233.4929,330.2413,34.8947,269.4169,8,82); // NRGSTUNT2
  553.     AddStaticVehicle(522,-2233.6025,328.8118,34.8884,268.5168,8,82); // NRGSTUNT2
  554.     AddStaticVehicle(522,-2233.2009,327.1179,34.8903,269.6340,8,82); // NRGSTUNT2
  555.     AddStaticVehicle(522,-2229.0615,330.4443,34.8914,269.9268,8,82); // NRGSTUNT2
  556.     AddStaticVehicle(522,-2228.7756,329.1687,34.8921,269.7270,8,82); // NRGSTUNT2
  557.     AddStaticVehicle(522,-2228.2642,327.6166,34.8937,268.6258,8,82); // NRGSTUNT2
  558.     //stunt2
  559.     AddStaticVehicle(522,-1994.2511,803.3882,45.0195,359.0616,36,105); // nrgstunt2
  560.     AddStaticVehicle(522,-1995.9476,803.0834,45.0171,359.2244,36,105); // nrgstunt2
  561.     AddStaticVehicle(522,-1995.9003,806.5588,45.0066,359.2245,36,105); // nrgstunt2
  562.     AddStaticVehicle(522,-1994.1609,806.4580,45.0188,359.5198,36,105); // nrgstunt2
  563.     AddStaticVehicle(522,-1991.9009,807.2444,45.0181,356.9910,36,105); // nrgstunt2
  564.     AddStaticVehicle(522,-1991.6953,811.1532,45.0053,356.9911,36,105); // nrgstunt2
  565.     AddStaticVehicle(522,-1994.0955,810.5807,45.0187,9.7763,36,105); // nrgstunt2
  566.     AddStaticVehicle(522,-1995.5631,810.8065,45.0216,3.6292,36,105); // nrgstunt2
  567.     //stunt3
  568.     AddStaticVehicle(522,-2006.5063,-308.6993,34.5261,17.9714,36,105); // nrgstunt3
  569.     AddStaticVehicle(522,-2007.9795,-309.2126,34.5047,30.4086,36,105); // nrgstunt3
  570.     AddStaticVehicle(522,-2009.2319,-310.0170,34.4508,25.4377,36,105); // nrgstunt3
  571.     AddStaticVehicle(522,-2010.8015,-310.5533,34.4491,21.5541,36,105); // nrgstunt3
  572.     AddStaticVehicle(522,-2012.2993,-311.2256,34.4518,13.9210,36,105); // nrgstunt3
  573.     AddStaticVehicle(522,-2002.4119,-308.9872,34.3967,14.0181,36,105); // nrgstunt3
  574.     AddStaticVehicle(522,-2004.0537,-309.6036,34.3530,23.2919,36,105); // nrgstunt3
  575.     //stunt4
  576.     AddStaticVehicle(522,-1680.0869,515.9601,37.8116,314.1398,36,105); // nrgstunt4
  577.     AddStaticVehicle(522,-1676.9645,518.7080,37.8048,313.4587,36,105); // nrgstunt4
  578.     AddStaticVehicle(522,-1677.7864,519.3049,37.8106,317.8606,36,105); // nrgstunt4
  579.     AddStaticVehicle(522,-1678.6998,520.7753,37.8108,315.2735,36,105); // nrgstunt4
  580.     AddStaticVehicle(522,-1679.3286,522.4488,37.8123,313.1640,36,105); // nrgstunt4
  581.     AddStaticVehicle(522,-1677.1554,524.6928,37.8137,313.3267,36,105); // nrgstunt4
  582.     AddStaticVehicle(522,-1676.2275,523.7000,37.8144,315.3618,36,105); // nrgstunt4
  583.     AddStaticVehicle(522,-1675.1055,523.0551,37.8142,310.3147,36,105); // nrgstunt4
  584.     AddStaticVehicle(522,-1672.7661,522.5668,37.8114,310.9811,36,105); // nrgstunt4
  585.     //stunt5
  586.     AddStaticVehicle(522,1952.5112,2000.6373,7.2985,116.1445,39,106); // NRGSTUNT5
  587.     AddStaticVehicle(522,1952.9425,1999.6198,7.2856,115.0435,39,106); // NRGSTUNT5
  588.     AddStaticVehicle(522,1953.7111,1998.4357,7.2873,116.9273,39,106); // NRGSTUNT5
  589.     AddStaticVehicle(522,1954.2227,1997.4202,7.2697,118.9316,39,106); // NRGSTUNT5
  590.     AddStaticVehicle(522,1956.7529,2001.9209,7.6455,113.5954,39,106); // NRGSTUNT5
  591.     AddStaticVehicle(522,1956.4189,2000.6494,7.5731,118.6185,39,106); // NRGSTUNT5
  592.     AddStaticVehicle(522,1957.9985,2000.2721,7.7030,115.8394,39,106); // NRGSTUNT5
  593.     AddStaticVehicle(522,1958.9438,1999.5688,7.7634,113.0881,39,106); // NRGSTUNT5
  594.     AddPlayerClass(294,2032.0565,992.6772,10.8131,4.2657,0,0,0,0,0,0); // NRGSTUNT6
  595.     AddStaticVehicle(522,2028.7476,1023.5245,10.3932,179.7228,51,118); // nrgstunt5
  596.     AddStaticVehicle(522,2030.0526,1022.4196,10.3917,178.0113,51,118); // nrgstunt6
  597.     AddStaticVehicle(522,2031.5427,1022.4183,10.3895,181.0846,51,118); // nrgstunt6
  598.     AddStaticVehicle(522,2028.5002,1026.6018,10.3890,178.7245,51,118); // nrgstunt6
  599.     AddStaticVehicle(522,2029.7371,1026.5558,10.3921,183.1592,51,118); // nrgstunt6
  600.     AddStaticVehicle(522,2031.1233,1027.0093,10.3935,175.2919,51,118); // nrgstunt6
  601.     AddStaticVehicle(522,2028.5504,1030.9446,10.3843,173.4945,51,118); // nrgstunt6
  602.     AddStaticVehicle(522,2029.7039,1031.1736,10.3890,183.3774,51,118); // nrgstunt6
  603.     AddStaticVehicle(522,2031.0688,1031.7410,10.3905,182.4747,51,118); // nrgstunt6
  604.     //dragsf
  605.     AddStaticVehicle(522,-1918.2115,-1334.5428,40.7081,73.0296,36,105); // nrgdragsf
  606.     AddStaticVehicle(522,-1922.0648,-1333.3569,41.3716,73.0351,36,105); // nrgdragsf
  607.     AddStaticVehicle(522,-1917.3390,-1332.4666,40.6082,71.2202,36,105); // nrgdragsf
  608.     AddStaticVehicle(522,-1921.2070,-1330.6576,41.2653,64.8797,36,105); // nrgdragsf
  609.     AddStaticVehicle(522,-1920.8650,-1328.3448,41.2257,73.1742,36,105); // nrgdragsf
  610.     AddStaticVehicle(522,-1917.0439,-1329.4681,40.4836,72.5524,36,105); // nrgdragsf
  611.     AddStaticVehicle(411,-1920.5111,-1351.9928,40.5978,246.6840,64,1); // infernusdragsf
  612.     AddStaticVehicle(411,-1919.0612,-1349.3881,40.6482,245.9854,123,1); // infernusdragsf
  613.     AddStaticVehicle(411,-1918.1854,-1347.2484,40.6590,245.5375,112,1); // infernusdragsf
  614.     AddStaticVehicle(411,-1916.9207,-1345.0944,40.5858,243.8701,80,1); // infernusdragsf
  615.     AddStaticVehicle(411,-1916.7813,-1341.9174,40.6329,259.5616,12,1); // infernusdragsf
  616.     AddStaticVehicle(451,-1898.6399,-1366.3866,39.9374,111.8317,125,125); // turismodragsf
  617.     AddStaticVehicle(451,-1896.3241,-1369.1295,39.9892,126.5846,36,36); // turismodragsf
  618.     AddStaticVehicle(451,-1893.9885,-1370.7931,39.9352,138.6901,18,18); // turismodragsf
  619.     AddStaticVehicle(451,-1891.6774,-1372.2352,39.8806,141.5306,61,61); // turismodragsf
  620.     AddStaticVehicle(451,-1879.1112,-1377.9237,39.3198,148.3663,123,123); // turismodragsf
  621.     //draglv
  622.     AddStaticVehicle(522,1817.5919,869.6760,10.1790,270.6181,3,3); // nrgdraglv
  623.     AddStaticVehicle(522,1818.9323,871.0137,10.1703,265.5057,3,3); // nrgdraglv
  624.     AddStaticVehicle(522,1818.2756,872.4709,10.1107,269.9268,3,3); // nrgdraglv
  625.     AddStaticVehicle(522,1818.6375,873.6180,10.0817,264.8530,3,3); // nrgdraglv
  626.     AddStaticVehicle(451,1818.4558,879.2610,10.0358,91.2384,36,36); // turismolvdrag
  627.     AddStaticVehicle(451,1818.5935,882.4399,9.9313,89.9300,36,36); // turismolvdrag
  628.     AddStaticVehicle(451,1818.9850,885.8771,9.8668,89.2240,36,36); // turismolvdrag
  629.     AddStaticVehicle(451,1818.9513,888.6987,9.7793,87.9714,36,36); // turismolvdrag
  630.     AddStaticVehicle(411,1819.0916,894.3362,9.6293,88.9496,123,1); // infernuslvdrag
  631.     AddStaticVehicle(411,1819.9398,897.0667,9.5967,87.7703,123,1); // infernuslvdrag
  632.     AddStaticVehicle(411,1819.8436,900.6302,9.4752,86.8239,116,1); // infernuslvdrag
  633.     AddStaticVehicle(411,1820.7064,903.6505,9.4582,89.4102,116,1); // infernuslvdrag
  634.     AddStaticVehicle(411,1820.6335,907.3545,9.4008,87.5190,116,1); // infernuslvdrag
  635.     //dragls
  636.     AddStaticVehicle(451,2851.5452,-2063.4343,10.8424,87.3590,16,16); // turismodragls
  637.     AddStaticVehicle(451,2851.7961,-2067.1396,10.8290,85.7873,18,18); // turismodragls
  638.     AddStaticVehicle(451,2851.5420,-2070.6685,10.8069,85.7289,61,61); // turismodragls
  639.     AddStaticVehicle(411,2851.8638,-2073.6272,10.8443,86.5344,80,1); // infernusdragls
  640.     AddStaticVehicle(411,2851.0569,-2077.6553,10.8359,72.2278,75,1); // infernusdragls
  641.     AddStaticVehicle(411,2858.8120,-2080.3982,10.8339,67.1301,64,1); // infernusdragls
  642.     AddStaticVehicle(411,2859.1143,-2075.4797,10.8524,77.2597,116,1); // infernusdragls
  643.     AddStaticVehicle(522,2860.5281,-2071.2666,10.7875,89.2086,3,8); //
  644.     AddStaticVehicle(522,2860.6909,-2069.9722,10.7551,90.5497,3,8); //
  645.     AddStaticVehicle(522,2860.7402,-2068.6001,10.6937,87.2497,3,8); //
  646.     //offroad1
  647.     AddStaticVehicle(495,-323.1140,-1914.8475,13.0691,82.2336,119,122); // sandking offroad
  648.     AddStaticVehicle(495,-322.8391,-1910.0284,12.6954,90.2306,119,122); // sandking offroad
  649.     AddStaticVehicle(495,-322.3431,-1906.6375,12.2678,92.6674,119,122); // sandking offroad
  650.     AddStaticVehicle(495,-323.1269,-1901.7360,11.5893,107.5894,119,122); // sandking offroad
  651.     AddStaticVehicle(495,-332.5445,-1899.3463,11.2576,111.4150,119,122); // sandking offroad
  652.     AddStaticVehicle(495,-334.0320,-1923.3228,14.8557,52.4639,119,122); // sandking offroad
  653.     AddStaticVehicle(495,-341.0758,-1920.3452,14.3769,79.1259,119,122); // sandking offroad
  654.     //offroad2
  655.     AddStaticVehicle(495,-1945.6945,-2094.7219,69.2427,271.0417,118,117); // sandkingoffroad2
  656.     AddStaticVehicle(495,-1947.4757,-2086.2441,68.4868,271.4308,118,117); // sandkingoffroad2
  657.     AddStaticVehicle(495,-1948.5455,-2082.8638,68.3986,276.6660,118,117); // sandkingoffroad2
  658.     AddStaticVehicle(495,-1949.3823,-2079.6040,68.3689,281.9003,118,117); // sandkingoffroad2
  659.     AddStaticVehicle(495,-1949.9214,-2076.0532,68.4809,279.7576,118,117); // sandkingoffroad2
  660.     //driftsf
  661.     AddStaticVehicle(451,-2402.9578,-584.5739,132.3555,125.8283,61,61); // turismodriftsf
  662.     AddStaticVehicle(451,-2401.2881,-587.1431,132.3552,124.8453,75,75); // turismodriftsf
  663.     AddStaticVehicle(451,-2399.6804,-589.7895,132.3554,124.6046,125,125); // turismodriftsf
  664.     AddStaticVehicle(451,-2398.1584,-592.2141,132.3553,124.9643,16,16); //
  665.     AddStaticVehicle(451,-2394.8147,-597.0457,132.3560,123.5335,18,18); // turismodriftsf
  666.     AddStaticVehicle(451,-2392.5947,-599.2906,132.3556,125.0932,46,46); // turismodriftsf
  667.     AddStaticVehicle(560,-2417.2361,-588.7619,132.3536,215.0715,9,39); // Sultandriftsf
  668.     AddStaticVehicle(560,-2414.4526,-586.8504,132.3531,214.0466,21,1); // Sultandriftsf
  669.     AddStaticVehicle(411,-2399.7815,-612.8331,132.3755,34.7629,116,1); // infernusdriftsf
  670.     AddStaticVehicle(411,-2397.2893,-611.2554,132.3755,35.0761,112,1); // infernusdriftsf
  671.     AddStaticVehicle(411,-2394.7856,-609.4872,132.3755,34.6898,106,1); // infernusdriftsf
  672.     AddStaticVehicle(411,-2409.2200,-583.3079,132.3755,215.6990,80,1); // infernusdriftsf
  673.     AddStaticVehicle(415,-2392.2847,-607.7924,132.4197,33.6633,0,1); // cheetahdriftsf
  674.     //driftlv
  675.     AddStaticVehicle(451,2303.6738,1404.7223,42.5107,268.0084,125,125); // Turismolvdrift
  676.     AddStaticVehicle(451,2304.0566,1408.5813,42.5259,269.3863,125,125); // Turismolvdrift
  677.     AddStaticVehicle(451,2303.8132,1412.2361,42.5278,270.8704,36,36); // Turismolvdrift
  678.     AddStaticVehicle(451,2303.9106,1416.1323,42.5272,272.1717,16,16); // Turismolvdrift
  679.     AddStaticVehicle(451,2303.8870,1419.1847,42.5263,272.4592,18,18); // Turismolvdrift
  680.     AddStaticVehicle(411,2303.3887,1423.0592,42.5474,269.3522,75,1); // infernuslvdrift
  681.     AddStaticVehicle(411,2303.4067,1426.8716,42.5034,269.5255,0,1); // infernuslvdrift
  682.     AddStaticVehicle(411,2303.2117,1430.1538,42.5474,271.2098,12,1); // infernuslvdrift
  683.     AddStaticVehicle(411,2303.0269,1433.6365,42.5474,270.5427,64,1); // infernuslvdrift
  684.     AddStaticVehicle(411,2303.1140,1437.4725,42.5474,268.8378,123,1); // infernuslvdrift
  685.     AddStaticVehicle(522,2312.3862,1389.6279,42.3820,356.3888,39,106); // nrgdriftlv
  686.     AddStaticVehicle(522,2309.0132,1389.9556,42.3971,359.7040,51,118); // nrgdriftlv
  687.     AddStaticVehicle(522,2305.8691,1389.7146,42.3911,0.3845,3,3); // nrgdriftlv
  688.     AddStaticVehicle(522,2302.2170,1389.4221,42.3878,2.9292,3,8); // nrgdriftlv
  689.     AddStaticVehicle(415,2299.1643,1389.1495,42.5929,1.0846,92,1); // cheetahlvdrift
  690.     AddStaticVehicle(415,2295.8804,1389.3060,42.5913,358.5938,0,1); // cheetahlvdrift
  691.     AddStaticVehicle(415,2292.5186,1389.0846,42.5907,358.3630,20,1); // cheetahlvdrift
  692.     AddStaticVehicle(560,2289.0015,1389.4409,42.5251,358.9993,33,0); // sultanlvdrift
  693.     AddStaticVehicle(560,2285.3872,1389.4939,42.5250,357.5737,37,0); // sultanlvdrift
  694.     AddStaticVehicle(560,2282.1797,1389.4189,42.4840,358.6526,0,1); // sultanlvdrift
  695.     //stunt 7
  696.     AddStaticVehicle(522,2252.3032,1345.5159,10.3835,264.7619,3,3); // nrgstunt7
  697.     AddStaticVehicle(522,2252.2424,1344.3552,10.3835,270.0116,3,3); // nrgstunt7
  698.     AddStaticVehicle(522,2252.5925,1342.7865,10.3070,265.9545,3,3); // nrgstunt7
  699.     AddStaticVehicle(522,2252.2124,1341.7682,10.3076,267.5993,3,3); // nrgstunt7
  700.     AddStaticVehicle(522,2252.3025,1340.7911,10.3006,267.7683,3,3); // nrgstunt7
  701.     AddStaticVehicle(522,2254.0181,1335.3710,10.3112,86.8041,3,3); // nrgstunt7
  702.     AddStaticVehicle(522,2253.2087,1333.7625,10.3100,88.9136,3,3); // nrgstunt7
  703.     //stunt 8
  704.     AddStaticVehicle(522,1959.9883,1464.7770,10.3779,178.0390,3,3); // nrgstunt8
  705.     AddStaticVehicle(522,1961.2904,1464.6954,10.3900,182.9115,3,3); // nrgstunt8
  706.     AddStaticVehicle(522,1962.6877,1464.8512,10.3927,181.6895,3,3); // nrgstunt8
  707.     AddStaticVehicle(522,1963.5122,1465.3839,10.3922,181.1874,3,3); // nrgstunt8
  708.     AddStaticVehicle(522,1964.8666,1464.9879,10.3924,181.1730,3,3); // nrgstunt8
  709.     AddStaticVehicle(522,1965.8046,1464.4208,10.3893,177.5212,3,3); // nrgstunt8
  710.     //aeroabandonado
  711.     AddStaticVehicle(519,421.7287,2489.7776,17.4052,90.3656,1,1); // shamal 1
  712.     AddStaticVehicle(519,421.9943,2516.0613,17.4051,88.5127,1,1); // shamal 2
  713.     AddStaticVehicle(511,262.6047,2535.3416,18.1046,178.2356,4,90); // beagleaeroaban
  714.     AddStaticVehicle(511,241.7141,2536.4597,18.0953,178.3445,7,68); // beagleaeroaban
  715.     AddStaticVehicle(511,218.2917,2536.1555,18.0062,178.5258,8,66); // beagleaeroaban
  716.     AddStaticVehicle(513,290.4008,2536.7627,17.3667,181.0062,21,36); // stuntplaneaeroaban
  717.     AddStaticVehicle(513,324.5858,2537.5081,17.3530,177.6927,21,36); // stuntplaneaeroaban
  718.     AddStaticVehicle(513,307.7571,2537.0911,17.3619,176.2701,21,36); // stuntplaneaeroaban
  719.     AddStaticVehicle(476,345.1964,2538.1887,17.4839,179.7602,7,6); // rustleraeroaban
  720.     AddStaticVehicle(476,358.0190,2538.5667,17.3934,178.9478,1,6); // rustleraeroaban
  721.     AddStaticVehicle(476,369.4258,2538.3826,17.3232,178.5655,89,91); // rustleraeroaban
  722.     AddPlayerClass(294,375.4284,2526.3789,16.5782,168.3019,0,0,0,0,0,0); // rustleraeroaban
  723.     AddStaticVehicle(476,381.6827,2538.3354,17.2445,180.3003,119,117); // rustleraeroaban
  724.     AddStaticVehicle(593,368.2668,2472.1799,16.9473,356.6713,58,8); // dodoaeroaban
  725.     AddStaticVehicle(593,355.1990,2471.8293,16.9457,0.6502,60,1); // dodoaeroaban
  726.     AddStaticVehicle(425,351.2492,2568.3054,17.1764,177.5326,43,0); // heliaeroabandonado
  727.     AddStaticVehicle(425,384.9847,2571.0835,16.9462,180.3063,43,0); // heliaeroabandonado
  728.     AddStaticVehicle(425,368.1935,2562.5723,17.5322,197.5032,43,0); // heliaeroabandonado
  729.     //aerols
  730.     AddStaticVehicle(522,1948.6782,-2204.9951,13.1182,92.8624,3,3); // motoaerols
  731.     AddStaticVehicle(522,1948.8024,-2203.6462,13.1050,93.1480,3,8); // motoaerols
  732.     AddStaticVehicle(522,1948.8201,-2202.1938,13.1115,90.7911,7,79); // motoaerols
  733.     AddStaticVehicle(522,1948.9840,-2201.1702,13.1236,93.6048,6,25); // motoaerols
  734.     AddStaticVehicle(522,1948.9265,-2199.7957,13.1211,96.3225,8,82); // motoaerols
  735.     AddStaticVehicle(522,1949.0430,-2198.5691,13.1236,94.8364,36,105); // motoaerols
  736.     AddStaticVehicle(522,1949.1952,-2197.5156,13.1172,89.9957,51,118); // motoaerols
  737.     AddStaticVehicle(522,1949.3588,-2196.2827,13.1275,92.3757,39,106); // motoaerols
  738.     AddStaticVehicle(522,1949.4651,-2195.2290,13.1190,96.5989,3,3); // motoaerols
  739.     AddStaticVehicle(522,1949.3591,-2194.0239,13.1183,85.1997,3,8); // motoaerols
  740.     AddStaticVehicle(411,2001.8600,-2240.7729,13.2741,272.5665,106,1); // infernusaerols
  741.     AddStaticVehicle(411,2001.5128,-2237.6084,13.2740,271.9871,80,1); // infernusaerols
  742.     AddStaticVehicle(411,2001.8271,-2244.3518,13.2742,270.5400,75,1); // infernusaerols
  743.     AddStaticVehicle(411,2001.3063,-2234.8125,13.2740,273.2987,12,1); // infernusaerols
  744.     AddStaticVehicle(411,2001.8517,-2247.6807,13.2739,270.1629,64,1); // infernusaerols
  745.     AddStaticVehicle(411,2001.7231,-2251.2554,13.2746,270.9067,123,1); // infernusaerols
  746. //nnf tuning 2.6
  747.     CreateObject(11111, 1426.8864, -2497.1648, 23.3797, 315.3093, 0.0000, 269.7591 );
  748.     CreateObject(11111, 1384.8903, -2496.9875, 66.1774, 313.5904, 0.0000, 269.7591 );
  749.     CreateObject(11111, 1343.8188, -2496.7952, 109.3410, 313.5904, 0.0000, 269.7591 );
  750.     CreateObject(11111, 1303.0612, -2496.6526, 152.1940, 313.5904, 0.0000, 269.7591 );
  751.     CreateObject(11111, 1252.4650, -2495.5837, 172.1331, 3.4377, 0.0000, 268.0403 );
  752.     CreateObject(1632, 1426.3339, -2497.2019, 25.2624, 315.3093, 0.8594, 271.4781 );
  753.     CreateObject(1632, 1434.0632, -2497.0234, 23.7869, 335.9358, 0.8594, 271.4781 );
  754.     CreateObject(1632, 1442.2400, -2496.9316, 25.5798, 1.7189, 1.7189, 271.4781 );
  755.     CreateObject(1632, 1447.8456, -2496.7908, 30.2580, 30.0803, 0.0000, 271.4781 );
  756.     CreateObject(4023, 1496.6951, -2611.7095, 24.2781, 0.0000, 0.0000, 0.0000 );
  757.     CreateObject(1632, 1521.6614, -2624.2476, 15.1470, 19.7670, 0.0000, 179.5182 );
  758.     CreateObject(1632, 1521.5396, -2627.9275, 20.5587, 42.9718, 0.0000, 179.5182 );
  759.     CreateObject(1633, 1521.5065, -2629.0671, 27.4390, 69.6144, 0.0000, 181.2370 );
  760.     CreateObject(1633, 1521.4144, -2628.7585, 33.6472, 85.0842, 4.2972, 181.2370 );
  761.     CreateObject(1696, 1492.8369, -2597.0437, 35.9572, 0.0000, 0.0000, 0.0000 );
  762.     CreateObject(1696, 1498.2075, -2597.0518, 35.9572, 0.0000, 0.0000, 0.0000 );
  763.     CreateObject(13590, 1780.0720, -2520.6892, 13.8227, 0.0000, 0.0000, 93.5746 );
  764.     CreateObject(12956, 1729.3098, -2483.9460, 15.9329, 0.0000, 0.0000, 0.0000 );
  765.     CreateObject(3287, 2045.6914, -2596.6194, 17.2359, 0.0000, 0.0000, 0.0000 );
  766.     CreateObject(3287, 2051.9907, -2596.5471, 17.0911, 0.0000, 0.0000, 0.0000 );
  767.     CreateObject(6928, 1976.7775, -2634.5837, 14.4132, 0.0000, 0.0000, 0.0000 );
  768.     CreateObject(5126, 2124.8418, -2549.4048, 27.6712, 0.0000, 0.0000, 179.6225 );
  769.     CreateObject(13593, 2034.4865, -2599.0085, 13.5647, 14.6104, 0.0000, 269.7591 );
  770.     CreateObject(3426, 1629.6284, -2445.1775, 13.2959, 0.0000, 0.0000, 182.9559 );
  771.     CreateObject(1632, 1656.1104, -2543.0635, 18.3440, 24.9237, 0.0000, 90.2409 );
  772.     CreateObject(16776, 1481.3427, -2601.0891, 36.7008, 0.0000, 0.8594, 52.3215 );
  773.     CreateObject(13593, 2061.3398, -2597.9016, 13.4081, 10.3132, 0.0000, 89.2777 );
  774.     CreateObject(1632, 1878.9061, -2543.0371, 18.6032, 34.3775, 0.0000, 271.4780 );
  775.     CreateObject(1632, 1888.6827, -2543.1458, 18.7771, 34.3775, 0.0000, 92.7152 );
  776.     CreateObject(13592, 1409.4922, -2593.0117, 21.6425, 274.0564, 0.0000, 354.8434 );
  777.     CreateObject(13592, 1408.3781, -2593.4358, 28.7675, 274.0564, 0.0000, 354.8434 );
  778.     CreateObject(13592, 1407.3538, -2593.8059, 35.3425, 274.0564, 0.0000, 354.8434 );
  779.     CreateObject(13592, 1406.2087, -2594.2056, 42.5964, 274.0564, 0.0000, 354.8434 );
  780.     CreateObject(13592, 1405.1012, -2594.6135, 49.8590, 274.0564, 0.0000, 354.8434 );
  781.     CreateObject(13592, 1403.9801, -2595.0313, 57.1115, 274.0564, 0.0000, 354.8434 );
  782.     CreateObject(1655, 1394.8033, -2603.2500, 66.8318, 358.2811, 85.9437, 84.2248 );
  783.     CreateObject(9241, 1377.6155, -2593.7058, 61.1308, 0.0000, 0.0000, 0.0000 );
  784.     CreateObject(1632, 1415.9493, -2601.7278, 14.1970, 10.3132, 29.2208, 127.1967 );
  785.     CreateObject(18450, 1827.5482, -2381.7698, 24.2228, 0.8594, 18.0482, 290.3857 );
  786.     CreateObject(18450, 1801.2488, -2312.2051, 48.4443, 0.8594, 18.0482, 290.3857 );
  787.     CreateObject(8420, 1754.5964, -2267.7273, 61.2594, 0.0000, 0.0000, 110.0078 );
  788.     CreateObject(1655, 1752.6357, -2308.7371, 63.1154, 11.1727, 0.0000, 171.7832 );
  789.     CreateObject(3749, 1786.8469, -2274.8413, 66.7194, 0.0000, 0.0000, 19.7670 );
  790.     CreateObject(17565, 1686.7581, -2594.6494, 15.0556, 0.0000, 0.0000, 269.7591 );
  791.     CreateObject(13640, 1765.0620, -2235.1028, 61.9312, 0.0000, 0.0000, 21.4859 );
  792.     CreateObject(13640, 1744.0219, -2243.5769, 62.2312, 0.0000, 0.0000, 21.4859 );
  793.     CreateObject(8420, 1698.6826, -2288.0735, 61.0652, 0.0000, 0.0000, 289.5261 );
  794.     CreateObject(13647, 1698.9702, -2285.4363, 61.0378, 0.0000, 0.0000, 20.6265 );
  795.     CreateObject(13648, 1735.0952, -2272.0552, 61.0319, 0.0000, 0.0000, 110.0079 );
  796.     CreateObject(16304, 1661.4893, -2274.0464, 66.0802, 0.0000, 0.0000, 0.0000 );
  797.     CreateObject(13638, 1711.5342, -2316.4524, 63.5642, 0.0000, 0.0000, 109.1485 );
  798.     CreateObject(13636, 1706.5358, -2254.1160, 63.3222, 0.0000, 0.0000, 19.0114 );
  799.     CreateObject(9241, 1377.7820, -2569.3269, 61.1427, 0.0000, 0.0000, 180.3776 );
  800.     CreateObject(11395, 1378.5243, -2556.5215, 69.8165, 0.0000, 0.0000, 0.0000 );
  801.     CreateObject(1632, 1648.7120, -2543.2063, 18.4282, 24.9237, 0.0000, 268.8997 );
  802.     CreateObject(982, 1366.7220, -2589.8557, 62.6425, 0.0000, 0.0000, 0.0000 );
  803.     CreateObject(982, 1366.7361, -2589.8643, 63.8174, 0.0000, 180.3775, 0.0000 );
  804.     CreateObject(1634, 2069.8381, -2669.7764, 13.4044, 0.0000, 0.0000, 333.3575 );
  805.     CreateObject(6873, 1480.5852, -2650.3755, -71.8370, 0.0000, 0.0000, 89.2774 );
  806.     CreateObject(1634, 1477.2397, -2622.6929, 36.9723, 14.6104, 0.0000, 104.8513 );
  807.     CreateObject(1634, 1472.5040, -2623.8879, 42.9320, 36.0963, 0.0000, 104.8513 );
  808.     CreateObject(1634, 1469.8650, -2624.4973, 50.5999, 54.1445, 0.0000, 104.8513 );
  809.     CreateObject(1633, 1469.9115, -2624.6479, 59.0704, 76.4899, 0.0000, 98.7312 );
  810.     CreateObject(4874, 1506.5398, -2647.9612, 71.3241, 0.0000, 0.0000, 179.5182 );
  811.     CreateObject(5822, 1455.6718, -2654.4487, 77.6688, 0.0000, 0.0000, 183.9195 );
  812.     CreateObject(5130, 1460.0166, -2636.4358, 66.6083, 0.0000, 0.0000, 41.2530 );
  813.     CreateObject(1632, 1500.5956, -2632.8254, 64.1694, 28.3614, 0.0000, 269.7591 );
  814.     CreateObject(13592, 1819.9015, -2574.5352, 22.0925, 0.0001, 1.7189, 99.6946 );
  815.     CreateObject(13592, 1813.1265, -2574.6609, 22.0675, 0.0001, 1.7189, 99.6946 );
  816.     CreateObject(13592, 1806.3298, -2574.7683, 22.0175, 0.0001, 1.7189, 99.6946 );
  817.     CreateObject(13592, 1799.5603, -2574.9287, 22.0175, 0.0001, 1.7189, 99.6946 );
  818.     CreateObject(13592, 1792.2646, -2575.0603, 21.9925, 0.0001, 1.7189, 99.6946 );
  819.     CreateObject(13592, 1784.8563, -2575.2151, 21.9425, 0.0001, 1.7189, 99.6946 );
  820.     CreateObject(1655, 1780.4288, -2570.0522, 14.3720, 10.3132, 0.0000, 3.4378 );
  821.     CreateObject(1634, 1402.6847, -2660.9553, 13.5250, 0.0000, 0.0000, 340.2330 );
  822.     CreateObject(1634, 1347.7880, -2551.6384, 13.4223, 0.0000, 0.0000, 271.4780 );
  823.     CreateObject(1655, 1994.1520, -2494.0068, 14.4642, 10.3132, 0.0000, 268.0403 );
  824.     CreateObject(1655, 2000.0996, -2494.2261, 20.5966, 35.2369, 0.0000, 268.0403 );
  825.     CreateObject(1655, 2003.6462, -2494.3943, 28.1032, 48.9879, 0.0000, 268.0403 );
  826.     CreateObject(1655, 2005.0548, -2494.4941, 35.5448, 63.5983, 0.0000, 268.0403 );
  827.     CreateObject(1655, 2004.6226, -2494.5181, 43.8596, 77.3492, 0.0000, 268.0403 );
  828.     CreateObject(1655, 2001.9056, -2494.4958, 51.1968, 97.1163, 0.0000, 268.0403 );
  829.     CreateObject(1655, 1996.2144, -2494.3252, 57.4748, 121.1805, 0.0000, 268.0403 );
  830.     CreateObject(1655, 1988.6832, -2493.8108, 61.1651, 140.9477, 0.8594, 265.4620 );
  831.     CreateObject(8391, 1395.7748, -2431.3250, 28.9601, 0.0000, 0.0000, 282.6506 );
  832.     CreateObject(1655, 1385.6543, -2424.4712, 14.3048, 8.5944, 0.0000, 90.2409 );
  833.     CreateObject(1655, 1379.8706, -2424.4619, 19.5930, 30.0803, 0.0000, 90.2409 );
  834.     CreateObject(1655, 1375.9878, -2424.4226, 25.9121, 41.2530, 0.0000, 90.2409 );
  835.     CreateObject(1655, 1373.5939, -2424.4739, 33.3081, 57.5822, 0.0000, 90.2409 );
  836.     CreateObject(1655, 1373.1646, -2424.4941, 41.6484, 71.3332, 0.0000, 90.2409 );
  837.     CreateObject(1655, 1369.6245, -2460.2290, 48.6771, 13.7509, 0.0000, 191.6545 );
  838.     CreateObject(1655, 1422.3533, -2402.3047, 48.7021, 13.7509, 0.0000, 282.7546 );
  839.     CreateObject(4726, 1463.3341, -2396.3433, 49.8039, 0.0000, 0.0000, 0.0000 );
  840.     CreateObject(4727, 1463.3159, -2396.3982, 50.1277, 0.0000, 0.0000, 0.0000 );
  841.     CreateObject(7979, 1473.2761, -2546.4255, 15.6338, 0.0000, 0.0000, 90.2409 );
  842.     CreateObject(10948, 1905.3707, -2250.6580, 62.3934, 0.0000, 0.0000, 89.2774 );
  843.     CreateObject(5001, 1947.1947, -2290.4810, 32.9187, 80.7871, 312.7310, 133.2128 );
  844.     CreateObject(1633, 1951.4948, -2272.3796, 13.0586, 354.8434, 358.2811, 357.4217 );
  845.     CreateObject(1632, 1890.5048, -2273.5845, 59.1998, 16.3293, 0.0000, 87.6625 );
  846.     CreateObject(1632, 1886.0028, -2273.4019, 65.1168, 42.1124, 0.0000, 87.6625 );
  847.     CreateObject(1632, 1884.5913, -2273.3604, 71.9893, 67.8955, 0.0000, 87.6625 );
  848.     CreateObject(1632, 1885.8025, -2273.2524, 79.7829, 85.9437, 0.0000, 94.5380 );
  849.     CreateObject(1632, 1911.1649, -2211.9255, 83.1748, 16.3293, 0.0000, 1.7189 );
  850.     CreateObject(1632, 1911.1115, -2207.3425, 89.1723, 42.1124, 0.0000, 1.7189 );
  851.     CreateObject(1632, 1911.1431, -2205.3062, 96.6625, 61.8794, 0.0000, 358.2811 );
  852.     CreateObject(1655, 1847.4841, -2245.5437, 105.7248, 0.0000, 0.0000, 104.7472 );
  853.     CreateObject(13638, 1704.0999, -2331.6973, 71.6820, 0.0000, 0.0000, 109.1485 );
  854.     CreateObject(13592, 1402.8209, -2595.4497, 64.3669, 274.0564, 0.0000, 354.8434 );
  855.     CreateObject(4113, 1377.5581, -2576.0313, 23.3505, 0.0000, 0.0000, 278.3535 );
  856.     CreateObject(1684, 1886.1834, -2195.4612, 103.2395, 0.0000, 0.0000, 269.7591 );
  857.     CreateObject(1684, 1886.1470, -2205.5059, 103.2395, 0.0000, 0.0000, 269.7591 );
  858.     CreateObject(1684, 1886.1008, -2215.5513, 103.2453, 0.0000, 0.0000, 269.7591 );
  859.     CreateObject(13638, 1688.6693, -2333.5049, 79.7685, 0.0000, 0.0000, 18.9077 );
  860.     CreateObject(13562, 2120.8804, -2549.0730, 44.2037, 0.0000, 0.0000, 0.0000 );
  861.     CreateObject(1632, 2062.5491, -2548.6404, 14.9220, 17.1887, 0.0000, 268.0403 );
  862.     CreateObject(7073, 1978.3165, -2627.2849, 51.8151, 0.0000, 0.0000, 85.9437 );
  863.     CreateObject(1632, 1977.2985, -2616.7556, 13.8470, 11.1727, 359.1406, 180.3777 );
  864.     CreateObject(1632, 1977.3795, -2622.0452, 20.5220, 43.8313, 359.1406, 180.3777 );
  865.     CreateObject(1633, 1977.4076, -2623.6675, 27.2699, 64.4577, 0.0000, 179.5182 );
  866.     CreateObject(1633, 1977.4138, -2624.4458, 34.5979, 71.3332, 0.0000, 179.5182 );
  867.     CreateObject(1633, 1977.2733, -2624.1338, 41.3472, 82.5059, 0.0000, 179.5182 );
  868.     CreateObject(13722, 2045.7214, -2638.5005, 21.9834, 0.0000, 0.0000, 180.3776 );
  869.     CreateObject(13831, 2045.7052, -2638.5134, 21.9632, 0.0000, 0.0000, 180.3776 );
  870.     CreateObject(3256, 2130.8538, -2513.3096, 13.1846, 0.0000, 0.0000, 0.0000 );
  871.     CreateObject(1267, 2139.7283, -2489.1035, 28.6116, 0.0000, 0.0000, 0.0000 );
  872.     CreateObject(6066, 2111.7190, -2493.4143, 15.0473, 0.0000, 0.0000, 184.7789 );
  873.     CreateObject(1655, 2105.7898, -2493.8894, 13.6892, 2.5783, 0.0000, 274.9158 );
  874.     CreateObject(6875, 2137.0735, -2400.5913, 6.7954, 0.0000, 0.0000, 0.0000 );
  875.     CreateObject(6066, 2091.9978, -2448.8511, 15.0473, 0.0000, 0.0000, 232.0480 );
  876.     CreateObject(1655, 2088.4063, -2453.4890, 13.7720, 2.5783, 0.0000, 322.1847 );
  877.     CreateObject(9237, 2095.3101, -2638.3826, 20.5323, 0.0000, 0.0000, 282.6507 );
  878.     CreateObject(1632, 1438.7162, -2633.6597, 84.2600, 3.4377, 0.0000, 54.9000 );
  879.     CreateObject(4005, 1560.7459, -2382.5532, 20.3501, 0.0000, 0.0000, 3.4377 );
  880.     CreateObject(6066, 1565.3146, -2435.8921, 14.9547, 0.0000, 0.0000, 275.0197 );
  881.     CreateObject(1655, 1565.6495, -2441.8306, 13.7048, 3.4377, 0.0000, 4.2972 );
  882.     CreateObject(6099, 1860.5532, -2657.6689, 21.0845, 0.0000, 0.0000, 0.0000 );
  883.     CreateObject(6066, 1860.4592, -2581.1760, 15.0223, 0.0000, 0.0000, 86.9069 );
  884.     CreateObject(1655, 1860.6936, -2575.0767, 13.7720, 2.5783, 0.0000, 176.0804 );
  885.     CreateObject(1655, 1860.3190, -2633.5332, 36.9818, 2.5783, 0.0000, 0.8594 );
  886.     CreateObject(1632, 1389.1747, -2556.1677, 63.2709, 4.2972, 0.0000, 330.7792 );
  887.     CreateObject(11111, 1458.4629, -2497.3127, 2.1547, 329.0603, 0.0000, 269.7591 );
  888.     CreateObject(1378, 2036.9343, -2373.8577, 36.6131, 0.0000, 0.0000, 312.7310 );
  889.     CreateObject(1632, 1983.8982, -2421.1467, 13.8470, 4.2972, 0.0000, 310.9085 );
  890.     CreateObject(1632, 1981.2323, -2418.0398, 13.8470, 4.2972, 0.0000, 310.9085 );
  891.     CreateObject(1655, 1985.9271, -2416.7034, 17.1400, 30.0803, 0.0000, 311.0121 );
  892.     CreateObject(1632, 2020.6383, -2389.0981, 44.2427, 23.2048, 0.0000, 310.9085 );
  893.     // Objetos ( desativado por não ser a versão final )
  894. /*  CreateObject( 8171,-1055.467896,  464.439056, 10.195868,347.9679,90.2408, 134.0722); //Airport baan spawnpoint
  895.     CreateObject( 8171, -987.041077,  505.720734,-22.445286,282.6508, 0.0000, 315.3093);  //Airport baan spawnpoint
  896.     CreateObject(12814, 1271.888428,-1993.452637,495.079987,  0.0000, 0.0000,   0.0000); //BloodringArena spawnpoint
  897.     CreateObject( 4585,-2882.761475,-3096.203369,-21.231087,  0.0000, 0.0000,   0.0000); //BuildingJump spawnpoint
  898.     CreateObject( 5112,  302.000000, 1544.449951,577.099976,  0.0000, 0.0000, 344.9991); //WayOfGod
  899.     CreateObject(18450, 2241.198730, -553.135132,359.050201,  0.0000, 0.0000, 264.6025); //WayToAir
  900.     CreateObject(18450, 2225.719238, -551.588623,358.962128,  0.0000, 0.0000, 264.6025); //WayToAir
  901.     CreateObject( 8171, 1283.905640, 4288.508789,107.692383,  0.0000, 0.0000,   0.0000); //HalfPipe
  902.     CreateObject( 4562, 2251.377900,  362.028900,517.144900,  0.0000, 0.0000, 268.0403); //Trampoline
  903.     CreateObject( 3095, 2888.911600, 1029.213600, 11.920100,  0.0000, 0.0000,   0.0000); //Karting
  904.     CreateObject( 3095, 2888.913800, 1038.107200, 11.920100,  0.0000, 0.0000,   0.0000); //Karting
  905.     CreateObject( 3095, 2888.907000, 1047.096900, 11.922100,  0.0000, 0.0000,   0.0000); //Karting
  906.     CreateObject(18450, 1029.493530, 2787.852295,1066.784424, 0.0000, 0.0000,   0.0000); //WayToDeath
  907.     CreateObject(18450,-2383.949463, 2945.699219, 360.635925, 0.0000, 0.0000, 269.7591); //MonsterCrash
  908.     CreateObject( 5112,-3243.146000,  -68.502000,  13.912000, 0.0000,-2.5780,   0.0000); //AdminCastle
  909.     CreateObject( 5442,-3342.634000,  -68.508000,  12.644000, 0.0000,-4.2970,   0.0000); //AdminCastle
  910.     CreateObject(16685,-3620.709000, -180.695000,   1.185000, 0.0000, 0.0000,-126.3370); //AdminCastle
  911.     CreateObject( 4874,-3657.689000, -274.866000,   4.733000, 0.0000, 0.0000, 143.5260); //AdminCastle
  912.     CreateObject(16771,-3706.578000, -218.817000,   7.715000, 0.0000, 0.0000,-126.3370); //AdminCastle
  913.     CreateObject( 8419,-3360.156000,  -69.748000, 110.529000, 0.0000, 0.0000, 179.6220); //AdminCastle
  914.     CreateObject( 9241,-3349.805000,  -46.445000, 123.935000, 0.0000, 0.0000,   0.0000); //AdminCastle
  915.     CreateObject( 9241,-3350.004000,  -93.173000, 123.940000, 0.0000, 0.0000,   0.0000); //AdminCastle
  916.     CreateObject(3851,   -12.600080, 1541.148804,  94.431061, 0.000,269.8631,   0.0000); //GlassMadness
  917.     CreateObject(3851,   -12.596479, 1529.848267,  94.431427, 0.000,269.8631,   0.0000); //GlassMadness
  918.     CreateObject(3851,   -12.606895, 1510.512329,  94.434296, 0.000,269.8631,   0.0000); //GlassMadness
  919.     CreateObject(3851,   -24.516413, 1510.504517,  94.423111, 0.000,269.8631,   0.0000); //GlassMadness
  920.     CreateObject(3851,   -33.372280, 1510.526733,  94.417885, 0.000,269.8631,   0.0000); //GlassMadness
  921.     CreateObject(3851,   -33.368999, 1521.822754,  94.410744, 0.000,269.8631,   0.0000); //GlassMadness
  922.     CreateObject(3851,   -24.501865, 1541.143677,  94.420128, 0.000,269.8631,   0.0000); //GlassMadness
  923.     CreateObject(3851,   -33.386833, 1541.134033,  94.410126, 0.000,269.8631,   0.0000); //GlassMadness
  924.     CreateObject(17310, -2847.246338, 2185.518311, 798.000000,0.0000,180.3777,  0.0000); //FreeWay
  925.     CreateObject(17310, -2847.329590, 2197.264404, 798.000000,0.0000,180.3777,  0.0000); //FreeWay
  926.     CreateObject(17310, -2847.347656, 2201.005859, 799.250977,13.7510,180.3777, 0.0000); //FreeWay
  927.     CreateObject(18450, -3193.777588,-1210.862671,1397.179810,0.0000, 0.0000, 333.3575); //WayToChilliad
  928.     CreateObject(18450,  -673.209045,-3053.225342, 704.263550,0.0000, 0.0000,  90.2409); //DeadJump
  929.     CreateObject(18450,  3458.541016,-2980.149170,   2.165215,0.0000, 0.0000,   0.0000); //WallRide
  930.     CreateObject(18450,   355.043100,  -82.583000, 557.081600,0.0000, 0.0000,   0.0000); //UpsideDown
  931.     CreateObject(18450,  2929.756600, 1283.499800, 729.815700,0.0000, 0.0000,   0.0000); //WayToPiramide
  932.     CreateObject(4726,   1544.695600,-1356.250600,1874.5605,  0.0000, 0.0000,   0.0000); //LSTower
  933.     CreateObject(18450,  1995.1489,    911.279100, 274.6017,  0.0000,354.8434,269.7591); //RollerCoaster
  934.     CreateObject(5706,   2974.3669,  -2723.2007,     4.0526,  0.0000, 0.0000,   0.0000); //Bounce
  935.     CreateObject(8417,  -2334.792480,4063.763875,  10.769835,0.0000, 0.0000,   0.0000); //CarSumo*/
  936.     //objetos no Spawn
  937.     CreateObject(3080, 371.63241577148, -1930.5822753906, 7.9719877243042, 0.000000, 0.000000, 0.000000); //
  938.     CreateObject(3080, 367.541015625, -1930.5400390625, 7.9719877243042, 0.000000, 0.000000, 0.000000); //
  939.     CreateObject(3080, 371.61190795898, -1924.1186523438, 7.9719877243042, 0.000000, 0.000000, 180.0849609375); //
  940.     CreateObject(3080, 367.47549438477, -1924.1087646484, 7.9719877243042, 0.000000, 0.000000, 180.08239746094); //
  941.     CreateObject(3461, 390.41748046875, -2071.5671386719, 8.4109487533569, 0.000000, 0.000000, 0.000000); //
  942.     CreateObject(3461, 386.88305664063, -2071.671875, 8.4109487533569, 0.000000, 0.000000, 0.000000); //
  943.     CreateObject(3461, 388.57473754883, -2072.6472167969, 8.4109487533569, 0.000000, 0.000000, 0.000000); //
  944.     CreateObject(3461, 380.86114501953, -2020.6784667969, 10.825011253357, 0.000000, 0.000000, 0.000000); //
  945.     CreateObject(3472, 386.6728515625, -2061.9716796875, 7.867832660675, 0.000000, 0.000000, 0.000000); //
  946.     CreateObject(3472, 381.0168762207, -2070.9750976563, 7.9810810089111, 0.000000, 0.000000, 0.000000); //
  947.     CreateObject(3524, 373.94509887695, -1927.2840576172, 9.5572147369385, 0.000000, 0.000000, 0.000000); //
  948.     CreateObject(3524, 365.32040405273, -1927.3651123047, 9.5572147369385, 0.000000, 0.000000, 0.000000); //
  949.     CreateObject(3528, 374.48114013672, -2068.9194335938, 10.056175231934, 0.000000, 0.000000, 354.7607421875); //
  950.     CreateObject(7392, 395.50885009766, -2066.8366699219, 23.486198425293, 0.000000, 0.000000, 0.000000); //
  951.     CreateObject(2114, 392.75390625, -2036.3583984375, 12.075837135315, 0.000000, 0.000000, 0.000000); //
  952.     CreateObject(3264, 361.22702026367, -1658.6977539063, 31.886119842529, 0.000000, 0.000000, 0.000000); //
  953.     CreateObject(1337, 361.2265625, -1658.697265625, 32.386119842529, 0.000000, 0.000000, 0.000000); //
  954.  
  955.     return 1;
  956. }
  957.  
  958. public SendPlayerFormattedText(playerid, const str[], define)
  959. {
  960.     new tmpbuf[256];
  961.     format(tmpbuf, sizeof(tmpbuf), str, define);
  962.     SendClientMessage(playerid, 0xFF004040, tmpbuf);
  963. }
  964.  
  965. public SendAllFormattedText(playerid, const str[], define)
  966. {
  967.     new tmpbuf[256];
  968.     format(tmpbuf, sizeof(tmpbuf), str, define);
  969.     SendClientMessageToAll(0xFFFF00AA, tmpbuf);
  970. }
  971.  
  972. strtok(const string[], &index)
  973. {
  974.     new length = strlen(string);
  975.     while ((index < length) && (string[index] <= ' '))
  976.     {
  977.         index++;
  978.     }
  979.  
  980.     new offset = index;
  981.     new result[20];
  982.     while ((index < length) && (string[index] > ' ') && ((index - offset) < (sizeof(result) - 1)))
  983.     {
  984.         result[index - offset] = string[index];
  985.         index++;
  986.     }
  987.     result[index - offset] = EOS;
  988.     return result;
  989. }
  990.  
  991. public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
  992. {
  993.     if(dialogid == 2) {
  994.         if(response) {
  995.         } else {
  996.     }
  997.     return 1;
  998. }
  999.     if(dialogid == 1) {
  1000.         if(response) {
  1001.             new message[256];
  1002.             new string[128], pName[MAX_PLAYER_NAME];
  1003.             GetPlayerName(playerid,pName,MAX_PLAYER_NAME);
  1004.             if(listitem == 0)
  1005.             {
  1006.                 ResetPlayerWeapons(playerid);
  1007.                 format(message, 256, "Você foi para o Drift da The Big Ear.");
  1008.                 SendClientMessage(playerid, Amarelo, message);
  1009.                 format(string,sizeof string,"%s(%d) Foi para o Drift da The Big Ear (/Teles).",pName, playerid);
  1010.                 SendClientMessageToAll(Branco, string);
  1011.                 SetPlayerPos(playerid,-313.4184,1537.2759,75.5625);
  1012.             } else if(listitem == 1) {
  1013.                 ResetPlayerWeapons(playerid);
  1014.                 format(message, 256, "Você foi para o Drift de San Fierro");
  1015.                 SendClientMessage(playerid, Amarelo, message);
  1016.                 format(string,sizeof string,"%s(%d) Foi para o drift de SF (/Teles).",pName, playerid);
  1017.                 SendClientMessageToAll(Branco, string);
  1018.                 SetPlayerPos(playerid, -2406.9268,-610.9659,132.7917);
  1019.             } else if(listitem == 2) {
  1020.                 ResetPlayerWeapons(playerid);
  1021.                 format(message, 256, "Você foi para o Drift de Las Venturas");
  1022.                 SendClientMessage(playerid, Amarelo, message);
  1023.                 format(string,sizeof string,"%s(%d) Foi para o drift de LV (/Teles).",pName, playerid);
  1024.                 SendClientMessageToAll(Branco, string);
  1025.                 SetPlayerPos(playerid, 2326.1724,1388.3887,42.8203);
  1026.             } else if(listitem == 3) {
  1027.                 ResetPlayerWeapons(playerid);
  1028.                 format(message, 256, "Você foi para o Aeroporto de Las Venturas.");
  1029.                 SendClientMessage(playerid, Amarelo, message);
  1030.                 format(string,sizeof string,"%s(%d) Foi para o Aero LV (/Teles).",pName, playerid);
  1031.                 SendClientMessageToAll(Branco, string);
  1032.                 SetPlayerPos(playerid,1705.7178,1614.3599,10.1384);
  1033.             } else if(listitem == 4) {
  1034.                 ResetPlayerWeapons(playerid);
  1035.                 format(message, 256, "Você foi para a Avenida de Las Venturas.");
  1036.                 SendClientMessage(playerid, Amarelo, message);
  1037.                 format(string,sizeof string,"%s(%d) Foi para Las Venturas (/Teles).",pName, playerid);
  1038.                 SendClientMessageToAll(Branco, string);
  1039.                 SetPlayerPos(playerid,2082.6111,872.0411,7.0866);
  1040.             } else if(listitem == 5) {
  1041.                 ResetPlayerWeapons(playerid);
  1042.                 format(message, 256, "Você foi para o Aeroporto Abandonado.");
  1043.                 SendClientMessage(playerid, Amarelo, message);
  1044.                 format(string,sizeof string,"%s(%d) Foi para o Aero Abandonado. (/Teles).",pName, playerid);
  1045.                 SendClientMessageToAll(Branco, string);
  1046.                 SetPlayerPos(playerid,411.4620,2529.4597,16.6033);
  1047.             } else if(listitem == 6) {
  1048.                 ResetPlayerWeapons(playerid);
  1049.                 format(message, 256, "Você foi para a Área de Hydras.");
  1050.                 SendClientMessage(playerid, Amarelo, message);
  1051.                 format(string,sizeof string,"%s(%d) Foi para a Área de Hydras. (/Teles).",pName, playerid);
  1052.                 SendClientMessageToAll(Branco, string);
  1053.                 SetPlayerPos(playerid, 286.7869,2052.0757,17.6406);
  1054.             } else if(listitem == 7) {
  1055.                 ResetPlayerWeapons(playerid);
  1056.                 format(message, 256, "Você foi para a Área de x1 Walking.");
  1057.                 SendClientMessage(playerid, Amarelo, message);
  1058.                 format(string,sizeof string,"%s(%d) Foi para a Área x1 Walking. (/Teles).",pName, playerid);
  1059.                 SendClientMessageToAll(Branco, string);
  1060.                 GivePlayerWeapon(playerid, 24, 9999); //Deagle, 9999 balas
  1061.                 GivePlayerWeapon(playerid, 27, 9999); //Combat Shotgun, 9999 balas
  1062.                 GivePlayerWeapon(playerid, 31, 9999); //M4, 9999 balas
  1063.                 GivePlayerWeapon(playerid, 34, 9999); //Sniper, 9999 balas
  1064.                 SetPlayerHealth(playerid, 100);
  1065.                 SetPlayerArmour(playerid,100);
  1066.                 SetPlayerPos(playerid, -1754.3727,687.4343,105.1406);
  1067.             } else if(listitem == 8) {
  1068.                 ResetPlayerWeapons(playerid);
  1069.                 format(message, 256, "Você foi para a Área de x1 Running.");
  1070.                 SendClientMessage(playerid, Amarelo, message);
  1071.                 format(string,sizeof string,"%s(%d) Foi para a Área de x1 Running. (/Teles).",pName, playerid);
  1072.                 SendClientMessageToAll(Branco, string);
  1073.                 GivePlayerWeapon(playerid, 22, 9999); //9mm, 9999 balas
  1074.                 GivePlayerWeapon(playerid, 26, 9999); //Sawn-Off, 9999 balas
  1075.                 GivePlayerWeapon(playerid, 32, 9999); //Micro Uzi, 9999 balas
  1076.                 SetPlayerHealth(playerid, 100);
  1077.                 SetPlayerArmour(playerid,100);
  1078.                 SetPlayerPos(playerid, -1757.6378,781.9347,167.6563);
  1079.             } else if(listitem == 9) {
  1080.                 ResetPlayerWeapons(playerid);
  1081.                 format(message, 256, "Você voltou para a Área de Respawn.");
  1082.                 SendClientMessage(playerid, Amarelo, message);
  1083.                 format(string,sizeof string,"%s(%d) Voltou para a Área de Respawn (/Teles).",pName, playerid);
  1084.                 SendClientMessageToAll(Branco, string);
  1085.                 SetPlayerPos(playerid,372.6281,-2055.2014,14.0436);
  1086.             } else if(listitem == 10) {
  1087.                 ResetPlayerWeapons(playerid);
  1088.                 format(message, 256, "Você foi para a Área do X1 Tenso!");
  1089.                 SendClientMessage(playerid, Amarelo, message);
  1090.                 GivePlayerWeapon(playerid, 10, 1); //Dildo roxo
  1091.                 format(string,sizeof string,"%s(%d) Foi para a Área do X1 Tenso! (/Teles).",pName, playerid);
  1092.                 SendClientMessageToAll(Branco, string);
  1093.                 new rand = random(sizeof(gRandomx1tenso));
  1094.                 SetPlayerPos(playerid, gRandomx1tenso[rand][0], gRandomx1tenso[rand][1], gRandomx1tenso[rand][2]);
  1095.             } else if(listitem == 11) {
  1096.                 ResetPlayerWeapons(playerid);
  1097.                 format(message, 256, "Objetos retirados do Gamemode NNF Tuning v2.6. Todos os créditos vão ao Criador do NNF Tuning.");
  1098.                 SendClientMessage(playerid, Vermelho, message);
  1099.                 format(message, 256, "Você foi para o Aeroporto de Los Santos.");
  1100.                 SendClientMessage(playerid, Amarelo, message);
  1101.                 format(string,sizeof string,"%s(%d) Foi para o Aeroporto de Los Santos (Área de Stunts)(/Teles).",pName, playerid);
  1102.                 SendClientMessageToAll(Branco, string);
  1103.                 SetPlayerPos(playerid, 1963.9934,-2190.3323,13.5469);
  1104.             } else if(listitem == 12) {
  1105.                 ResetPlayerWeapons(playerid);
  1106.                 format(message, 256, "Você foi para o Stunt 1.");
  1107.                 SendClientMessage(playerid, Amarelo, message);
  1108.                 format(string,sizeof string,"%s(%d) Foi para o Stunt 1 (/Teles).",pName, playerid);
  1109.                 SendClientMessageToAll(Branco, string);
  1110.                 SetPlayerPos(playerid, -2238.0725,314.1881,35.3203);
  1111.             } else if(listitem == 13) {
  1112.                 ResetPlayerWeapons(playerid);
  1113.                 format(message, 256, "Você foi para o Stunt 2.");
  1114.                 SendClientMessage(playerid, Amarelo, message);
  1115.                 format(string,sizeof string,"%s(%d) Foi para o Stunt 2 (/Teles).",pName, playerid);
  1116.                 SendClientMessageToAll(Branco, string);
  1117.                 SetPlayerPos(playerid, -1995.6810,813.8735,45.4453);
  1118.             } else if(listitem == 14) {
  1119.                 ResetPlayerWeapons(playerid);
  1120.                 format(message, 256, "Você foi para o Stunt 3.");
  1121.                 SendClientMessage(playerid, Amarelo, message);
  1122.                 format(string,sizeof string,"%s(%d) Foi para o Stunt 3 (/Teles).",pName, playerid);
  1123.                 SendClientMessageToAll(Branco, string);
  1124.                 SetPlayerPos(playerid, 1960.7417,1468.3936,10.8203);
  1125.             } else if(listitem == 15) {
  1126.                 ResetPlayerWeapons(playerid);
  1127.                 format(message, 256, "Você foi para o Stunt 4.");
  1128.                 SendClientMessage(playerid, Amarelo, message);
  1129.                 format(string,sizeof string,"%s(%d) Foi para o Stunt 4 (/Teles).",pName, playerid);
  1130.                 SendClientMessageToAll(Branco, string);
  1131.                 SetPlayerPos(playerid, -1666.8218,524.3950,38.5078);
  1132.             } else if(listitem == 16) {
  1133.                 ResetPlayerWeapons(playerid);
  1134.                 format(message, 256, "Você foi para o Stunt 5.");
  1135.                 SendClientMessage(playerid, Amarelo, message);
  1136.                 format(string,sizeof string,"%s(%d) Foi para o Stunt 5 (/Teles).",pName, playerid);
  1137.                 SendClientMessageToAll(Branco, string);
  1138.                 SetPlayerPos(playerid, 1925.1797,2003.8167,9.9304);
  1139.             } else if(listitem == 17) {
  1140.                 ResetPlayerWeapons(playerid);
  1141.                 format(message, 256, "Você foi para o Stunt 6.");
  1142.                 SendClientMessage(playerid, Amarelo, message);
  1143.                 format(string,sizeof string,"%s(%d) Foi para o Stunt 6 (/Teles).",pName, playerid);
  1144.                 SendClientMessageToAll(Branco, string);
  1145.                 SetPlayerPos(playerid, -2015.6881,-310.9070,35.2860);
  1146.             } else if(listitem == 18) {
  1147.                 ResetPlayerWeapons(playerid);
  1148.                 format(message, 256, "Você foi para o Stunt 7.");
  1149.                 SendClientMessage(playerid, Amarelo, message);
  1150.                 format(string,sizeof string,"%s(%d) Foi para o Stunt 7 (/Teles).",pName, playerid);
  1151.                 SendClientMessageToAll(Branco, string);
  1152.                 SetPlayerPos(playerid, 2032.0288,1001.1210,10.8131);
  1153.             } else if(listitem == 19) {
  1154.                 ResetPlayerWeapons(playerid);
  1155.                 format(message, 256, "Você foi para o Stunt 8.");
  1156.                 SendClientMessage(playerid, Amarelo, message);
  1157.                 format(string,sizeof string,"%s(%d) Foi para o Stunt 8 (/Teles).",pName, playerid);
  1158.                 SendClientMessageToAll(Branco, string);
  1159.                 SetPlayerPos(playerid, 2244.7480,1346.4546,10.8203);
  1160.             } else if(listitem == 20) {
  1161.                 ResetPlayerWeapons(playerid);
  1162.                 format(message, 256, "Você foi para o Drag de SF.");
  1163.                 SendClientMessage(playerid, Amarelo, message);
  1164.                 format(string,sizeof string,"%s(%d) Foi para o Drag de SF (/Teles).",pName, playerid);
  1165.                 SendClientMessageToAll(Branco, string);
  1166.                 SetPlayerPos(playerid, -1912.7190,-1344.7659,40.5864);
  1167.             } else if(listitem == 21) {
  1168.                 ResetPlayerWeapons(playerid);
  1169.                 format(message, 256, "Você foi para o Drag de LV.");
  1170.                 SendClientMessage(playerid, Amarelo, message);
  1171.                 format(string,sizeof string,"%s(%d) Foi para o Drag de LV (/Teles).",pName, playerid);
  1172.                 SendClientMessageToAll(Branco, string);
  1173.                 SetPlayerPos(playerid, 1799.2687,865.2097,10.5769);
  1174.             } else if(listitem == 22) {
  1175.                 ResetPlayerWeapons(playerid);
  1176.                 format(message, 256, "Você foi para o Drag de LS.");
  1177.                 SendClientMessage(playerid, Amarelo, message);
  1178.                 format(string,sizeof string,"%s(%d) Foi para o Drag de LS (/Teles).",pName, playerid);
  1179.                 SendClientMessageToAll(Branco, string);
  1180.                 SetPlayerPos(playerid, 2843.5945,-2072.5918,11.1016);
  1181.             } else if(listitem == 23) {
  1182.                 ResetPlayerWeapons(playerid);
  1183.                 format(message, 256, "Você foi o Offroad 1.");
  1184.                 SendClientMessage(playerid, Amarelo, message);
  1185.                 format(string,sizeof string,"%s(%d) Foi para o Offroad 1 (/Teles).",pName, playerid);
  1186.                 SendClientMessageToAll(Branco, string);
  1187.                 SetPlayerPos(playerid, -323.2494,-1919.1023,13.3672);
  1188.             } else if(listitem == 24) {
  1189.                 ResetPlayerWeapons(playerid);
  1190.                 format(message, 256, "Você foi o Offroad 2.");
  1191.                 SendClientMessage(playerid, Amarelo, message);
  1192.                 format(string,sizeof string,"%s(%d) Foi para o Offroad 2 (/Teles).",pName, playerid);
  1193.                 SendClientMessageToAll(Branco, string);
  1194.                 SetPlayerPos(playerid, -1969.2614,-2096.4246,78.8990);
  1195.                
  1196.             }
  1197.         }
  1198.     }
  1199.     return 0;
  1200. }
  1201.  
  1202. IsValidSkin(skinid) // local onde proibe as skin bugada
  1203. {
  1204.     #define MAX_BAD_SKINS   17
  1205.     new badSkins[MAX_BAD_SKINS] = {
  1206.         1, 3, 4, 5, 6, 8, 42, 65, 74, 86,
  1207.         119, 149, 208, 273, 289, 270, 271
  1208.     };
  1209.     if  (skinid < 0 || skinid > 299) return false;
  1210.     for (new i = 0; i < MAX_BAD_SKINS; i++) {
  1211.         if (skinid == badSkins[i]) return false;
  1212.     }
  1213.     #undef MAX_BAD_SKINS
  1214.     return true;
  1215. }
  1216.  
  1217. public OnPlayerStateChange(playerid, newstate, oldstate)
  1218. {
  1219.     if(newstate == PLAYER_STATE_DRIVER || newstate == PLAYER_STATE_PASSENGER)
  1220.     {
  1221.         VehicleModel[playerid] = GetVehicleModel(GetPlayerVehicleID(playerid));
  1222.         new string[64];
  1223.         switch(0)
  1224.         {
  1225.             case 0: format(string,sizeof(string),"~y~%s",VehicleNames[VehicleModel[playerid]-400]);
  1226.         }
  1227.         GameTextForPlayer(playerid,string,2000,1);
  1228.         SetTimerEx("CheckForChange",6000,true,"i",playerid);
  1229.         return 1;
  1230.     }
  1231.     return 1;
  1232. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement