Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* NNF 4Fun by Merini e Sindacco |Início: 17/04/10 14:10:20
- Nao Retire Os Creditos Pois Quem Tirar E Sempre Un Noob ¬¬
- visite: www.nnfclan.com
- ////////////////////Versões e Changelog
- Beta 0.1.1 - Merini e Sindacco - 17/04/10 - Base, Carros, Teleports e Menus.
- Beta 0.1.2 - Merini - 18/04/10 - Pickups, Novos Teleportes, Remoção de Carros no Spawn.
- 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.
- Beta 0.1.5 - Merini - 18/04/10 - Teleportes e carros novos: stunt1, stunt2, stunt3. stunt4, stunt5, dragsf, draglv, dragls.
- Beta 0.1.6 - Merini - 18/04/10 - Teleportes e carros novos: stunt6, stunt7, driftlv, driftsf, /tune, /javolto e /voltei.
- Beta 0.1.7 - Merini - 19/04/10 - /Tune arrumado, /vr adicionado.
- Beta 0.1.8 - Merini - 22/04/10 - Carros adicionados no Aeroabandonado.
- Beta 0.1.9 - Merini - 23/04/10 - Objetos adicionados ao Spawn, /ajuda corrigido e /xcmds adicionados, abreviação do /teleportes (agora: /teles).
- 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.
- Beta 0.2.1 - Merini - 30/04/10 - Auto carregamento e descarregamento do NNFAdmin SCript retirado por Bugs.
- ///////////////////////////////////////
- */
- #include <a_samp>
- #pragma tabsize 0
- #define AzulClaro 0x33CCFFAA
- #define Azul 0x0000BBAA
- #define Laranja 0xFF9900AA
- #define Cinza 0xAFAFAFAA
- #define Verde 0x33AA33AA
- #define Vermelho 0xAA3333AA
- #define Amarelo 0xFFFF00AA
- #define Branco 0xFFFFFFAA
- #define Texto 0xBDBDBDAA
- #define Texto2 0xDEDEDEAA
- #define Titulo 0x96D742AA
- #define PocketMoney 5000 // Quanto o player recebe de $ no spawn
- #define INACTIVE_PLAYER_ID 544
- forward SetPlayerRandomSpawn(playerid);
- forward SetupPlayerForClassSelection(playerid);
- forward GameModeExitFunc();
- forward SendPlayerFormattedText(playerid, const str[], define);
- forward public SendAllFormattedText(playerid, const str[], define);
- new strdialog[3100];
- IsPlayerInPlane(playerid) //para o Player não tunar Aviões
- {
- if(IsPlayerInAnyVehicle(playerid)){
- new vehicleid = GetPlayerVehicleID(playerid);
- new vehicleclass = GetVehicleModel(vehicleid);
- switch(vehicleclass)
- {
- case 460:return 1;
- case 464:return 1;
- case 476:return 1;
- case 511:return 1;
- case 512:return 1;
- case 513:return 1;
- case 519:return 1;
- case 520:return 1;
- case 539:return 1;
- case 553:return 1;
- case 577:return 1;
- case 592:return 1;
- case 593:return 1;
- }
- }
- return 0;
- }
- /*--------------------------------------------------------------------------- */
- IsPlayerInHelicopter(playerid) //Para o player não tunar Helicopteros
- {
- if(IsPlayerInAnyVehicle(playerid)){
- new vehicleid = GetPlayerVehicleID(playerid);
- new vehicleclass = GetVehicleModel(vehicleid);
- switch(vehicleclass)
- {
- case 417:return 1;
- case 425:return 1;
- case 447:return 1;
- case 465:return 1;
- case 469:return 1;
- case 487:return 1;
- case 488:return 1;
- case 497:return 1;
- case 501:return 1;
- case 548:return 1;
- case 563:return 1;
- }
- }
- return 0;
- }
- /*--------------------------------------------------------------------------- */
- IsPlayerInMoto(playerid) //Para o player não tunar Motos
- {
- if(IsPlayerInAnyVehicle(playerid)){
- new vehicleid = GetPlayerVehicleID(playerid);
- new vehicleclass = GetVehicleModel(vehicleid);
- switch(vehicleclass)
- {
- case 523:return 1;
- case 481:return 1;
- case 509:return 1;
- case 510:return 1;
- case 581:return 1;
- case 462:return 1;
- case 521:return 1;
- case 463:return 1;
- case 522:return 1;
- case 461:return 1;
- case 448:return 1;
- case 468:return 1;
- case 586:return 1;
- }
- }
- return 0;
- }
- new iSpawnSet[MAX_PLAYERS];
- //Pickups Spawn
- new PickupTeleportes;
- new PickupAjuda;
- new PickupCreditos;
- new VehicleNames[212][] = {
- {"Landstalker"},{"Bravura"},{"Buffalo"},{"Linerunner"},{"Perrenial"},{"Sentinel"},{"Dumper"},
- {"Firetruck"},{"Trashmaster"},{"Stretch"},{"Manana"},{"Infernus"},{"Voodoo"},{"Pony"},{"Mule"},
- {"Cheetah"},{"Ambulance"},{"Leviathan"},{"Moonbeam"},{"Esperanto"},{"Taxi"},{"Washington"},
- {"Bobcat"},{"Mr Whoopee"},{"BF Injection"},{"Hunter"},{"Premier"},{"Enforcer"},{"Securicar"},
- {"Banshee"},{"Predator"},{"Bus"},{"Rhino"},{"Barracks"},{"Hotknife"},{"Trailer 1"},{"Previon"},
- {"Coach"},{"Cabbie"},{"Stallion"},{"Rumpo"},{"RC Bandit"},{"Romero"},{"Packer"},{"Monster"},
- {"Admiral"},{"Squalo"},{"Seasparrow"},{"Pizzaboy"},{"Tram"},{"Trailer 2"},{"Turismo"},
- {"Speeder"},{"Reefer"},{"Tropic"},{"Flatbed"},{"Yankee"},{"Caddy"},{"Solair"},{"Berkley's RC Van"},
- {"Skimmer"},{"PCJ-600"},{"Faggio"},{"Freeway"},{"RC Baron"},{"RC Raider"},{"Glendale"},{"Oceanic"},
- {"Sanchez"},{"Sparrow"},{"Patriot"},{"Quad"},{"Coastguard"},{"Dinghy"},{"Hermes"},{"Sabre"},
- {"Rustler"},{"ZR-350"},{"Walton"},{"Regina"},{"Comet"},{"BMX"},{"Burrito"},{"Camper"},{"Marquis"},
- {"Baggage"},{"Dozer"},{"Maverick"},{"News Chopper"},{"Rancher"},{"FBI Rancher"},{"Virgo"},{"Greenwood"},
- {"Jetmax"},{"Hotring"},{"Sandking"},{"Blista Compact"},{"Police Maverick"},{"Boxville"},{"Benson"},
- {"Mesa"},{"RC Goblin"},{"Hotring Racer A"},{"Hotring Racer B"},{"Bloodring Banger"},{"Rancher"},
- {"Super GT"},{"Elegant"},{"Journey"},{"Bike"},{"Mountain Bike"},{"Beagle"},{"Cropdust"},{"Stunt"},
- {"Tanker"}, {"Roadtrain"},{"Nebula"},{"Majestic"},{"Buccaneer"},{"Shamal"},{"Hydra"},{"FCR-900"},
- {"NRG-500"},{"HPV1000"},{"Cement Truck"},{"Tow Truck"},{"Fortune"},{"Cadrona"},{"FBI Truck"},
- {"Willard"},{"Forklift"},{"Tractor"},{"Combine"},{"Feltzer"},{"Remington"},{"Slamvan"},
- {"Blade"},{"Freight"},{"Streak"},{"Vortex"},{"Vincent"},{"Bullet"},{"Clover"},{"Sadler"},
- {"Firetruck LA"},{"Hustler"},{"Intruder"},{"Primo"},{"Cargobob"},{"Tampa"},{"Sunrise"},{"Merit"},
- {"Utility"},{"Nevada"},{"Yosemite"},{"Windsor"},{"Monster A"},{"Monster B"},{"Uranus"},{"Jester"},
- {"Sultan"},{"Stratum"},{"Elegy"},{"Raindance"},{"RC Tiger"},{"Flash"},{"Tahoma"},{"Savanna"},
- {"Bandito"},{"Freight Flat"},{"Streak Carriage"},{"Kart"},{"Mower"},{"Duneride"},{"Sweeper"},
- {"Broadway"},{"Tornado"},{"AT-400"},{"DFT-30"},{"Huntley"},{"Stafford"},{"BF-400"},{"Newsvan"},
- {"Tug"},{"Trailer 3"},{"Emperor"},{"Wayfarer"},{"Euros"},{"Hotdog"},{"Club"},{"Freight Carriage"},
- {"Trailer 3"},{"Andromada"},{"Dodo"},{"RC Cam"},{"Launch"},{"Police Car (LSPD)"},{"Police Car (SFPD)"},
- {"Police Car (LVPD)"},{"Police Ranger"},{"Picador"},{"S.W.A.T. Van"},{"Alpha"},{"Phoenix"},{"Glendale"},
- {"Sadler"},{"Luggage Trailer A"},{"Luggage Trailer B"},{"Stair Trailer"},{"Boxville"},{"Farm Plow"},
- {"Utility Trailer"}
- };
- new NicksProibidos[][MAX_PLAYER_NAME] =
- {
- "com1","com2","com3","com4","com5","com6","com7","com8","com9","lpt1","lpt2","lpt3","lpt4","lpt5","lpt6","lpt7","lpt8","lpt9",
- "Carl","Rocky","Sony","clock$","prn","nul","con",
- "Azucar","CON","con","con1","aux","aux1","prn","PRN","AUX"
- };
- new Float:gRandomPlayerSpawns[1][3] = {
- {389.0467,-2069.7053,7.8359} //Spawn no Deck de LS
- };
- //posição ausente do NNF Tuning 2.6
- new Float:gRandomAusentePos[3][3] = {
- {-218.0189,1408.7489,27.7734},
- {-219.8288,1409.1951,27.7734},
- {-218.6217,1410.6240,27.7734}
- };
- new Float:gRandomx1tenso[2][3] = {
- {-1519.9575,676.4520,139.2734},
- {-1543.0043,698.1716,139.2734}
- };
- new gActivePlayers[MAX_PLAYERS];
- new gLastGaveCash[MAX_PLAYERS];
- new VehicleModel[MAX_PLAYERS];
- main()
- {
- print("|----------------------|");
- print("| NNF4Fun Beta |");
- print("| By Merini & Sindacco |");
- print("| Thanks to NNF Clan |");
- print("| Loaded |");
- print("|----------------------|");
- }
- public OnPlayerRequestSpawn(playerid)
- {
- return 1;
- }
- public OnPlayerPickUpPickup(playerid, pickupid)
- {
- if(pickupid == PickupTeleportes) {
- format(strdialog, sizeof(strdialog),"\n");
- format(strdialog, sizeof(strdialog),"%s%s",strdialog,"\n\n");
- format(strdialog, sizeof(strdialog),"%s%s",strdialog,"\n");
- 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";
- ShowPlayerDialog(playerid,1,DIALOG_STYLE_LIST,"Escolha onde você quer ir:",listitems,"Ir","Fechar");
- }
- if(pickupid == PickupAjuda) {
- 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");
- }
- if(pickupid == PickupCreditos) {
- 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");
- }
- return 1;
- }
- public OnPlayerConnect(playerid)
- {
- SendDeathMessage(255, playerid, 200);
- SendPlayerFormattedText(playerid, "Bem-vindo! Para ajuda, digite: /ajuda", 0);
- SendPlayerFormattedText(playerid, "Visite: www.nnfclan.com", 0);
- gActivePlayers[playerid]++;
- gLastGaveCash[playerid] = GetTickCount();
- for(new i; i<sizeof(NicksProibidos); i++) //nicks proibidos
- {
- new fulano_entrou[40];
- GetPlayerName(playerid,fulano_entrou,40);
- if(strcmp(NicksProibidos[i],fulano_entrou,true)==0)
- {
- new string2[256];
- format(string2, sizeof(string2), "[ADMIN-BOT]: %s foi banido do servidor. (Motivo: Nick Proibido)" ,fulano_entrou);
- SendClientMessageToAll(Vermelho, string2);
- SendClientMessage(playerid,Verde,"ae... porque você não crasha a mãe?");
- Ban(playerid);
- }
- }
- return 1;
- }
- public OnPlayerDisconnect(playerid)
- {
- SendDeathMessage(255, playerid, 201);
- gActivePlayers[playerid]--;
- }
- public OnPlayerCommandText(playerid, cmdtext[])
- {
- new cmd[256];
- new idx;
- new string[128], pName[MAX_PLAYER_NAME];
- GetPlayerName(playerid,pName,MAX_PLAYER_NAME);
- cmd = strtok(cmdtext, idx);
- if(strcmp(cmd, "/ajuda", true) == 0) {
- 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");
- return 1;
- }
- if(strcmp(cmd, "/Creditos", true) == 0) {
- 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");
- return 1;
- }
- if(strcmp(cmd, "/kill", true) == 0) {
- SetPlayerArmour(playerid, 0);
- SetPlayerHealth(playerid, 0);
- format(string,sizeof string,"%s(%d) Se Suicidou. (/Kill)",pName, playerid);
- SendClientMessageToAll(Branco, string);
- return 1;
- }
- if(strcmp(cmd, "/tun", true) == 0) {
- if(!IsPlayerInPlane(playerid) && !IsPlayerInHelicopter(playerid) && !IsPlayerInMoto(playerid))
- {
- if(IsPlayerInAnyVehicle(playerid))
- {
- GetPlayerVehicleID (playerid);
- AddVehicleComponent(GetPlayerVehicleID(playerid),1010);
- AddVehicleComponent(GetPlayerVehicleID(playerid),1085);
- AddVehicleComponent(GetPlayerVehicleID(playerid),1087);
- ChangeVehicleColor(GetPlayerVehicleID(playerid),0,1);
- format(string,sizeof string,"%s(%d) Tunou seu carro! (/Tun)",pName, playerid);
- SendClientMessageToAll(Branco, string);
- }
- else
- {
- SendClientMessage(playerid, Vermelho, "Erro! Você precisa estar em um veículo!");
- }
- }
- else
- {
- SendClientMessage(playerid, Vermelho, "Erro! Você só pode tunar carros!");
- }
- return 1;
- }
- if(strcmp(cmd, "/vr", true) == 0) {
- if(!IsPlayerInAnyVehicle(playerid))
- {
- SendClientMessage(playerid, Vermelho, "Você precisa estar em um veículo para virar ele!");
- return 1;
- }
- new idveiculo;
- new Float:X, Float:Y, Float:Z, Float:angulo;
- idveiculo = GetPlayerVehicleID(playerid);
- GetVehicleZAngle(idveiculo, angulo);
- GetPlayerPos(playerid, X, Y, Z);
- SetVehiclePos(idveiculo, X, Y, Z + 3);
- SetVehicleZAngle(idveiculo, angulo + 5);
- SetVehicleZAngle(idveiculo, angulo);
- SendClientMessage(playerid, Vermelho, "Você virou seu veículo!");
- format(string,sizeof string,"%s(%d) Virou seu carro!(/vr)",pName, playerid);
- SendClientMessageToAll(Branco, string);
- return 1;
- }
- if(strcmp("/nrg", cmdtext, true) == 0)
- {
- if(IsPlayerInAnyVehicle(playerid))
- {
- return SendClientMessage(playerid, Vermelho, "Voce ja esta em um veiculo");
- }
- format(string,sizeof string,"%s(%d) Criou uma NRG-500! (/Nrg)",pName, playerid);
- SendClientMessageToAll(Branco, string);
- new Float:pos0 = 0, Float:pos1 = 0, Float:pos2 = 0, Float:pos3 = 0;
- GetPlayerPos(playerid, pos0, pos1, pos2);
- GetPlayerFacingAngle(playerid, pos3);
- CreateVehicle(522, pos0 + 2, pos1 + 1, pos2, pos3, 1, 1, 10000);
- return 1;
- }
- if(strcmp("/infernus", cmdtext, true) == 0)
- {
- if(IsPlayerInAnyVehicle(playerid))
- {
- return SendClientMessage(playerid, Vermelho, "Voce ja esta em um veiculo");
- }
- format(string,sizeof string,"%s(%d) Criou um Infernus! (/Infernus)",pName, playerid);
- SendClientMessageToAll(Branco, string);
- new Float:pos0 = 0, Float:pos1 = 0, Float:pos2 = 0, Float:pos3 = 0;
- GetPlayerPos(playerid, pos0, pos1, pos2);
- GetPlayerFacingAngle(playerid, pos3);
- CreateVehicle(411, pos0 + 1, pos1 + 1, pos2, pos3, 1, 1, 10000);
- return 1;
- }
- if(strcmp(cmd, "/javolto", true) == 0) {
- new rand = random(sizeof(gRandomAusentePos));
- TogglePlayerControllable(playerid, 0);
- SendClientMessage(playerid, Amarelo, "Você está ausente e não pode se mover! Digite /Voltei para voltar à Jogar!");
- SetPlayerInterior(playerid,18);
- SetPlayerPos(playerid, gRandomAusentePos[rand][0], gRandomAusentePos[rand][1], gRandomAusentePos[rand][2]);
- format(string,sizeof string,"%s(%d) Está ausente!(/Javolto)",pName, playerid);
- SendClientMessageToAll(Branco, string);
- return 1;
- }
- if(strcmp(cmd, "/voltei", true) == 0) {
- TogglePlayerControllable(playerid, 1);
- SendClientMessage(playerid, Amarelo, "Você voltou ao Jogo!");
- format(string,sizeof string,"%s(%d) Voltou ao Jogo!(/Voltei)",pName, playerid);
- SendClientMessageToAll(Branco, string);
- new rand = random(sizeof(gRandomPlayerSpawns));
- SetPlayerPos(playerid, gRandomPlayerSpawns[rand][0], gRandomPlayerSpawns[rand][1], gRandomPlayerSpawns[rand][2]); // Warp the player
- SetPlayerInterior(playerid,0);
- return 1;
- }
- if(strcmp(cmd, "/cons", true) == 0) {
- if(IsPlayerInAnyVehicle(playerid))
- {
- SetVehicleHealth(GetPlayerVehicleID(playerid), 1000);
- format(string,sizeof string,"%s(%d) Consertou seu carro! (/Cons)",pName, playerid);
- SendClientMessageToAll(Branco, string);
- }
- else
- {
- SendClientMessage(playerid, Vermelho, "Erro! Você precisa estar em um carro!");
- }
- return 1;
- }
- if(strcmp(cmd, "/teleportes", true) == 0){
- RemovePlayerFromVehicle(playerid);
- 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";
- ShowPlayerDialog(playerid,1,DIALOG_STYLE_LIST,"Escolha onde você quer ir:",listitems,"Ir","Fechar");
- return 1;
- }
- if(strcmp(cmd, "/teles", true) == 0){
- RemovePlayerFromVehicle(playerid);
- 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";
- ShowPlayerDialog(playerid,1,DIALOG_STYLE_LIST,"Escolha onde você quer ir:",listitems,"Ir","Fechar");
- return 1;
- }
- return SendClientMessage(playerid,Vermelho,"Comando não encontrado! Digite /Ajuda para ver todos os comandos.");
- }
- public OnPlayerSpawn(playerid)
- {
- GivePlayerMoney(playerid, PocketMoney);
- SetPlayerInterior(playerid,0);
- SetPlayerRandomSpawn(playerid);
- SetPlayerVirtualWorld(playerid, 0);
- return 1;
- }
- public SetPlayerRandomSpawn(playerid)
- {
- if (iSpawnSet[playerid] == 0)
- {
- new rand = random(sizeof(gRandomPlayerSpawns));
- SetPlayerPos(playerid, gRandomPlayerSpawns[rand][0], gRandomPlayerSpawns[rand][1], gRandomPlayerSpawns[rand][2]); // spawns randomicos
- }
- return 1;
- }
- public OnPlayerDeath(playerid, killerid, reason)
- {
- new playercash;
- if(killerid == INVALID_PLAYER_ID) {
- SendDeathMessage(INVALID_PLAYER_ID,playerid,reason);
- ResetPlayerMoney(playerid);
- ResetPlayerWeapons(playerid);
- } else {
- SendDeathMessage(killerid,playerid,reason);
- SetPlayerScore(killerid,GetPlayerScore(killerid)+1);
- playercash = GetPlayerMoney(playerid);
- if (playercash > 0) {
- GivePlayerMoney(killerid, playercash);
- ResetPlayerMoney(playerid);
- }
- else
- {
- }
- }
- return 1;
- }
- public OnPlayerRequestClass(playerid, classid)
- {
- iSpawnSet[playerid] = 0;
- SetupPlayerForClassSelection(playerid);
- return 1;
- }
- public SetupPlayerForClassSelection(playerid)
- {
- SetPlayerInterior(playerid,14);
- SetPlayerPos(playerid,258.4893,-41.4008,1002.0234);
- SetPlayerFacingAngle(playerid, 270.0);
- SetPlayerCameraPos(playerid,256.0815,-43.0475,1004.0234);
- SetPlayerCameraLookAt(playerid,258.4893,-41.4008,1002.0234);
- }
- public GameModeExitFunc()
- {
- GameModeExit();
- }
- public OnGameModeInit()
- {
- SetGameModeText("NNF 4FUN 0.2.1 BETA");
- SendRconCommand("mapname Playground NNF");
- SendRconCommand("hostname [NNF]Killers Brasil - Playground NNF");
- ShowPlayerMarkers(1);
- ShowNameTags(1);
- UsePlayerPedAnims();
- //textos 3d em cima dos pickups
- Create3DTextLabel("Teleportes",Laranja,391.9828,-2064.0571,8.8359,15,0,0);
- Create3DTextLabel("Ajuda",Laranja,392.2740,-2061.2263,8.8359,15,0,0);
- Create3DTextLabel("Créditos",Laranja,391.9032,-2058.2087,8.8359,15,0,0);
- //Pickups
- PickupTeleportes = CreatePickup(1318, 1, 391.9828,-2064.0571,7.8359);
- PickupAjuda = CreatePickup(1239, 1, 392.2740,-2061.2263,7.8359);
- PickupCreditos = CreatePickup(1239, 1,391.9032,-2058.2087,7.8359);
- EnableStuntBonusForAll(1);
- for ( new i = 280; i < 300; i++ )
- if ( IsValidSkin( i ) ) AddPlayerClass( i, 1958.3783, 1343.1572, 15.3746, 270.1425, 0, 0, 0, 0, 0, 0 );
- for ( new i = 0; i < 280; i++ )
- {
- if ( IsValidSkin( i ) && i != 217 && i != 211 ) AddPlayerClass( i,1958.3783, 1343.1572, 15.3746, 270.1425, 0, 0, 0, 0, 0, 0 );
- }
- // Veiculos
- AddStaticVehicle(520,277.7690,2023.7168,18.3598,268.9495,0,0); // Hydra1
- AddStaticVehicle(520,316.0292,2046.5459,18.3614,180.3658,0,0); // Hydra2
- AddStaticVehicle(520,300.3074,2050.1731,18.3680,179.4140,0,0); // Hydra3
- AddStaticVehicle(520,370.2896,1998.2317,18.3609,110.7939,0,0); // Hydra4
- AddStaticVehicle(520,367.3095,1973.5800,18.3640,89.8632,0,0); // Hydra5
- AddStaticVehicle(520,367.3107,1962.4067,18.3638,87.1658,0,0); // Hydra6
- AddStaticVehicle(520,366.4493,1951.0125,18.3629,85.9578,0,0); // Hydra7
- AddStaticVehicle(520,365.8514,1941.0516,18.3626,84.8516,0,0); // Hydra8
- AddStaticVehicle(520,365.5423,1930.0677,18.3678,85.7895,0,0); // Hydra9
- AddStaticVehicle(520,364.5261,1918.2740,18.3604,82.0127,0,0); // Hydra10
- AddStaticVehicle(520,276.8808,1956.2181,18.3601,270.9527,0,0); // Hydra11
- //AddStaticVehicle(588,375.4299,-2027.4333,7.6727,359.4068,1,1); // salchixa
- AddStaticVehicle(423,388.8157,-2045.0803,7.8626,90.2623,1,56); // carrin de sorvete com um pinto
- AddStaticVehicle(571,401.0989,-1804.1868,7.1119,0.8195,36,2); //
- AddStaticVehicle(571,397.6027,-1804.2427,7.1192,1.0638,51,53); // carti
- AddStaticVehicle(424,439.5591,-1872.9487,2.6966,182.6399,2,2); // bugg
- AddStaticVehicle(444,505.4804,-1872.8953,3.7984,181.1701,32,42); //
- AddStaticVehicle(473,403.9723,-1907.8835,-0.3232,189.4754,56,53); // barkin
- AddStaticVehicle(471,383.3006,-1890.7241,1.0048,1.2916,120,114); // quad
- AddStaticVehicle(468,164.6602,-1869.7629,2.6176,246.6732,53,53); // motenha
- AddStaticVehicle(562,-314.7186,1515.2522,75.0164,181.1154,116,1); // elegy do drift1
- AddStaticVehicle(562,-318.0217,1515.1932,75.0176,180.3663,11,1); // elegy do drift2
- AddStaticVehicle(562,-321.0608,1515.0836,75.0163,179.0135,17,1); // elegy do drift3
- AddStaticVehicle(562,-324.1533,1515.0336,75.0189,182.4384,113,1); // elegy do drift4
- AddStaticVehicle(506,-327.3479,1514.8010,75.0639,180.3009,7,7); // supergt do drift1
- AddStaticVehicle(506,-330.4671,1514.6188,75.0639,181.3156,6,6); // supergt do drift2
- AddStaticVehicle(506,-333.5662,1514.7174,75.0637,178.7289,52,52); // supergt do drift3
- AddStaticVehicle(506,-336.7420,1514.7483,75.0639,179.8318,76,76); // supergt do drift4
- AddStaticVehicle(495,-347.2474,1553.9929,75.9048,119.5976,119,122); // sandking do deserto
- AddStaticVehicle(411,-339.8860,1514.9082,75.0865,181.1727,116,1); // infernus do drift1
- AddStaticVehicle(411,-342.9081,1514.8425,75.0865,181.0747,123,1); // infernus do drift2
- AddStaticVehicle(522,376.5407,-2055.4482,7.5844,283.1216,39,106); // nrgspawn
- AddStaticVehicle(522,376.5903,-2054.2695,7.5922,286.5616,51,118); // nrgspawn
- AddStaticVehicle(522,376.7368,-2053.1487,7.5896,284.2903,3,3); // nrgspawn
- AddStaticVehicle(522,376.6704,-2051.7476,7.5886,281.1111,3,8); // nrgspawn
- AddStaticVehicle(451,372.2791,-2044.2579,7.3299,359.8391,0,1); // turismospawn
- AddStaticVehicle(411,368.1330,-2044.3762,7.3691,359.8301,0,1); // turismospawn
- AddStaticVehicle(411,381.5409,-2038.3442,7.5601,88.1427,75,1); // infernusspawn
- AddStaticVehicle(411,381.5147,-2034.4885,7.5601,89.4997,12,1); // infernusspawn
- AddStaticVehicle(411,381.0701,-2028.2253,7.5601,269.3159,12,1); // infernusspawn
- AddStaticVehicle(451,380.9214,-2025.0896,7.5385,90.5663,18,18); // turismospawn
- AddStaticVehicle(415,362.8271,-2044.7015,7.5690,359.6314,0,1); // Cheetahspawn
- AddStaticVehicle(415,362.6291,-2037.1250,7.6048,359.3684,0,1); // Cheetahspawn
- AddStaticVehicle(522,362.4156,-2025.9248,7.4020,269.3719,8,82); // nrgspawn
- AddStaticVehicle(522,362.8338,-2024.3583,7.4078,270.6404,8,82); // nrgspawn
- AddStaticVehicle(522,362.7849,-2022.5806,7.4106,269.0122,8,82); // nrgspawn
- AddStaticVehicle(522,362.8166,-2021.5477,7.4061,269.5609,36,105); // nrgspawn
- // AddStaticVehicle(522,362.8668,-2020.0056,7.4101,270.2711,39,106); // nrgspawn
- // AddStaticVehicle(522,362.9536,-2018.7623,7.4057,271.3441,51,118); // nrgspawn
- // AddStaticVehicle(522,362.8366,-2017.4510,7.4094,271.9491,3,3); // nrgspawn
- AddStaticVehicle(522,362.8459,-2016.1483,7.4072,272.7747,3,8); // nrgspawn
- AddStaticVehicle(448,377.3573,-2015.4645,7.4270,88.2143,3,6); // pizzamoto
- AddStaticVehicle(448,377.3432,-2016.9910,7.4288,89.4690,3,6); // pizzamoto
- // AddStaticVehicle(448,377.3817,-2018.1624,7.4291,92.8068,3,6); // pizzamoto
- AddStaticVehicle(451,377.7972,-2044.2416,7.5364,358.9506,36,36); // turismospawn
- AddStaticVehicle(451,363.2229,-2012.1904,7.5414,327.1881,36,36); // turismospawn
- // AddStaticVehicle(451,362.9169,-2008.1908,7.5404,325.2414,16,16); // turismospawn
- // AddStaticVehicle(451,362.9014,-2004.5945,7.5431,323.1255,18,18); // turismospawn
- // AddStaticVehicle(411,362.8579,-2000.6510,7.5635,323.5642,64,1); // infernusspawn
- // AddStaticVehicle(411,362.9508,-1996.5658,7.5613,319.7549,123,1); // infernusspawn
- // AddStaticVehicle(411,363.0383,-1992.8879,7.5630,318.6922,116,1); // infernusspawn
- // AddStaticVehicle(451,377.0981,-2012.8798,7.5404,89.8106,61,61); // Turismo
- // AddStaticVehicle(451,376.9465,-2007.6006,7.5387,90.3907,123,123); // turismospawn
- // AddStaticVehicle(415,377.2920,-1993.2391,7.5935,44.8519,0,1); // cheetahspawn
- AddStaticVehicle(411,-346.0119,1514.8545,75.0865,180.7515,112,1); // inf faltando do drift
- //stunt1
- AddStaticVehicle(522,-2239.7263,329.8608,34.8891,267.6095,8,82); // NRGSTUNT1
- AddStaticVehicle(522,-2239.5996,328.6245,34.8902,269.8510,8,82); // NRGSTUNT2
- AddStaticVehicle(522,-2239.6631,327.0431,34.8942,268.2962,8,82); // NRGSTUNT2
- AddStaticVehicle(522,-2233.4929,330.2413,34.8947,269.4169,8,82); // NRGSTUNT2
- AddStaticVehicle(522,-2233.6025,328.8118,34.8884,268.5168,8,82); // NRGSTUNT2
- AddStaticVehicle(522,-2233.2009,327.1179,34.8903,269.6340,8,82); // NRGSTUNT2
- AddStaticVehicle(522,-2229.0615,330.4443,34.8914,269.9268,8,82); // NRGSTUNT2
- AddStaticVehicle(522,-2228.7756,329.1687,34.8921,269.7270,8,82); // NRGSTUNT2
- AddStaticVehicle(522,-2228.2642,327.6166,34.8937,268.6258,8,82); // NRGSTUNT2
- //stunt2
- AddStaticVehicle(522,-1994.2511,803.3882,45.0195,359.0616,36,105); // nrgstunt2
- AddStaticVehicle(522,-1995.9476,803.0834,45.0171,359.2244,36,105); // nrgstunt2
- AddStaticVehicle(522,-1995.9003,806.5588,45.0066,359.2245,36,105); // nrgstunt2
- AddStaticVehicle(522,-1994.1609,806.4580,45.0188,359.5198,36,105); // nrgstunt2
- AddStaticVehicle(522,-1991.9009,807.2444,45.0181,356.9910,36,105); // nrgstunt2
- AddStaticVehicle(522,-1991.6953,811.1532,45.0053,356.9911,36,105); // nrgstunt2
- AddStaticVehicle(522,-1994.0955,810.5807,45.0187,9.7763,36,105); // nrgstunt2
- AddStaticVehicle(522,-1995.5631,810.8065,45.0216,3.6292,36,105); // nrgstunt2
- //stunt3
- AddStaticVehicle(522,-2006.5063,-308.6993,34.5261,17.9714,36,105); // nrgstunt3
- AddStaticVehicle(522,-2007.9795,-309.2126,34.5047,30.4086,36,105); // nrgstunt3
- AddStaticVehicle(522,-2009.2319,-310.0170,34.4508,25.4377,36,105); // nrgstunt3
- AddStaticVehicle(522,-2010.8015,-310.5533,34.4491,21.5541,36,105); // nrgstunt3
- AddStaticVehicle(522,-2012.2993,-311.2256,34.4518,13.9210,36,105); // nrgstunt3
- AddStaticVehicle(522,-2002.4119,-308.9872,34.3967,14.0181,36,105); // nrgstunt3
- AddStaticVehicle(522,-2004.0537,-309.6036,34.3530,23.2919,36,105); // nrgstunt3
- //stunt4
- AddStaticVehicle(522,-1680.0869,515.9601,37.8116,314.1398,36,105); // nrgstunt4
- AddStaticVehicle(522,-1676.9645,518.7080,37.8048,313.4587,36,105); // nrgstunt4
- AddStaticVehicle(522,-1677.7864,519.3049,37.8106,317.8606,36,105); // nrgstunt4
- AddStaticVehicle(522,-1678.6998,520.7753,37.8108,315.2735,36,105); // nrgstunt4
- AddStaticVehicle(522,-1679.3286,522.4488,37.8123,313.1640,36,105); // nrgstunt4
- AddStaticVehicle(522,-1677.1554,524.6928,37.8137,313.3267,36,105); // nrgstunt4
- AddStaticVehicle(522,-1676.2275,523.7000,37.8144,315.3618,36,105); // nrgstunt4
- AddStaticVehicle(522,-1675.1055,523.0551,37.8142,310.3147,36,105); // nrgstunt4
- AddStaticVehicle(522,-1672.7661,522.5668,37.8114,310.9811,36,105); // nrgstunt4
- //stunt5
- AddStaticVehicle(522,1952.5112,2000.6373,7.2985,116.1445,39,106); // NRGSTUNT5
- AddStaticVehicle(522,1952.9425,1999.6198,7.2856,115.0435,39,106); // NRGSTUNT5
- AddStaticVehicle(522,1953.7111,1998.4357,7.2873,116.9273,39,106); // NRGSTUNT5
- AddStaticVehicle(522,1954.2227,1997.4202,7.2697,118.9316,39,106); // NRGSTUNT5
- AddStaticVehicle(522,1956.7529,2001.9209,7.6455,113.5954,39,106); // NRGSTUNT5
- AddStaticVehicle(522,1956.4189,2000.6494,7.5731,118.6185,39,106); // NRGSTUNT5
- AddStaticVehicle(522,1957.9985,2000.2721,7.7030,115.8394,39,106); // NRGSTUNT5
- AddStaticVehicle(522,1958.9438,1999.5688,7.7634,113.0881,39,106); // NRGSTUNT5
- AddPlayerClass(294,2032.0565,992.6772,10.8131,4.2657,0,0,0,0,0,0); // NRGSTUNT6
- AddStaticVehicle(522,2028.7476,1023.5245,10.3932,179.7228,51,118); // nrgstunt5
- AddStaticVehicle(522,2030.0526,1022.4196,10.3917,178.0113,51,118); // nrgstunt6
- AddStaticVehicle(522,2031.5427,1022.4183,10.3895,181.0846,51,118); // nrgstunt6
- AddStaticVehicle(522,2028.5002,1026.6018,10.3890,178.7245,51,118); // nrgstunt6
- AddStaticVehicle(522,2029.7371,1026.5558,10.3921,183.1592,51,118); // nrgstunt6
- AddStaticVehicle(522,2031.1233,1027.0093,10.3935,175.2919,51,118); // nrgstunt6
- AddStaticVehicle(522,2028.5504,1030.9446,10.3843,173.4945,51,118); // nrgstunt6
- AddStaticVehicle(522,2029.7039,1031.1736,10.3890,183.3774,51,118); // nrgstunt6
- AddStaticVehicle(522,2031.0688,1031.7410,10.3905,182.4747,51,118); // nrgstunt6
- //dragsf
- AddStaticVehicle(522,-1918.2115,-1334.5428,40.7081,73.0296,36,105); // nrgdragsf
- AddStaticVehicle(522,-1922.0648,-1333.3569,41.3716,73.0351,36,105); // nrgdragsf
- AddStaticVehicle(522,-1917.3390,-1332.4666,40.6082,71.2202,36,105); // nrgdragsf
- AddStaticVehicle(522,-1921.2070,-1330.6576,41.2653,64.8797,36,105); // nrgdragsf
- AddStaticVehicle(522,-1920.8650,-1328.3448,41.2257,73.1742,36,105); // nrgdragsf
- AddStaticVehicle(522,-1917.0439,-1329.4681,40.4836,72.5524,36,105); // nrgdragsf
- AddStaticVehicle(411,-1920.5111,-1351.9928,40.5978,246.6840,64,1); // infernusdragsf
- AddStaticVehicle(411,-1919.0612,-1349.3881,40.6482,245.9854,123,1); // infernusdragsf
- AddStaticVehicle(411,-1918.1854,-1347.2484,40.6590,245.5375,112,1); // infernusdragsf
- AddStaticVehicle(411,-1916.9207,-1345.0944,40.5858,243.8701,80,1); // infernusdragsf
- AddStaticVehicle(411,-1916.7813,-1341.9174,40.6329,259.5616,12,1); // infernusdragsf
- AddStaticVehicle(451,-1898.6399,-1366.3866,39.9374,111.8317,125,125); // turismodragsf
- AddStaticVehicle(451,-1896.3241,-1369.1295,39.9892,126.5846,36,36); // turismodragsf
- AddStaticVehicle(451,-1893.9885,-1370.7931,39.9352,138.6901,18,18); // turismodragsf
- AddStaticVehicle(451,-1891.6774,-1372.2352,39.8806,141.5306,61,61); // turismodragsf
- AddStaticVehicle(451,-1879.1112,-1377.9237,39.3198,148.3663,123,123); // turismodragsf
- //draglv
- AddStaticVehicle(522,1817.5919,869.6760,10.1790,270.6181,3,3); // nrgdraglv
- AddStaticVehicle(522,1818.9323,871.0137,10.1703,265.5057,3,3); // nrgdraglv
- AddStaticVehicle(522,1818.2756,872.4709,10.1107,269.9268,3,3); // nrgdraglv
- AddStaticVehicle(522,1818.6375,873.6180,10.0817,264.8530,3,3); // nrgdraglv
- AddStaticVehicle(451,1818.4558,879.2610,10.0358,91.2384,36,36); // turismolvdrag
- AddStaticVehicle(451,1818.5935,882.4399,9.9313,89.9300,36,36); // turismolvdrag
- AddStaticVehicle(451,1818.9850,885.8771,9.8668,89.2240,36,36); // turismolvdrag
- AddStaticVehicle(451,1818.9513,888.6987,9.7793,87.9714,36,36); // turismolvdrag
- AddStaticVehicle(411,1819.0916,894.3362,9.6293,88.9496,123,1); // infernuslvdrag
- AddStaticVehicle(411,1819.9398,897.0667,9.5967,87.7703,123,1); // infernuslvdrag
- AddStaticVehicle(411,1819.8436,900.6302,9.4752,86.8239,116,1); // infernuslvdrag
- AddStaticVehicle(411,1820.7064,903.6505,9.4582,89.4102,116,1); // infernuslvdrag
- AddStaticVehicle(411,1820.6335,907.3545,9.4008,87.5190,116,1); // infernuslvdrag
- //dragls
- AddStaticVehicle(451,2851.5452,-2063.4343,10.8424,87.3590,16,16); // turismodragls
- AddStaticVehicle(451,2851.7961,-2067.1396,10.8290,85.7873,18,18); // turismodragls
- AddStaticVehicle(451,2851.5420,-2070.6685,10.8069,85.7289,61,61); // turismodragls
- AddStaticVehicle(411,2851.8638,-2073.6272,10.8443,86.5344,80,1); // infernusdragls
- AddStaticVehicle(411,2851.0569,-2077.6553,10.8359,72.2278,75,1); // infernusdragls
- AddStaticVehicle(411,2858.8120,-2080.3982,10.8339,67.1301,64,1); // infernusdragls
- AddStaticVehicle(411,2859.1143,-2075.4797,10.8524,77.2597,116,1); // infernusdragls
- AddStaticVehicle(522,2860.5281,-2071.2666,10.7875,89.2086,3,8); //
- AddStaticVehicle(522,2860.6909,-2069.9722,10.7551,90.5497,3,8); //
- AddStaticVehicle(522,2860.7402,-2068.6001,10.6937,87.2497,3,8); //
- //offroad1
- AddStaticVehicle(495,-323.1140,-1914.8475,13.0691,82.2336,119,122); // sandking offroad
- AddStaticVehicle(495,-322.8391,-1910.0284,12.6954,90.2306,119,122); // sandking offroad
- AddStaticVehicle(495,-322.3431,-1906.6375,12.2678,92.6674,119,122); // sandking offroad
- AddStaticVehicle(495,-323.1269,-1901.7360,11.5893,107.5894,119,122); // sandking offroad
- AddStaticVehicle(495,-332.5445,-1899.3463,11.2576,111.4150,119,122); // sandking offroad
- AddStaticVehicle(495,-334.0320,-1923.3228,14.8557,52.4639,119,122); // sandking offroad
- AddStaticVehicle(495,-341.0758,-1920.3452,14.3769,79.1259,119,122); // sandking offroad
- //offroad2
- AddStaticVehicle(495,-1945.6945,-2094.7219,69.2427,271.0417,118,117); // sandkingoffroad2
- AddStaticVehicle(495,-1947.4757,-2086.2441,68.4868,271.4308,118,117); // sandkingoffroad2
- AddStaticVehicle(495,-1948.5455,-2082.8638,68.3986,276.6660,118,117); // sandkingoffroad2
- AddStaticVehicle(495,-1949.3823,-2079.6040,68.3689,281.9003,118,117); // sandkingoffroad2
- AddStaticVehicle(495,-1949.9214,-2076.0532,68.4809,279.7576,118,117); // sandkingoffroad2
- //driftsf
- AddStaticVehicle(451,-2402.9578,-584.5739,132.3555,125.8283,61,61); // turismodriftsf
- AddStaticVehicle(451,-2401.2881,-587.1431,132.3552,124.8453,75,75); // turismodriftsf
- AddStaticVehicle(451,-2399.6804,-589.7895,132.3554,124.6046,125,125); // turismodriftsf
- AddStaticVehicle(451,-2398.1584,-592.2141,132.3553,124.9643,16,16); //
- AddStaticVehicle(451,-2394.8147,-597.0457,132.3560,123.5335,18,18); // turismodriftsf
- AddStaticVehicle(451,-2392.5947,-599.2906,132.3556,125.0932,46,46); // turismodriftsf
- AddStaticVehicle(560,-2417.2361,-588.7619,132.3536,215.0715,9,39); // Sultandriftsf
- AddStaticVehicle(560,-2414.4526,-586.8504,132.3531,214.0466,21,1); // Sultandriftsf
- AddStaticVehicle(411,-2399.7815,-612.8331,132.3755,34.7629,116,1); // infernusdriftsf
- AddStaticVehicle(411,-2397.2893,-611.2554,132.3755,35.0761,112,1); // infernusdriftsf
- AddStaticVehicle(411,-2394.7856,-609.4872,132.3755,34.6898,106,1); // infernusdriftsf
- AddStaticVehicle(411,-2409.2200,-583.3079,132.3755,215.6990,80,1); // infernusdriftsf
- AddStaticVehicle(415,-2392.2847,-607.7924,132.4197,33.6633,0,1); // cheetahdriftsf
- //driftlv
- AddStaticVehicle(451,2303.6738,1404.7223,42.5107,268.0084,125,125); // Turismolvdrift
- AddStaticVehicle(451,2304.0566,1408.5813,42.5259,269.3863,125,125); // Turismolvdrift
- AddStaticVehicle(451,2303.8132,1412.2361,42.5278,270.8704,36,36); // Turismolvdrift
- AddStaticVehicle(451,2303.9106,1416.1323,42.5272,272.1717,16,16); // Turismolvdrift
- AddStaticVehicle(451,2303.8870,1419.1847,42.5263,272.4592,18,18); // Turismolvdrift
- AddStaticVehicle(411,2303.3887,1423.0592,42.5474,269.3522,75,1); // infernuslvdrift
- AddStaticVehicle(411,2303.4067,1426.8716,42.5034,269.5255,0,1); // infernuslvdrift
- AddStaticVehicle(411,2303.2117,1430.1538,42.5474,271.2098,12,1); // infernuslvdrift
- AddStaticVehicle(411,2303.0269,1433.6365,42.5474,270.5427,64,1); // infernuslvdrift
- AddStaticVehicle(411,2303.1140,1437.4725,42.5474,268.8378,123,1); // infernuslvdrift
- AddStaticVehicle(522,2312.3862,1389.6279,42.3820,356.3888,39,106); // nrgdriftlv
- AddStaticVehicle(522,2309.0132,1389.9556,42.3971,359.7040,51,118); // nrgdriftlv
- AddStaticVehicle(522,2305.8691,1389.7146,42.3911,0.3845,3,3); // nrgdriftlv
- AddStaticVehicle(522,2302.2170,1389.4221,42.3878,2.9292,3,8); // nrgdriftlv
- AddStaticVehicle(415,2299.1643,1389.1495,42.5929,1.0846,92,1); // cheetahlvdrift
- AddStaticVehicle(415,2295.8804,1389.3060,42.5913,358.5938,0,1); // cheetahlvdrift
- AddStaticVehicle(415,2292.5186,1389.0846,42.5907,358.3630,20,1); // cheetahlvdrift
- AddStaticVehicle(560,2289.0015,1389.4409,42.5251,358.9993,33,0); // sultanlvdrift
- AddStaticVehicle(560,2285.3872,1389.4939,42.5250,357.5737,37,0); // sultanlvdrift
- AddStaticVehicle(560,2282.1797,1389.4189,42.4840,358.6526,0,1); // sultanlvdrift
- //stunt 7
- AddStaticVehicle(522,2252.3032,1345.5159,10.3835,264.7619,3,3); // nrgstunt7
- AddStaticVehicle(522,2252.2424,1344.3552,10.3835,270.0116,3,3); // nrgstunt7
- AddStaticVehicle(522,2252.5925,1342.7865,10.3070,265.9545,3,3); // nrgstunt7
- AddStaticVehicle(522,2252.2124,1341.7682,10.3076,267.5993,3,3); // nrgstunt7
- AddStaticVehicle(522,2252.3025,1340.7911,10.3006,267.7683,3,3); // nrgstunt7
- AddStaticVehicle(522,2254.0181,1335.3710,10.3112,86.8041,3,3); // nrgstunt7
- AddStaticVehicle(522,2253.2087,1333.7625,10.3100,88.9136,3,3); // nrgstunt7
- //stunt 8
- AddStaticVehicle(522,1959.9883,1464.7770,10.3779,178.0390,3,3); // nrgstunt8
- AddStaticVehicle(522,1961.2904,1464.6954,10.3900,182.9115,3,3); // nrgstunt8
- AddStaticVehicle(522,1962.6877,1464.8512,10.3927,181.6895,3,3); // nrgstunt8
- AddStaticVehicle(522,1963.5122,1465.3839,10.3922,181.1874,3,3); // nrgstunt8
- AddStaticVehicle(522,1964.8666,1464.9879,10.3924,181.1730,3,3); // nrgstunt8
- AddStaticVehicle(522,1965.8046,1464.4208,10.3893,177.5212,3,3); // nrgstunt8
- //aeroabandonado
- AddStaticVehicle(519,421.7287,2489.7776,17.4052,90.3656,1,1); // shamal 1
- AddStaticVehicle(519,421.9943,2516.0613,17.4051,88.5127,1,1); // shamal 2
- AddStaticVehicle(511,262.6047,2535.3416,18.1046,178.2356,4,90); // beagleaeroaban
- AddStaticVehicle(511,241.7141,2536.4597,18.0953,178.3445,7,68); // beagleaeroaban
- AddStaticVehicle(511,218.2917,2536.1555,18.0062,178.5258,8,66); // beagleaeroaban
- AddStaticVehicle(513,290.4008,2536.7627,17.3667,181.0062,21,36); // stuntplaneaeroaban
- AddStaticVehicle(513,324.5858,2537.5081,17.3530,177.6927,21,36); // stuntplaneaeroaban
- AddStaticVehicle(513,307.7571,2537.0911,17.3619,176.2701,21,36); // stuntplaneaeroaban
- AddStaticVehicle(476,345.1964,2538.1887,17.4839,179.7602,7,6); // rustleraeroaban
- AddStaticVehicle(476,358.0190,2538.5667,17.3934,178.9478,1,6); // rustleraeroaban
- AddStaticVehicle(476,369.4258,2538.3826,17.3232,178.5655,89,91); // rustleraeroaban
- AddPlayerClass(294,375.4284,2526.3789,16.5782,168.3019,0,0,0,0,0,0); // rustleraeroaban
- AddStaticVehicle(476,381.6827,2538.3354,17.2445,180.3003,119,117); // rustleraeroaban
- AddStaticVehicle(593,368.2668,2472.1799,16.9473,356.6713,58,8); // dodoaeroaban
- AddStaticVehicle(593,355.1990,2471.8293,16.9457,0.6502,60,1); // dodoaeroaban
- AddStaticVehicle(425,351.2492,2568.3054,17.1764,177.5326,43,0); // heliaeroabandonado
- AddStaticVehicle(425,384.9847,2571.0835,16.9462,180.3063,43,0); // heliaeroabandonado
- AddStaticVehicle(425,368.1935,2562.5723,17.5322,197.5032,43,0); // heliaeroabandonado
- //aerols
- AddStaticVehicle(522,1948.6782,-2204.9951,13.1182,92.8624,3,3); // motoaerols
- AddStaticVehicle(522,1948.8024,-2203.6462,13.1050,93.1480,3,8); // motoaerols
- AddStaticVehicle(522,1948.8201,-2202.1938,13.1115,90.7911,7,79); // motoaerols
- AddStaticVehicle(522,1948.9840,-2201.1702,13.1236,93.6048,6,25); // motoaerols
- AddStaticVehicle(522,1948.9265,-2199.7957,13.1211,96.3225,8,82); // motoaerols
- AddStaticVehicle(522,1949.0430,-2198.5691,13.1236,94.8364,36,105); // motoaerols
- AddStaticVehicle(522,1949.1952,-2197.5156,13.1172,89.9957,51,118); // motoaerols
- AddStaticVehicle(522,1949.3588,-2196.2827,13.1275,92.3757,39,106); // motoaerols
- AddStaticVehicle(522,1949.4651,-2195.2290,13.1190,96.5989,3,3); // motoaerols
- AddStaticVehicle(522,1949.3591,-2194.0239,13.1183,85.1997,3,8); // motoaerols
- AddStaticVehicle(411,2001.8600,-2240.7729,13.2741,272.5665,106,1); // infernusaerols
- AddStaticVehicle(411,2001.5128,-2237.6084,13.2740,271.9871,80,1); // infernusaerols
- AddStaticVehicle(411,2001.8271,-2244.3518,13.2742,270.5400,75,1); // infernusaerols
- AddStaticVehicle(411,2001.3063,-2234.8125,13.2740,273.2987,12,1); // infernusaerols
- AddStaticVehicle(411,2001.8517,-2247.6807,13.2739,270.1629,64,1); // infernusaerols
- AddStaticVehicle(411,2001.7231,-2251.2554,13.2746,270.9067,123,1); // infernusaerols
- //nnf tuning 2.6
- CreateObject(11111, 1426.8864, -2497.1648, 23.3797, 315.3093, 0.0000, 269.7591 );
- CreateObject(11111, 1384.8903, -2496.9875, 66.1774, 313.5904, 0.0000, 269.7591 );
- CreateObject(11111, 1343.8188, -2496.7952, 109.3410, 313.5904, 0.0000, 269.7591 );
- CreateObject(11111, 1303.0612, -2496.6526, 152.1940, 313.5904, 0.0000, 269.7591 );
- CreateObject(11111, 1252.4650, -2495.5837, 172.1331, 3.4377, 0.0000, 268.0403 );
- CreateObject(1632, 1426.3339, -2497.2019, 25.2624, 315.3093, 0.8594, 271.4781 );
- CreateObject(1632, 1434.0632, -2497.0234, 23.7869, 335.9358, 0.8594, 271.4781 );
- CreateObject(1632, 1442.2400, -2496.9316, 25.5798, 1.7189, 1.7189, 271.4781 );
- CreateObject(1632, 1447.8456, -2496.7908, 30.2580, 30.0803, 0.0000, 271.4781 );
- CreateObject(4023, 1496.6951, -2611.7095, 24.2781, 0.0000, 0.0000, 0.0000 );
- CreateObject(1632, 1521.6614, -2624.2476, 15.1470, 19.7670, 0.0000, 179.5182 );
- CreateObject(1632, 1521.5396, -2627.9275, 20.5587, 42.9718, 0.0000, 179.5182 );
- CreateObject(1633, 1521.5065, -2629.0671, 27.4390, 69.6144, 0.0000, 181.2370 );
- CreateObject(1633, 1521.4144, -2628.7585, 33.6472, 85.0842, 4.2972, 181.2370 );
- CreateObject(1696, 1492.8369, -2597.0437, 35.9572, 0.0000, 0.0000, 0.0000 );
- CreateObject(1696, 1498.2075, -2597.0518, 35.9572, 0.0000, 0.0000, 0.0000 );
- CreateObject(13590, 1780.0720, -2520.6892, 13.8227, 0.0000, 0.0000, 93.5746 );
- CreateObject(12956, 1729.3098, -2483.9460, 15.9329, 0.0000, 0.0000, 0.0000 );
- CreateObject(3287, 2045.6914, -2596.6194, 17.2359, 0.0000, 0.0000, 0.0000 );
- CreateObject(3287, 2051.9907, -2596.5471, 17.0911, 0.0000, 0.0000, 0.0000 );
- CreateObject(6928, 1976.7775, -2634.5837, 14.4132, 0.0000, 0.0000, 0.0000 );
- CreateObject(5126, 2124.8418, -2549.4048, 27.6712, 0.0000, 0.0000, 179.6225 );
- CreateObject(13593, 2034.4865, -2599.0085, 13.5647, 14.6104, 0.0000, 269.7591 );
- CreateObject(3426, 1629.6284, -2445.1775, 13.2959, 0.0000, 0.0000, 182.9559 );
- CreateObject(1632, 1656.1104, -2543.0635, 18.3440, 24.9237, 0.0000, 90.2409 );
- CreateObject(16776, 1481.3427, -2601.0891, 36.7008, 0.0000, 0.8594, 52.3215 );
- CreateObject(13593, 2061.3398, -2597.9016, 13.4081, 10.3132, 0.0000, 89.2777 );
- CreateObject(1632, 1878.9061, -2543.0371, 18.6032, 34.3775, 0.0000, 271.4780 );
- CreateObject(1632, 1888.6827, -2543.1458, 18.7771, 34.3775, 0.0000, 92.7152 );
- CreateObject(13592, 1409.4922, -2593.0117, 21.6425, 274.0564, 0.0000, 354.8434 );
- CreateObject(13592, 1408.3781, -2593.4358, 28.7675, 274.0564, 0.0000, 354.8434 );
- CreateObject(13592, 1407.3538, -2593.8059, 35.3425, 274.0564, 0.0000, 354.8434 );
- CreateObject(13592, 1406.2087, -2594.2056, 42.5964, 274.0564, 0.0000, 354.8434 );
- CreateObject(13592, 1405.1012, -2594.6135, 49.8590, 274.0564, 0.0000, 354.8434 );
- CreateObject(13592, 1403.9801, -2595.0313, 57.1115, 274.0564, 0.0000, 354.8434 );
- CreateObject(1655, 1394.8033, -2603.2500, 66.8318, 358.2811, 85.9437, 84.2248 );
- CreateObject(9241, 1377.6155, -2593.7058, 61.1308, 0.0000, 0.0000, 0.0000 );
- CreateObject(1632, 1415.9493, -2601.7278, 14.1970, 10.3132, 29.2208, 127.1967 );
- CreateObject(18450, 1827.5482, -2381.7698, 24.2228, 0.8594, 18.0482, 290.3857 );
- CreateObject(18450, 1801.2488, -2312.2051, 48.4443, 0.8594, 18.0482, 290.3857 );
- CreateObject(8420, 1754.5964, -2267.7273, 61.2594, 0.0000, 0.0000, 110.0078 );
- CreateObject(1655, 1752.6357, -2308.7371, 63.1154, 11.1727, 0.0000, 171.7832 );
- CreateObject(3749, 1786.8469, -2274.8413, 66.7194, 0.0000, 0.0000, 19.7670 );
- CreateObject(17565, 1686.7581, -2594.6494, 15.0556, 0.0000, 0.0000, 269.7591 );
- CreateObject(13640, 1765.0620, -2235.1028, 61.9312, 0.0000, 0.0000, 21.4859 );
- CreateObject(13640, 1744.0219, -2243.5769, 62.2312, 0.0000, 0.0000, 21.4859 );
- CreateObject(8420, 1698.6826, -2288.0735, 61.0652, 0.0000, 0.0000, 289.5261 );
- CreateObject(13647, 1698.9702, -2285.4363, 61.0378, 0.0000, 0.0000, 20.6265 );
- CreateObject(13648, 1735.0952, -2272.0552, 61.0319, 0.0000, 0.0000, 110.0079 );
- CreateObject(16304, 1661.4893, -2274.0464, 66.0802, 0.0000, 0.0000, 0.0000 );
- CreateObject(13638, 1711.5342, -2316.4524, 63.5642, 0.0000, 0.0000, 109.1485 );
- CreateObject(13636, 1706.5358, -2254.1160, 63.3222, 0.0000, 0.0000, 19.0114 );
- CreateObject(9241, 1377.7820, -2569.3269, 61.1427, 0.0000, 0.0000, 180.3776 );
- CreateObject(11395, 1378.5243, -2556.5215, 69.8165, 0.0000, 0.0000, 0.0000 );
- CreateObject(1632, 1648.7120, -2543.2063, 18.4282, 24.9237, 0.0000, 268.8997 );
- CreateObject(982, 1366.7220, -2589.8557, 62.6425, 0.0000, 0.0000, 0.0000 );
- CreateObject(982, 1366.7361, -2589.8643, 63.8174, 0.0000, 180.3775, 0.0000 );
- CreateObject(1634, 2069.8381, -2669.7764, 13.4044, 0.0000, 0.0000, 333.3575 );
- CreateObject(6873, 1480.5852, -2650.3755, -71.8370, 0.0000, 0.0000, 89.2774 );
- CreateObject(1634, 1477.2397, -2622.6929, 36.9723, 14.6104, 0.0000, 104.8513 );
- CreateObject(1634, 1472.5040, -2623.8879, 42.9320, 36.0963, 0.0000, 104.8513 );
- CreateObject(1634, 1469.8650, -2624.4973, 50.5999, 54.1445, 0.0000, 104.8513 );
- CreateObject(1633, 1469.9115, -2624.6479, 59.0704, 76.4899, 0.0000, 98.7312 );
- CreateObject(4874, 1506.5398, -2647.9612, 71.3241, 0.0000, 0.0000, 179.5182 );
- CreateObject(5822, 1455.6718, -2654.4487, 77.6688, 0.0000, 0.0000, 183.9195 );
- CreateObject(5130, 1460.0166, -2636.4358, 66.6083, 0.0000, 0.0000, 41.2530 );
- CreateObject(1632, 1500.5956, -2632.8254, 64.1694, 28.3614, 0.0000, 269.7591 );
- CreateObject(13592, 1819.9015, -2574.5352, 22.0925, 0.0001, 1.7189, 99.6946 );
- CreateObject(13592, 1813.1265, -2574.6609, 22.0675, 0.0001, 1.7189, 99.6946 );
- CreateObject(13592, 1806.3298, -2574.7683, 22.0175, 0.0001, 1.7189, 99.6946 );
- CreateObject(13592, 1799.5603, -2574.9287, 22.0175, 0.0001, 1.7189, 99.6946 );
- CreateObject(13592, 1792.2646, -2575.0603, 21.9925, 0.0001, 1.7189, 99.6946 );
- CreateObject(13592, 1784.8563, -2575.2151, 21.9425, 0.0001, 1.7189, 99.6946 );
- CreateObject(1655, 1780.4288, -2570.0522, 14.3720, 10.3132, 0.0000, 3.4378 );
- CreateObject(1634, 1402.6847, -2660.9553, 13.5250, 0.0000, 0.0000, 340.2330 );
- CreateObject(1634, 1347.7880, -2551.6384, 13.4223, 0.0000, 0.0000, 271.4780 );
- CreateObject(1655, 1994.1520, -2494.0068, 14.4642, 10.3132, 0.0000, 268.0403 );
- CreateObject(1655, 2000.0996, -2494.2261, 20.5966, 35.2369, 0.0000, 268.0403 );
- CreateObject(1655, 2003.6462, -2494.3943, 28.1032, 48.9879, 0.0000, 268.0403 );
- CreateObject(1655, 2005.0548, -2494.4941, 35.5448, 63.5983, 0.0000, 268.0403 );
- CreateObject(1655, 2004.6226, -2494.5181, 43.8596, 77.3492, 0.0000, 268.0403 );
- CreateObject(1655, 2001.9056, -2494.4958, 51.1968, 97.1163, 0.0000, 268.0403 );
- CreateObject(1655, 1996.2144, -2494.3252, 57.4748, 121.1805, 0.0000, 268.0403 );
- CreateObject(1655, 1988.6832, -2493.8108, 61.1651, 140.9477, 0.8594, 265.4620 );
- CreateObject(8391, 1395.7748, -2431.3250, 28.9601, 0.0000, 0.0000, 282.6506 );
- CreateObject(1655, 1385.6543, -2424.4712, 14.3048, 8.5944, 0.0000, 90.2409 );
- CreateObject(1655, 1379.8706, -2424.4619, 19.5930, 30.0803, 0.0000, 90.2409 );
- CreateObject(1655, 1375.9878, -2424.4226, 25.9121, 41.2530, 0.0000, 90.2409 );
- CreateObject(1655, 1373.5939, -2424.4739, 33.3081, 57.5822, 0.0000, 90.2409 );
- CreateObject(1655, 1373.1646, -2424.4941, 41.6484, 71.3332, 0.0000, 90.2409 );
- CreateObject(1655, 1369.6245, -2460.2290, 48.6771, 13.7509, 0.0000, 191.6545 );
- CreateObject(1655, 1422.3533, -2402.3047, 48.7021, 13.7509, 0.0000, 282.7546 );
- CreateObject(4726, 1463.3341, -2396.3433, 49.8039, 0.0000, 0.0000, 0.0000 );
- CreateObject(4727, 1463.3159, -2396.3982, 50.1277, 0.0000, 0.0000, 0.0000 );
- CreateObject(7979, 1473.2761, -2546.4255, 15.6338, 0.0000, 0.0000, 90.2409 );
- CreateObject(10948, 1905.3707, -2250.6580, 62.3934, 0.0000, 0.0000, 89.2774 );
- CreateObject(5001, 1947.1947, -2290.4810, 32.9187, 80.7871, 312.7310, 133.2128 );
- CreateObject(1633, 1951.4948, -2272.3796, 13.0586, 354.8434, 358.2811, 357.4217 );
- CreateObject(1632, 1890.5048, -2273.5845, 59.1998, 16.3293, 0.0000, 87.6625 );
- CreateObject(1632, 1886.0028, -2273.4019, 65.1168, 42.1124, 0.0000, 87.6625 );
- CreateObject(1632, 1884.5913, -2273.3604, 71.9893, 67.8955, 0.0000, 87.6625 );
- CreateObject(1632, 1885.8025, -2273.2524, 79.7829, 85.9437, 0.0000, 94.5380 );
- CreateObject(1632, 1911.1649, -2211.9255, 83.1748, 16.3293, 0.0000, 1.7189 );
- CreateObject(1632, 1911.1115, -2207.3425, 89.1723, 42.1124, 0.0000, 1.7189 );
- CreateObject(1632, 1911.1431, -2205.3062, 96.6625, 61.8794, 0.0000, 358.2811 );
- CreateObject(1655, 1847.4841, -2245.5437, 105.7248, 0.0000, 0.0000, 104.7472 );
- CreateObject(13638, 1704.0999, -2331.6973, 71.6820, 0.0000, 0.0000, 109.1485 );
- CreateObject(13592, 1402.8209, -2595.4497, 64.3669, 274.0564, 0.0000, 354.8434 );
- CreateObject(4113, 1377.5581, -2576.0313, 23.3505, 0.0000, 0.0000, 278.3535 );
- CreateObject(1684, 1886.1834, -2195.4612, 103.2395, 0.0000, 0.0000, 269.7591 );
- CreateObject(1684, 1886.1470, -2205.5059, 103.2395, 0.0000, 0.0000, 269.7591 );
- CreateObject(1684, 1886.1008, -2215.5513, 103.2453, 0.0000, 0.0000, 269.7591 );
- CreateObject(13638, 1688.6693, -2333.5049, 79.7685, 0.0000, 0.0000, 18.9077 );
- CreateObject(13562, 2120.8804, -2549.0730, 44.2037, 0.0000, 0.0000, 0.0000 );
- CreateObject(1632, 2062.5491, -2548.6404, 14.9220, 17.1887, 0.0000, 268.0403 );
- CreateObject(7073, 1978.3165, -2627.2849, 51.8151, 0.0000, 0.0000, 85.9437 );
- CreateObject(1632, 1977.2985, -2616.7556, 13.8470, 11.1727, 359.1406, 180.3777 );
- CreateObject(1632, 1977.3795, -2622.0452, 20.5220, 43.8313, 359.1406, 180.3777 );
- CreateObject(1633, 1977.4076, -2623.6675, 27.2699, 64.4577, 0.0000, 179.5182 );
- CreateObject(1633, 1977.4138, -2624.4458, 34.5979, 71.3332, 0.0000, 179.5182 );
- CreateObject(1633, 1977.2733, -2624.1338, 41.3472, 82.5059, 0.0000, 179.5182 );
- CreateObject(13722, 2045.7214, -2638.5005, 21.9834, 0.0000, 0.0000, 180.3776 );
- CreateObject(13831, 2045.7052, -2638.5134, 21.9632, 0.0000, 0.0000, 180.3776 );
- CreateObject(3256, 2130.8538, -2513.3096, 13.1846, 0.0000, 0.0000, 0.0000 );
- CreateObject(1267, 2139.7283, -2489.1035, 28.6116, 0.0000, 0.0000, 0.0000 );
- CreateObject(6066, 2111.7190, -2493.4143, 15.0473, 0.0000, 0.0000, 184.7789 );
- CreateObject(1655, 2105.7898, -2493.8894, 13.6892, 2.5783, 0.0000, 274.9158 );
- CreateObject(6875, 2137.0735, -2400.5913, 6.7954, 0.0000, 0.0000, 0.0000 );
- CreateObject(6066, 2091.9978, -2448.8511, 15.0473, 0.0000, 0.0000, 232.0480 );
- CreateObject(1655, 2088.4063, -2453.4890, 13.7720, 2.5783, 0.0000, 322.1847 );
- CreateObject(9237, 2095.3101, -2638.3826, 20.5323, 0.0000, 0.0000, 282.6507 );
- CreateObject(1632, 1438.7162, -2633.6597, 84.2600, 3.4377, 0.0000, 54.9000 );
- CreateObject(4005, 1560.7459, -2382.5532, 20.3501, 0.0000, 0.0000, 3.4377 );
- CreateObject(6066, 1565.3146, -2435.8921, 14.9547, 0.0000, 0.0000, 275.0197 );
- CreateObject(1655, 1565.6495, -2441.8306, 13.7048, 3.4377, 0.0000, 4.2972 );
- CreateObject(6099, 1860.5532, -2657.6689, 21.0845, 0.0000, 0.0000, 0.0000 );
- CreateObject(6066, 1860.4592, -2581.1760, 15.0223, 0.0000, 0.0000, 86.9069 );
- CreateObject(1655, 1860.6936, -2575.0767, 13.7720, 2.5783, 0.0000, 176.0804 );
- CreateObject(1655, 1860.3190, -2633.5332, 36.9818, 2.5783, 0.0000, 0.8594 );
- CreateObject(1632, 1389.1747, -2556.1677, 63.2709, 4.2972, 0.0000, 330.7792 );
- CreateObject(11111, 1458.4629, -2497.3127, 2.1547, 329.0603, 0.0000, 269.7591 );
- CreateObject(1378, 2036.9343, -2373.8577, 36.6131, 0.0000, 0.0000, 312.7310 );
- CreateObject(1632, 1983.8982, -2421.1467, 13.8470, 4.2972, 0.0000, 310.9085 );
- CreateObject(1632, 1981.2323, -2418.0398, 13.8470, 4.2972, 0.0000, 310.9085 );
- CreateObject(1655, 1985.9271, -2416.7034, 17.1400, 30.0803, 0.0000, 311.0121 );
- CreateObject(1632, 2020.6383, -2389.0981, 44.2427, 23.2048, 0.0000, 310.9085 );
- // Objetos ( desativado por não ser a versão final )
- /* CreateObject( 8171,-1055.467896, 464.439056, 10.195868,347.9679,90.2408, 134.0722); //Airport baan spawnpoint
- CreateObject( 8171, -987.041077, 505.720734,-22.445286,282.6508, 0.0000, 315.3093); //Airport baan spawnpoint
- CreateObject(12814, 1271.888428,-1993.452637,495.079987, 0.0000, 0.0000, 0.0000); //BloodringArena spawnpoint
- CreateObject( 4585,-2882.761475,-3096.203369,-21.231087, 0.0000, 0.0000, 0.0000); //BuildingJump spawnpoint
- CreateObject( 5112, 302.000000, 1544.449951,577.099976, 0.0000, 0.0000, 344.9991); //WayOfGod
- CreateObject(18450, 2241.198730, -553.135132,359.050201, 0.0000, 0.0000, 264.6025); //WayToAir
- CreateObject(18450, 2225.719238, -551.588623,358.962128, 0.0000, 0.0000, 264.6025); //WayToAir
- CreateObject( 8171, 1283.905640, 4288.508789,107.692383, 0.0000, 0.0000, 0.0000); //HalfPipe
- CreateObject( 4562, 2251.377900, 362.028900,517.144900, 0.0000, 0.0000, 268.0403); //Trampoline
- CreateObject( 3095, 2888.911600, 1029.213600, 11.920100, 0.0000, 0.0000, 0.0000); //Karting
- CreateObject( 3095, 2888.913800, 1038.107200, 11.920100, 0.0000, 0.0000, 0.0000); //Karting
- CreateObject( 3095, 2888.907000, 1047.096900, 11.922100, 0.0000, 0.0000, 0.0000); //Karting
- CreateObject(18450, 1029.493530, 2787.852295,1066.784424, 0.0000, 0.0000, 0.0000); //WayToDeath
- CreateObject(18450,-2383.949463, 2945.699219, 360.635925, 0.0000, 0.0000, 269.7591); //MonsterCrash
- CreateObject( 5112,-3243.146000, -68.502000, 13.912000, 0.0000,-2.5780, 0.0000); //AdminCastle
- CreateObject( 5442,-3342.634000, -68.508000, 12.644000, 0.0000,-4.2970, 0.0000); //AdminCastle
- CreateObject(16685,-3620.709000, -180.695000, 1.185000, 0.0000, 0.0000,-126.3370); //AdminCastle
- CreateObject( 4874,-3657.689000, -274.866000, 4.733000, 0.0000, 0.0000, 143.5260); //AdminCastle
- CreateObject(16771,-3706.578000, -218.817000, 7.715000, 0.0000, 0.0000,-126.3370); //AdminCastle
- CreateObject( 8419,-3360.156000, -69.748000, 110.529000, 0.0000, 0.0000, 179.6220); //AdminCastle
- CreateObject( 9241,-3349.805000, -46.445000, 123.935000, 0.0000, 0.0000, 0.0000); //AdminCastle
- CreateObject( 9241,-3350.004000, -93.173000, 123.940000, 0.0000, 0.0000, 0.0000); //AdminCastle
- CreateObject(3851, -12.600080, 1541.148804, 94.431061, 0.000,269.8631, 0.0000); //GlassMadness
- CreateObject(3851, -12.596479, 1529.848267, 94.431427, 0.000,269.8631, 0.0000); //GlassMadness
- CreateObject(3851, -12.606895, 1510.512329, 94.434296, 0.000,269.8631, 0.0000); //GlassMadness
- CreateObject(3851, -24.516413, 1510.504517, 94.423111, 0.000,269.8631, 0.0000); //GlassMadness
- CreateObject(3851, -33.372280, 1510.526733, 94.417885, 0.000,269.8631, 0.0000); //GlassMadness
- CreateObject(3851, -33.368999, 1521.822754, 94.410744, 0.000,269.8631, 0.0000); //GlassMadness
- CreateObject(3851, -24.501865, 1541.143677, 94.420128, 0.000,269.8631, 0.0000); //GlassMadness
- CreateObject(3851, -33.386833, 1541.134033, 94.410126, 0.000,269.8631, 0.0000); //GlassMadness
- CreateObject(17310, -2847.246338, 2185.518311, 798.000000,0.0000,180.3777, 0.0000); //FreeWay
- CreateObject(17310, -2847.329590, 2197.264404, 798.000000,0.0000,180.3777, 0.0000); //FreeWay
- CreateObject(17310, -2847.347656, 2201.005859, 799.250977,13.7510,180.3777, 0.0000); //FreeWay
- CreateObject(18450, -3193.777588,-1210.862671,1397.179810,0.0000, 0.0000, 333.3575); //WayToChilliad
- CreateObject(18450, -673.209045,-3053.225342, 704.263550,0.0000, 0.0000, 90.2409); //DeadJump
- CreateObject(18450, 3458.541016,-2980.149170, 2.165215,0.0000, 0.0000, 0.0000); //WallRide
- CreateObject(18450, 355.043100, -82.583000, 557.081600,0.0000, 0.0000, 0.0000); //UpsideDown
- CreateObject(18450, 2929.756600, 1283.499800, 729.815700,0.0000, 0.0000, 0.0000); //WayToPiramide
- CreateObject(4726, 1544.695600,-1356.250600,1874.5605, 0.0000, 0.0000, 0.0000); //LSTower
- CreateObject(18450, 1995.1489, 911.279100, 274.6017, 0.0000,354.8434,269.7591); //RollerCoaster
- CreateObject(5706, 2974.3669, -2723.2007, 4.0526, 0.0000, 0.0000, 0.0000); //Bounce
- CreateObject(8417, -2334.792480,4063.763875, 10.769835,0.0000, 0.0000, 0.0000); //CarSumo*/
- //objetos no Spawn
- CreateObject(3080, 371.63241577148, -1930.5822753906, 7.9719877243042, 0.000000, 0.000000, 0.000000); //
- CreateObject(3080, 367.541015625, -1930.5400390625, 7.9719877243042, 0.000000, 0.000000, 0.000000); //
- CreateObject(3080, 371.61190795898, -1924.1186523438, 7.9719877243042, 0.000000, 0.000000, 180.0849609375); //
- CreateObject(3080, 367.47549438477, -1924.1087646484, 7.9719877243042, 0.000000, 0.000000, 180.08239746094); //
- CreateObject(3461, 390.41748046875, -2071.5671386719, 8.4109487533569, 0.000000, 0.000000, 0.000000); //
- CreateObject(3461, 386.88305664063, -2071.671875, 8.4109487533569, 0.000000, 0.000000, 0.000000); //
- CreateObject(3461, 388.57473754883, -2072.6472167969, 8.4109487533569, 0.000000, 0.000000, 0.000000); //
- CreateObject(3461, 380.86114501953, -2020.6784667969, 10.825011253357, 0.000000, 0.000000, 0.000000); //
- CreateObject(3472, 386.6728515625, -2061.9716796875, 7.867832660675, 0.000000, 0.000000, 0.000000); //
- CreateObject(3472, 381.0168762207, -2070.9750976563, 7.9810810089111, 0.000000, 0.000000, 0.000000); //
- CreateObject(3524, 373.94509887695, -1927.2840576172, 9.5572147369385, 0.000000, 0.000000, 0.000000); //
- CreateObject(3524, 365.32040405273, -1927.3651123047, 9.5572147369385, 0.000000, 0.000000, 0.000000); //
- CreateObject(3528, 374.48114013672, -2068.9194335938, 10.056175231934, 0.000000, 0.000000, 354.7607421875); //
- CreateObject(7392, 395.50885009766, -2066.8366699219, 23.486198425293, 0.000000, 0.000000, 0.000000); //
- CreateObject(2114, 392.75390625, -2036.3583984375, 12.075837135315, 0.000000, 0.000000, 0.000000); //
- CreateObject(3264, 361.22702026367, -1658.6977539063, 31.886119842529, 0.000000, 0.000000, 0.000000); //
- CreateObject(1337, 361.2265625, -1658.697265625, 32.386119842529, 0.000000, 0.000000, 0.000000); //
- return 1;
- }
- public SendPlayerFormattedText(playerid, const str[], define)
- {
- new tmpbuf[256];
- format(tmpbuf, sizeof(tmpbuf), str, define);
- SendClientMessage(playerid, 0xFF004040, tmpbuf);
- }
- public SendAllFormattedText(playerid, const str[], define)
- {
- new tmpbuf[256];
- format(tmpbuf, sizeof(tmpbuf), str, define);
- SendClientMessageToAll(0xFFFF00AA, tmpbuf);
- }
- strtok(const string[], &index)
- {
- new length = strlen(string);
- while ((index < length) && (string[index] <= ' '))
- {
- index++;
- }
- new offset = index;
- new result[20];
- while ((index < length) && (string[index] > ' ') && ((index - offset) < (sizeof(result) - 1)))
- {
- result[index - offset] = string[index];
- index++;
- }
- result[index - offset] = EOS;
- return result;
- }
- public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
- {
- if(dialogid == 2) {
- if(response) {
- } else {
- }
- return 1;
- }
- if(dialogid == 1) {
- if(response) {
- new message[256];
- new string[128], pName[MAX_PLAYER_NAME];
- GetPlayerName(playerid,pName,MAX_PLAYER_NAME);
- if(listitem == 0)
- {
- ResetPlayerWeapons(playerid);
- format(message, 256, "Você foi para o Drift da The Big Ear.");
- SendClientMessage(playerid, Amarelo, message);
- format(string,sizeof string,"%s(%d) Foi para o Drift da The Big Ear (/Teles).",pName, playerid);
- SendClientMessageToAll(Branco, string);
- SetPlayerPos(playerid,-313.4184,1537.2759,75.5625);
- } else if(listitem == 1) {
- ResetPlayerWeapons(playerid);
- format(message, 256, "Você foi para o Drift de San Fierro");
- SendClientMessage(playerid, Amarelo, message);
- format(string,sizeof string,"%s(%d) Foi para o drift de SF (/Teles).",pName, playerid);
- SendClientMessageToAll(Branco, string);
- SetPlayerPos(playerid, -2406.9268,-610.9659,132.7917);
- } else if(listitem == 2) {
- ResetPlayerWeapons(playerid);
- format(message, 256, "Você foi para o Drift de Las Venturas");
- SendClientMessage(playerid, Amarelo, message);
- format(string,sizeof string,"%s(%d) Foi para o drift de LV (/Teles).",pName, playerid);
- SendClientMessageToAll(Branco, string);
- SetPlayerPos(playerid, 2326.1724,1388.3887,42.8203);
- } else if(listitem == 3) {
- ResetPlayerWeapons(playerid);
- format(message, 256, "Você foi para o Aeroporto de Las Venturas.");
- SendClientMessage(playerid, Amarelo, message);
- format(string,sizeof string,"%s(%d) Foi para o Aero LV (/Teles).",pName, playerid);
- SendClientMessageToAll(Branco, string);
- SetPlayerPos(playerid,1705.7178,1614.3599,10.1384);
- } else if(listitem == 4) {
- ResetPlayerWeapons(playerid);
- format(message, 256, "Você foi para a Avenida de Las Venturas.");
- SendClientMessage(playerid, Amarelo, message);
- format(string,sizeof string,"%s(%d) Foi para Las Venturas (/Teles).",pName, playerid);
- SendClientMessageToAll(Branco, string);
- SetPlayerPos(playerid,2082.6111,872.0411,7.0866);
- } else if(listitem == 5) {
- ResetPlayerWeapons(playerid);
- format(message, 256, "Você foi para o Aeroporto Abandonado.");
- SendClientMessage(playerid, Amarelo, message);
- format(string,sizeof string,"%s(%d) Foi para o Aero Abandonado. (/Teles).",pName, playerid);
- SendClientMessageToAll(Branco, string);
- SetPlayerPos(playerid,411.4620,2529.4597,16.6033);
- } else if(listitem == 6) {
- ResetPlayerWeapons(playerid);
- format(message, 256, "Você foi para a Área de Hydras.");
- SendClientMessage(playerid, Amarelo, message);
- format(string,sizeof string,"%s(%d) Foi para a Área de Hydras. (/Teles).",pName, playerid);
- SendClientMessageToAll(Branco, string);
- SetPlayerPos(playerid, 286.7869,2052.0757,17.6406);
- } else if(listitem == 7) {
- ResetPlayerWeapons(playerid);
- format(message, 256, "Você foi para a Área de x1 Walking.");
- SendClientMessage(playerid, Amarelo, message);
- format(string,sizeof string,"%s(%d) Foi para a Área x1 Walking. (/Teles).",pName, playerid);
- SendClientMessageToAll(Branco, string);
- GivePlayerWeapon(playerid, 24, 9999); //Deagle, 9999 balas
- GivePlayerWeapon(playerid, 27, 9999); //Combat Shotgun, 9999 balas
- GivePlayerWeapon(playerid, 31, 9999); //M4, 9999 balas
- GivePlayerWeapon(playerid, 34, 9999); //Sniper, 9999 balas
- SetPlayerHealth(playerid, 100);
- SetPlayerArmour(playerid,100);
- SetPlayerPos(playerid, -1754.3727,687.4343,105.1406);
- } else if(listitem == 8) {
- ResetPlayerWeapons(playerid);
- format(message, 256, "Você foi para a Área de x1 Running.");
- SendClientMessage(playerid, Amarelo, message);
- format(string,sizeof string,"%s(%d) Foi para a Área de x1 Running. (/Teles).",pName, playerid);
- SendClientMessageToAll(Branco, string);
- GivePlayerWeapon(playerid, 22, 9999); //9mm, 9999 balas
- GivePlayerWeapon(playerid, 26, 9999); //Sawn-Off, 9999 balas
- GivePlayerWeapon(playerid, 32, 9999); //Micro Uzi, 9999 balas
- SetPlayerHealth(playerid, 100);
- SetPlayerArmour(playerid,100);
- SetPlayerPos(playerid, -1757.6378,781.9347,167.6563);
- } else if(listitem == 9) {
- ResetPlayerWeapons(playerid);
- format(message, 256, "Você voltou para a Área de Respawn.");
- SendClientMessage(playerid, Amarelo, message);
- format(string,sizeof string,"%s(%d) Voltou para a Área de Respawn (/Teles).",pName, playerid);
- SendClientMessageToAll(Branco, string);
- SetPlayerPos(playerid,372.6281,-2055.2014,14.0436);
- } else if(listitem == 10) {
- ResetPlayerWeapons(playerid);
- format(message, 256, "Você foi para a Área do X1 Tenso!");
- SendClientMessage(playerid, Amarelo, message);
- GivePlayerWeapon(playerid, 10, 1); //Dildo roxo
- format(string,sizeof string,"%s(%d) Foi para a Área do X1 Tenso! (/Teles).",pName, playerid);
- SendClientMessageToAll(Branco, string);
- new rand = random(sizeof(gRandomx1tenso));
- SetPlayerPos(playerid, gRandomx1tenso[rand][0], gRandomx1tenso[rand][1], gRandomx1tenso[rand][2]);
- } else if(listitem == 11) {
- ResetPlayerWeapons(playerid);
- format(message, 256, "Objetos retirados do Gamemode NNF Tuning v2.6. Todos os créditos vão ao Criador do NNF Tuning.");
- SendClientMessage(playerid, Vermelho, message);
- format(message, 256, "Você foi para o Aeroporto de Los Santos.");
- SendClientMessage(playerid, Amarelo, message);
- format(string,sizeof string,"%s(%d) Foi para o Aeroporto de Los Santos (Área de Stunts)(/Teles).",pName, playerid);
- SendClientMessageToAll(Branco, string);
- SetPlayerPos(playerid, 1963.9934,-2190.3323,13.5469);
- } else if(listitem == 12) {
- ResetPlayerWeapons(playerid);
- format(message, 256, "Você foi para o Stunt 1.");
- SendClientMessage(playerid, Amarelo, message);
- format(string,sizeof string,"%s(%d) Foi para o Stunt 1 (/Teles).",pName, playerid);
- SendClientMessageToAll(Branco, string);
- SetPlayerPos(playerid, -2238.0725,314.1881,35.3203);
- } else if(listitem == 13) {
- ResetPlayerWeapons(playerid);
- format(message, 256, "Você foi para o Stunt 2.");
- SendClientMessage(playerid, Amarelo, message);
- format(string,sizeof string,"%s(%d) Foi para o Stunt 2 (/Teles).",pName, playerid);
- SendClientMessageToAll(Branco, string);
- SetPlayerPos(playerid, -1995.6810,813.8735,45.4453);
- } else if(listitem == 14) {
- ResetPlayerWeapons(playerid);
- format(message, 256, "Você foi para o Stunt 3.");
- SendClientMessage(playerid, Amarelo, message);
- format(string,sizeof string,"%s(%d) Foi para o Stunt 3 (/Teles).",pName, playerid);
- SendClientMessageToAll(Branco, string);
- SetPlayerPos(playerid, 1960.7417,1468.3936,10.8203);
- } else if(listitem == 15) {
- ResetPlayerWeapons(playerid);
- format(message, 256, "Você foi para o Stunt 4.");
- SendClientMessage(playerid, Amarelo, message);
- format(string,sizeof string,"%s(%d) Foi para o Stunt 4 (/Teles).",pName, playerid);
- SendClientMessageToAll(Branco, string);
- SetPlayerPos(playerid, -1666.8218,524.3950,38.5078);
- } else if(listitem == 16) {
- ResetPlayerWeapons(playerid);
- format(message, 256, "Você foi para o Stunt 5.");
- SendClientMessage(playerid, Amarelo, message);
- format(string,sizeof string,"%s(%d) Foi para o Stunt 5 (/Teles).",pName, playerid);
- SendClientMessageToAll(Branco, string);
- SetPlayerPos(playerid, 1925.1797,2003.8167,9.9304);
- } else if(listitem == 17) {
- ResetPlayerWeapons(playerid);
- format(message, 256, "Você foi para o Stunt 6.");
- SendClientMessage(playerid, Amarelo, message);
- format(string,sizeof string,"%s(%d) Foi para o Stunt 6 (/Teles).",pName, playerid);
- SendClientMessageToAll(Branco, string);
- SetPlayerPos(playerid, -2015.6881,-310.9070,35.2860);
- } else if(listitem == 18) {
- ResetPlayerWeapons(playerid);
- format(message, 256, "Você foi para o Stunt 7.");
- SendClientMessage(playerid, Amarelo, message);
- format(string,sizeof string,"%s(%d) Foi para o Stunt 7 (/Teles).",pName, playerid);
- SendClientMessageToAll(Branco, string);
- SetPlayerPos(playerid, 2032.0288,1001.1210,10.8131);
- } else if(listitem == 19) {
- ResetPlayerWeapons(playerid);
- format(message, 256, "Você foi para o Stunt 8.");
- SendClientMessage(playerid, Amarelo, message);
- format(string,sizeof string,"%s(%d) Foi para o Stunt 8 (/Teles).",pName, playerid);
- SendClientMessageToAll(Branco, string);
- SetPlayerPos(playerid, 2244.7480,1346.4546,10.8203);
- } else if(listitem == 20) {
- ResetPlayerWeapons(playerid);
- format(message, 256, "Você foi para o Drag de SF.");
- SendClientMessage(playerid, Amarelo, message);
- format(string,sizeof string,"%s(%d) Foi para o Drag de SF (/Teles).",pName, playerid);
- SendClientMessageToAll(Branco, string);
- SetPlayerPos(playerid, -1912.7190,-1344.7659,40.5864);
- } else if(listitem == 21) {
- ResetPlayerWeapons(playerid);
- format(message, 256, "Você foi para o Drag de LV.");
- SendClientMessage(playerid, Amarelo, message);
- format(string,sizeof string,"%s(%d) Foi para o Drag de LV (/Teles).",pName, playerid);
- SendClientMessageToAll(Branco, string);
- SetPlayerPos(playerid, 1799.2687,865.2097,10.5769);
- } else if(listitem == 22) {
- ResetPlayerWeapons(playerid);
- format(message, 256, "Você foi para o Drag de LS.");
- SendClientMessage(playerid, Amarelo, message);
- format(string,sizeof string,"%s(%d) Foi para o Drag de LS (/Teles).",pName, playerid);
- SendClientMessageToAll(Branco, string);
- SetPlayerPos(playerid, 2843.5945,-2072.5918,11.1016);
- } else if(listitem == 23) {
- ResetPlayerWeapons(playerid);
- format(message, 256, "Você foi o Offroad 1.");
- SendClientMessage(playerid, Amarelo, message);
- format(string,sizeof string,"%s(%d) Foi para o Offroad 1 (/Teles).",pName, playerid);
- SendClientMessageToAll(Branco, string);
- SetPlayerPos(playerid, -323.2494,-1919.1023,13.3672);
- } else if(listitem == 24) {
- ResetPlayerWeapons(playerid);
- format(message, 256, "Você foi o Offroad 2.");
- SendClientMessage(playerid, Amarelo, message);
- format(string,sizeof string,"%s(%d) Foi para o Offroad 2 (/Teles).",pName, playerid);
- SendClientMessageToAll(Branco, string);
- SetPlayerPos(playerid, -1969.2614,-2096.4246,78.8990);
- }
- }
- }
- return 0;
- }
- IsValidSkin(skinid) // local onde proibe as skin bugada
- {
- #define MAX_BAD_SKINS 17
- new badSkins[MAX_BAD_SKINS] = {
- 1, 3, 4, 5, 6, 8, 42, 65, 74, 86,
- 119, 149, 208, 273, 289, 270, 271
- };
- if (skinid < 0 || skinid > 299) return false;
- for (new i = 0; i < MAX_BAD_SKINS; i++) {
- if (skinid == badSkins[i]) return false;
- }
- #undef MAX_BAD_SKINS
- return true;
- }
- public OnPlayerStateChange(playerid, newstate, oldstate)
- {
- if(newstate == PLAYER_STATE_DRIVER || newstate == PLAYER_STATE_PASSENGER)
- {
- VehicleModel[playerid] = GetVehicleModel(GetPlayerVehicleID(playerid));
- new string[64];
- switch(0)
- {
- case 0: format(string,sizeof(string),"~y~%s",VehicleNames[VehicleModel[playerid]-400]);
- }
- GameTextForPlayer(playerid,string,2000,1);
- SetTimerEx("CheckForChange",6000,true,"i",playerid);
- return 1;
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement