Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <a_samp>
- #include <core>
- #include <float>
- #include <dini>
- #pragma tabsize 0
- #define COLOR_WHITE 0xFFFFFFAA
- #define COR_3DLABEL 0x00FF00FF
- #define COLOR_GRAD2 0xBFC0C2FF
- #define azulagua 0x0080FFAA
- #define BLANCO 0xEFEFF7AA
- #define DIALOG_REGISTRO 1
- #define DIALOG_LOGIN 2
- #define CONTAS "Contas/%s.ini"
- #define RESPAWN_TIME 3000000
- #define COR_AZTECAS 0x2641FEAA
- #define CORS 0x00FF00FF
- #define COLOR_DBLUE 0x0080FFAA
- #define TEAM_CYAN_COLOR 0xA92BF6F6
- #define TXT_RLOGIN "{FFFFFF}Seja Bem Vindo Novamente\nStatus Da Conta {00FF00}Registrado\n{FFFFFF}Nick: %s \n"
- #define TXT_LOGIN "{FFFFFF}Seja Bem Vindo\nStatus Da Conta {00FF00}Registrado\n{FFFFFF}Nick: %s \n"
- #define TXT_NREGISTER "{FFFFFF}Olá, Você Não Esta {FF0000}Registrado\n{FFFFFF}Nick: %s \nDigite Uma Senha"
- #define TXT_RL "{FFFFFF}Pronto você esta {00FF00}registrado \n{FFFFFF}Agora digite Sua Senha Para Logar-Se"
- #define TXT_TUTO "{FFFFFF}As Regras Aqui são simples! {FF0000}NÃO {FFFFFF}use Xiter/Hacker/Cleo. Tenha um Jogo Limpo! Bom Jogo"
- new Text:globC854;
- new Text:var3;
- new Text:players;
- new Text:Textdraw0;
- new Text:Textdraw1;
- new Text:Forum;
- new sendername[MAX_PLAYER_NAME];
- new strvinny[256];
- new Text:ImagemEntrada;
- new Text:Imortal;
- new Text:Comandos;
- new glob4C6C[200];
- new glob4C6A[200];
- new XiterCrashando[MAX_PLAYERS];
- new antifakekill[MAX_PLAYERS];
- new TotalMatou[MAX_PLAYERS];
- new TotalMorreu[MAX_PLAYERS];
- new TotalLogou[MAX_PLAYERS];
- new globDE40[200];
- new globD1C0[200];
- new CopCarros[135];
- new BallasCarros[13];
- new GrooveCar[11];
- new AztecasCar[12];
- new VagosCar[13];
- new CarrosHit[15];
- new Evento;
- forward SalvarLevel(playerid);
- forward CarregarLevel(playerid);
- forward hora(playerid);
- forward AvisoAdmin(COLOR,const string[]);
- forward IsACopCar(carid);
- forward IsABallasCar(carid);
- forward IsAGrooveCar(carid);
- forward IsAAztecaCar(carid);
- forward IsAAzteca(playerid);
- forward IsAVagosCar(carid);
- forward IsAHitCar(carid);
- new Cores[] =
- {
- 0xFFD700AA,
- 0x1E90FFAA,
- 0xFFB973AA,
- 0x5EFFBCAA,
- 0xFF80FFAA
- };
- new Mensagens[][128] = {
- "BPF SERVER:{FFFFFF} VISITE NOSSO FÓRUM: playfacildm.forumeiros.com",
- "BPF SERVER:{FFFFFF} TEM DUVIDAS? DIGITE /COMANDOS OU /TELEPORTES",
- "BPF SERVER:{FFFFFF} ESTAMOS TRABALHANDO PARA QUE SEU FUTURO AQUI SEJA MELHOR.",
- "BPF SERVER:{FFFFFF} CHAME SEUS AMIGOS PARA JOGAR AQUI, VOCÊ AJUDARÁ O SERVIDOR A CRESCER!",
- "BPF SERVER:{FFFFFF} NOSSOS ADMINS ESTAO TRABALHANDO PARA LHE ATENDER MELHOR.",
- "BPF SERVER:{FFFFFF} VOCÊ FOI MALTRATADO? PUNIDO INJUSTAMENTE? OFENDIDO? VÁ NO /FORUM E DENUNCIE!.",
- "BPF SERVER:{FFFFFF} SE CADASTRE EM NOSSO FÓRUM, E UMA DAS PARTES PRINCIPAIS DO SERVIDOR /FORUM!",
- "BPF SERVER:{FFFFFF} VISITE NOSSO Raidcall: ID: 5205266.",
- "BPF SERVER:{FFFFFF} CONFIRA NOSSO SISTEMA DE NITRO INFINITO.",
- "BPF SERVER:{FFFFFF} ACHOU O SERVIDOR NA INTERNET? ADICIONE NOSSO IP NOS FAVORITOS: 199.119.226.172:7792"
- };
- forward SendMensagens();
- public SendMensagens()
- {
- new gstring[128];
- new random1 = random(sizeof(Mensagens));
- new random2 = random(sizeof(Cores));
- format(gstring, sizeof(gstring), "%s", Mensagens[random1]);
- SendClientMessageToAll(Cores[random2],gstring);
- return 1;
- }
- //======================[ Anti Money Hacker]====================================
- new NumGranaVinny[MAX_PLAYERS];
- stock GranaVinny(playerid, ammount)return NumGranaVinny[playerid] += ammount;
- stock GetGranaVinny(playerid)return NumGranaVinny[playerid];
- stock ResetGranaVinny(playerid)return NumGranaVinny[playerid] = 0;
- forward CheckGranaVinny();
- public CheckGranaVinny() { for(new i;i<MAX_PLAYERS;i++) { ResetPlayerMoney( i); GivePlayerMoney(i, GetGranaVinny(i)); } }
- //=============================================================================
- stock PlayerName(playerid)
- {
- new Name[MAX_PLAYER_NAME];
- GetPlayerName(playerid, Name, MAX_PLAYER_NAME);
- return Name;
- }
- main()
- {
- print("\n----------------------------------");
- print(" Bare Script\n");
- print("----------------------------------\n");
- }
- public OnPlayerConnect(playerid)
- {
- new gstring[128];
- format(gstring,sizeof(gstring),"{FFFF00}[Atenção] {00FFFF}%s [ID:%d] {FFFF00}entrou no Servidor {FF0000}Players Online [ {00FFFF}%d {FF0000}]", PlayerName(playerid),playerid,ContarJogadores());
- SendClientMessageToAll(0xFF8080AA,gstring);
- var3 = TextDrawCreate(0.0, 435.0, " ~y~Brasil ~r~PlayFacil ~b~DM");
- TextDrawUseBox(var3, true);
- TextDrawFont(var3, 2);
- TextDrawBoxColor(var3, 0x0000007E);
- TextDrawBackgroundColor(var3, 0x0000007E);
- TextDrawUseBox(var3, true);
- TextDrawShowForPlayer(playerid, var3);
- TextDrawShowForPlayer(playerid, globC854);
- Forum = TextDrawCreate(0.0, 435.0, " www.playfacildm.forumeiros.com");
- TextDrawFont(Forum, 2);
- TextDrawLetterSize(Forum, 0.5000, 1.0000);
- TextDrawBackgroundColor(var3, 0x0000007E);
- TextDrawShowForPlayer(playerid, Forum);
- TextDrawShowForPlayer(playerid, globC854);
- Comandos = TextDrawCreate(0.0, 418.0, " ~y~/comandos /teleportes /kit /kit01 /colete /vida /jetpack");
- TextDrawFont(Comandos, 3);
- TextDrawBackgroundColor(Comandos, 0x0000007E);
- TextDrawShowForPlayer(playerid, Comandos);
- TextDrawShowForPlayer(playerid, globC854);
- new strings[15];
- format(strings, 15, "%d/50",GetOnLinePlayers());
- TextDrawSetString(players, strings);
- TextDrawShowForPlayer(playerid, players);
- TextDrawShowForPlayer(playerid, Textdraw0);//nome da draw no caso a que definimos la emcima
- TextDrawShowForPlayer(playerid, Textdraw1);
- GranaVinny(playerid, 50000);
- new Nome[MAX_PLAYER_NAME];
- GetPlayerName(playerid, Nome, sizeof(Nome));
- new String[100];
- format(String, sizeof(String), CONTAS, Nome);
- if(!dini_Exists(String))
- {
- format(String, sizeof(String), TXT_NREGISTER, Nome);
- ShowPlayerDialog(playerid, DIALOG_REGISTRO, 3, "Registro", String, "Registrar", "Cancelar");
- }
- else
- {
- format(String, sizeof(String),TXT_LOGIN, Nome);
- ShowPlayerDialog(playerid, DIALOG_LOGIN, 3, "Registro Com Sucesso", String, "Logar", "Cancelar");
- }
- return 1;
- }
- public OnPlayerCommandText(playerid, cmdtext[])
- {
- new idx;
- new cmd[256];
- new gstring[128];
- cmd = strtok(cmdtext, idx);
- if(strcmp(cmd, "/online", true) == 0) {
- if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid, -1, "Você não tem Autorização Para Usar Esse Comando");
- format(gstring, sizeof(gstring), "{FFFFFF}Mata Mata Info: {FF0000}Players Online:{80E3FF} [{80FF80} %d {80E3FF}]", ContarJogadores());
- SendClientMessageToAll(0xFF8080FF, gstring);
- return 1;
- }
- if(strcmp(cmd, "/ahelp", true) == 0 || strcmp(cmd, "/aa", true) == 0 || strcmp(cmd, "/adminajuda", true) == 0)
- {
- if(IsPlayerConnected(playerid))
- {
- SendClientMessage(playerid, COLOR_WHITE, "|______________ Ajuda Admin ______________|");
- if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid, -1, "Você não tem Autorização Para Usar Esse Comando");
- {
- SendClientMessage(playerid, TEAM_CYAN_COLOR, "*ADMIN *** /gmx /av /criarevento /parararevento /rcon kick /rcon ban");
- }
- }
- return 1;
- }
- if(strcmp(cmd, "/m", true) == 0) {
- if(globDE40[playerid] == 2 || globDE40[playerid] == 3 || globDE40[playerid] == 4 || globDE40[playerid] == 5)
- {
- SendClientMessage(playerid, COLOR_WHITE, " Você não é um policial!");
- return 1;
- }
- new Nome[MAX_PLAYER_NAME];
- GetPlayerName(playerid, Nome, sizeof(Nome));
- new message[256];
- strmid(message, cmdtext, 3, strlen(cmdtext));
- GetPlayerName(playerid, Nome, sizeof(Nome));
- if(!strlen(message))
- {
- SendClientMessage(playerid, 0xFF0606FF, "|| Use /m [texto] ||");
- }
- else
- {
- new string[64];
- format(string, sizeof(string), "[MEGAFONE] %s(id:%d) {FFFF00}%s ",Nome,playerid,message);
- printf(string);
- SendClientMessageToAll(-1, string);
- GivePlayerMoney(playerid,0);
- }
- return 1;
- }
- if(strcmp(cmd, "/menu", true) == 0) {
- {
- ShowPlayerDialog(playerid,04041,DIALOG_STYLE_LIST,"{FF0000}Loja De armas -Humanos-","Desert Eagle ($5000)\nGranada ($5000)\nMP5 ($5000)\nM4 ($10000)\nAK-47 ($9000)\nSpas12 Shotgun ($10000)\nMolotov (10000)\nSniper ($12000)\nRPG ($12000)\nVida Extra ($5000)\nSkin Especial 1($5000)\nSkin Especial 2($5000)\nSkin Especial 3($5000)\nTeleporte Pref($5000)","Confirmar","Cancelar");
- }
- return 1;
- }
- if(strcmp(cmdtext,"/rc", true) == 0)
- {
- for(new x = 0; x < MAX_VEHICLES ; x++)
- {
- SetVehicleToRespawn(x);
- }
- return 1;
- }
- if(strcmp(cmd, "/kit", true) == 0) {
- if(GetPlayerMoney(playerid) < 2500) return SendClientMessage(playerid, COR_3DLABEL, "[LOJA] Dinheiro Insuficiente!");
- GivePlayerMoney(playerid, -2500);
- GivePlayerWeapon(playerid, 24, 500);
- GivePlayerWeapon(playerid, 25, 500);
- GivePlayerWeapon(playerid, 29, 500);
- GivePlayerWeapon(playerid, 31, 500);
- GivePlayerWeapon(playerid, 34, 500);
- GranaVinny(playerid, -5000);
- format(gstring, sizeof(gstring), "{00FFFF}%s {FFFF00}Comprou seu kit (/kit)", PlayerName(playerid));
- SendClientMessageToAll(0xFF8080FF, gstring);
- return 1;
- }
- if(strcmp(cmd, "/kitadmdono", true) == 0) {
- if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid, -1, "Você não tem Autorização Para Usar Esse Comando");
- GivePlayerWeapon(playerid, 24, 500);
- GivePlayerWeapon(playerid, 25, 500);
- GivePlayerWeapon(playerid, 29, 500);
- GivePlayerWeapon(playerid, 31, 500);
- GivePlayerWeapon(playerid, 34, 500);
- SetPlayerHealth(playerid, 100);
- SetPlayerArmour(playerid, 100);
- return 1;
- }
- if(strcmp(cmd, "/kit01", true) == 0) {
- if(GetPlayerMoney(playerid) < 2500) return SendClientMessage(playerid, COR_3DLABEL, "[LOJA] Dinheiro Insuficiente!");
- GivePlayerMoney(playerid, -2500);
- GivePlayerWeapon(playerid, 23, 500);
- GivePlayerWeapon(playerid, 26, 500);
- GivePlayerWeapon(playerid, 28, 500);
- GivePlayerWeapon(playerid, 30, 500);
- GivePlayerWeapon(playerid, 33, 500);
- format(gstring, sizeof(gstring), "{00FFFF}%s {FFFF00}Comprou seu kit 01 (/kit01)", PlayerName(playerid));
- SendClientMessageToAll(0xFF8080FF, gstring);
- return 1;
- }
- if (strcmp("/godc", cmdtext, true, 10) == 0)
- {
- if (IsPlayerInAnyVehicle(playerid)) {
- SetVehicleHealth(GetPlayerVehicleID(playerid),999999);
- SendClientMessage(playerid, COLOR_GRAD2, "Carro em God Mode");
- } else {
- SendClientMessage(playerid, COLOR_GRAD2,"Erro: Você não está em um veículo!");
- }
- return 1;
- }
- if(strcmp(cmd, "/kit02", true) == 0) {
- if(GetPlayerMoney(playerid) < 2500) return SendClientMessage(playerid, COR_3DLABEL, "[LOJA] Dinheiro Insuficiente!");
- GivePlayerMoney(playerid, -2500);
- GivePlayerWeapon(playerid, 22, 500);
- GivePlayerWeapon(playerid, 32, 500);
- GivePlayerWeapon(playerid, 27, 500);
- GivePlayerWeapon(playerid, 30, 500);
- GivePlayerWeapon(playerid, 34, 500);
- GivePlayerWeapon(playerid, 04, 500);
- SetPlayerArmour(playerid, 100);
- format(gstring, sizeof(gstring), "{00FFFF}%s {FFFF00}Comprou seu kit 02 (/kit02)", PlayerName(playerid));
- SendClientMessageToAll(0xFF8080FF, gstring);
- return 1;
- }
- if(strcmp(cmd, "/trabalhar", true) == 0) {
- if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid, -1, "Você não tem Autorização Para Usar Esse Comando");
- SetPlayerHealth(playerid, 9999);
- SetPlayerSkin(playerid, 217);
- SetPlayerColor(playerid, 0xFF80FF);
- format(gstring, sizeof(gstring), "{00FFFF}Admin: %s {FF1493}Entrou em Modo Trabalho! Caso Precise de Ajuda Use: /relatorio [Texto]", PlayerName(playerid));
- SendClientMessageToAll(0xFF8080FF, gstring);
- return 1;
- }
- if(strcmp(cmd, "/gmx", true) == 0) {
- if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid, -1, "Você não tem Autorização Para Usar Esse Comando");
- GetPlayerName(playerid,sendername,sizeof(sendername));
- new string[128];
- format(string,sizeof(string), "AdmCmd: %s Reiniciou o servidor (GMX), AGUARDE!.",sendername);
- SendClientMessageToAll(COR_3DLABEL, string);
- for( new i = 0; i < MAX_PLAYERS; i++ )
- ShowPlayerDialog(i, 156, DIALOG_STYLE_MSGBOX, "{FF8000}Servidor Reiniciando", "{00FF00}O servidor está sendo Reiniciado(GMX).\n\n{8080FF}Não saia do Servidor!!!\n\n{FFFF00}Por Favor Aguarde...\n\n{FF8000}Voltaremos em Segundos", "OK", "");
- GameModeExit();
- for( new i = 0; i < MAX_PLAYERS; i++ )
- SalvarPlayer(i);
- return 1;
- }
- if (strcmp(cmd, "/voar", true) == 0)
- {
- if(IsPlayerConnected(playerid))
- {
- if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid, -1, "Você não tem Autorização Para Usar Esse Comando");
- {
- new Float:px, Float:py, Float:pz, Float:pa;
- GetPlayerFacingAngle(playerid,pa);
- if(pa >= 0.0 && pa <= 22.5) //n1
- {
- GetPlayerPos(playerid, px, py, pz);
- SetPlayerPos(playerid, px, py+30, pz+5);
- }
- else if(pa >= 332.5 && pa < 0.0) //n2
- {
- GetPlayerPos(playerid, px, py, pz);
- SetPlayerPos(playerid, px, py+30, pz+5);
- }
- else if(pa >= 22.5 && pa <= 67.5) //nw
- {
- GetPlayerPos(playerid, px, py, pz);
- SetPlayerPos(playerid, px-15, py+15, pz+5);
- }
- else if(pa >= 67.5 && pa <= 112.5) //w
- {
- GetPlayerPos(playerid, px, py, pz);
- SetPlayerPos(playerid, px-30, py, pz+5);
- }
- else if(pa >= 112.5 && pa <= 157.5) //sw
- {
- GetPlayerPos(playerid, px, py, pz);
- SetPlayerPos(playerid, px-15, py-15, pz+5);
- }
- else if(pa >= 157.5 && pa <= 202.5) //s
- {
- GetPlayerPos(playerid, px, py, pz);
- SetPlayerPos(playerid, px, py-30, pz+5);
- }
- else if(pa >= 202.5 && pa <= 247.5)//se
- {
- GetPlayerPos(playerid, px, py, pz);
- SetPlayerPos(playerid, px+15, py-15, pz+5);
- }
- else if(pa >= 247.5 && pa <= 292.5)//e
- {
- GetPlayerPos(playerid, px, py, pz);
- SetPlayerPos(playerid, px+30, py, pz+5);
- }
- else if(pa >= 292.5 && pa <= 332.5)//e
- {
- GetPlayerPos(playerid, px, py, pz);
- SetPlayerPos(playerid, px+15, py+15, pz+5);
- }
- else
- {
- GetPlayerPos(playerid, px, py, pz);
- SetPlayerPos(playerid, px+15, py+15, pz+5);
- }
- }
- }
- return 1;
- }
- if(strcmp(cmd, "/criarevento", true) == 0)
- {
- if(IsPlayerConnected(playerid))
- {
- if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid, -1, "Você não tem Autorização Para Usar Esse Comando");
- {
- if(Evento == 1)
- {
- SendClientMessage(playerid, CORS, "Já está decorrendo um evento use, /pararevento para abrir outro!");
- return 1;
- }
- if(Evento == 0)
- {
- SendClientMessage(playerid, CORS, "Você está criando um evento e pedindo a todos os players para ir.");
- for(new i = 0; i < MAX_PLAYERS; i++)
- {
- if(IsPlayerConnected(i))
- {
- Evento = 1;
- new string[100];
- GetPlayerName(playerid, sendername, sizeof(sendername));
- format(string,sizeof(string),"BWS Evento: O Admin %s está chamando todos para um Evento\nClique em IR para ir ao Evento\nClique em Não ir para não ir ao evento!",sendername);
- ShowPlayerDialog(i, 11, DIALOG_STYLE_MSGBOX, "EVENTO INICIADO", string, "Ir", "Não ir");
- new Float:vc,Float:vy,Float:vz;
- GetPlayerPos(playerid,vc,vy,vz);
- }
- }
- }
- }
- return 1;
- }
- }
- if(strcmp(cmd, "/pararevento", true) == 0)
- {
- if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid, -1, "Você não tem Autorização Para Usar Esse Comando");
- {
- if(Evento == 0)
- {
- SendClientMessage(playerid, COLOR_DBLUE, "Não está ativo um evento atualmente, use /criarevento para criar um!");
- return 1;
- }
- if(Evento == 1)
- {
- Evento = 0;
- GetPlayerName(playerid, sendername, sizeof(sendername));
- new string[100];
- format(string, sizeof(string), "[Evento BWS]: O Admin %s parou um evento que esta-va decorrendo.", sendername);
- SendClientMessageToAll(0xFF6262AA,string);
- }
- }
- return 1;
- }
- if(strcmp(cmd, "/av", true) == 0) {
- if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid, -1, "Você não tem Autorização Para Usar Esse Comando");
- GetPlayerName(playerid, sendername, sizeof(sendername));
- new length = strlen(cmdtext);
- while ((idx < length) && (cmdtext[idx] <= ' '))
- {
- idx++;
- }
- new offset = idx;
- new result[100];
- while ((idx < length) && ((idx - offset) < (sizeof(result) - 1)))
- {
- result[idx - offset] = cmdtext[idx];
- idx++;
- }
- result[idx - offset] = EOS;
- if(!strlen(result))
- {
- SendClientMessage(playerid, COLOR_GRAD2, "USE: (/av)isar [texto]");
- return 1;
- }
- SendClientMessageToAll(0x95FFDFAA,"**~~*~*~*~*~*~*~*|{00FF00}B{FFD700}.P.{1E90FF}F{95FFDF}| Aviso Da Administração |{00FF00}B{FFD700}.P.{1E90FF}F{95FFDF}|*~*~*~*~*~*~*~~**");
- format(strvinny, sizeof(strvinny), "Admin {FF80FF}%s:{00FF00} %s", sendername, result);
- SendClientMessageToAll(0x80F0FFFF, strvinny);
- return 1;
- }
- if(strcmp(cmd, "/colete", true) == 0) {
- if(GetPlayerMoney(playerid) < 1000) return SendClientMessage(playerid, COR_3DLABEL, "[LOJA] Dinheiro Insuficiente!");
- GivePlayerMoney(playerid, -1000);
- SetPlayerArmour(playerid, 100.0);
- format(gstring, sizeof(gstring), "{00FFFF}%s {FFFF00}Comprou Colete (/colete)", PlayerName(playerid));
- SendClientMessageToAll(0xFF8080FF, gstring);
- return 1;
- }
- if(strcmp(cmd, "/jetpack", true) == 0) {
- if(GetPlayerMoney(playerid) < 5000) return SendClientMessage(playerid, COR_3DLABEL, "[LOJA] Dinheiro Insuficiente!");
- GivePlayerMoney(playerid, -5000);
- SetPlayerSpecialAction(playerid, 2);
- format(gstring, sizeof(gstring), "{00FFFF}%s {FFFF00}Comprou um Jetpack (/jetpack)", PlayerName(playerid));
- SendClientMessageToAll(0xFF8080FF, gstring);
- return 1;
- }
- if(strcmp(cmd, "/morro", true) == 0) {
- SetPlayerPos(playerid, 2166.5967,-997.5211,62.9637);
- format(gstring, sizeof(gstring), "{00FFFF}%s {FFFF00}Foi para o Morro (/morro)", PlayerName(playerid));
- SendClientMessageToAll(0xFF8080FF, gstring);
- return 1;
- }
- if(strcmp(cmd, "/igreja", true) == 0) {
- SetPlayerPos(playerid, 2229.3865,-1333.9766,23.9817);
- format(gstring, sizeof(gstring), "{00FFFF}%s {FFFF00}Foi para a Igreja (/igreja)", PlayerName(playerid));
- SendClientMessageToAll(0xFF8080FF, gstring);
- return 1;
- }
- if(strcmp(cmd, "/pista", true) == 0) {
- SetPlayerPos(playerid, 1923.2849,-1404.8607,13.5703);
- format(gstring, sizeof(gstring), "{00FFFF}%s {FFFF00}Foi para a Pista de Skate (/pista)", PlayerName(playerid));
- SendClientMessageToAll(0xFF8080FF, gstring);
- return 1;
- }
- if(strcmp(cmd, "/rampa", true) == 0) {
- SetPlayerPos(playerid, 599.2275,561.4962,276.3844);
- format(gstring, sizeof(gstring), "{00FFFF}%s {FFFF00}Foi para a Mega Rampa (/rampa)", PlayerName(playerid));
- SendClientMessageToAll(0xFF8080FF, gstring);
- return 1;
- }
- if(strcmp(cmd, "/pref", true) == 0) {
- SetPlayerPos(playerid, 1479.6299,-1742.6183,13.5469);
- format(gstring, sizeof(gstring), "{00FFFF}%s {FFFF00}Foi para a Prefeitura (/pref)", PlayerName(playerid));
- SendClientMessageToAll(0xFF8080FF, gstring);
- return 1;
- }
- if(strcmp(cmd, "/corrida", true) == 0) {
- SetPlayerPos(playerid, 2959.0925,-2346.7673,5.3511);
- format(gstring, sizeof(gstring), "{00FFFF}%s {FFFF00}Foi para a Corrida Maluca (/corrida)", PlayerName(playerid));
- SendClientMessageToAll(0xFF8080FF, gstring);
- return 1;
- }
- if(strcmp(cmd, "/drop", true) == 0) {
- SetPlayerPos(playerid, -3751.1413,1910.2363,968.2881);
- format(gstring, sizeof(gstring), "{00FFFF}%s {FFFF00}Foi para o Drop (/drop)", PlayerName(playerid));
- SendClientMessageToAll(0xFF8080FF, gstring);
- return 1;
- }
- if(strcmp(cmd, "/drop2", true) == 0) {
- SetPlayerPos(playerid, 2901.4392,1231.8923,622.7344);
- format(gstring, sizeof(gstring), "{00FFFF}%s {FFFF00}Foi para o Drop (/drop2)", PlayerName(playerid));
- SendClientMessageToAll(0xFF8080FF, gstring);
- return 1;
- }
- if(strcmp(cmd, "/praia", true) == 0) {
- SetPlayerPos(playerid, 254.0881,-1791.0454,4.3064);
- format(gstring, sizeof(gstring), "{00FFFF}%s {FFFF00}Foi para a Praia (/praia)", PlayerName(playerid));
- SendClientMessageToAll(0xFF8080FF, gstring);
- return 1;
- }
- if(strcmp(cmd, "/roda", true) == 0) {
- SetPlayerPos(playerid, 376.1646,-2028.8054,7.8301);
- format(gstring, sizeof(gstring), "{00FFFF}%s {FFFF00}Foi para a Roda Gigante(/roda)", PlayerName(playerid));
- SendClientMessageToAll(0xFF8080FF, gstring);
- return 1;
- }
- if(strcmp(cmd, "/casarao", true) == 0) {
- SetPlayerPos(playerid, 1125.9242,-2036.9135,69.8837);
- format(gstring, sizeof(gstring), "{00FFFF}%s {FFFF00}Foi para o Casarão Abandonado (/casarao)", PlayerName(playerid));
- SendClientMessageToAll(0xFF8080FF, gstring);
- return 1;
- }
- if(strcmp(cmd, "/arenax1", true) == 0) {
- SetPlayerPos(playerid, -1316.0404,2475.9153,87.5062);
- format(gstring, sizeof(gstring), "{00FFFF}%s {FFFF00}Foi para a Arena X1 (/arenax1)", PlayerName(playerid));
- SendClientMessageToAll(0xFF8080FF, gstring);
- return 1;
- }
- if(strcmp(cmd, "/ls", true) == 0) {
- SetPlayerPos(playerid, 2491.2161,-1666.9324,13.3438);
- format(gstring, sizeof(gstring), "{00FFFF}%s {FFFF00}Foi para Los Santos (/ls)", PlayerName(playerid));
- SendClientMessageToAll(0xFF8080FF, gstring);
- return 1;
- }
- if(strcmp(cmd, "/kill", true) == 0) {
- SetPlayerHealth(playerid, 0);
- format(gstring, sizeof(gstring), "{00FFFF}%s {FFFF00}Se Suicidou (/kill)", PlayerName(playerid));
- SendClientMessageToAll(0xFF8080FF, gstring);
- return 1;
- }
- if(strcmp(cmd, "/vida", true) == 0) {
- SetPlayerHealth(playerid, 100);
- format(gstring, sizeof(gstring), "{00FFFF}%s {FFFF00}Comprou Vida (/vida)", PlayerName(playerid));
- SendClientMessageToAll(0xFF8080FF, gstring);
- return 1;
- }
- if(!strcmp("/virarpolicial",cmdtext))
- {
- if(IsPlayerInRangeOfPoint(playerid, 5.0, 242.8931,66.3955,1003.6406))
- {
- format(gstring, sizeof(gstring), "{00FFFF}%s {FFFF00}Virou um Policial", PlayerName(playerid));
- SendClientMessageToAll(0xFF8080FF, gstring);
- SetPlayerColor(playerid, 0x87CEFA);
- SetPlayerSkin(playerid, 280);
- }
- return 1;
- }
- if(!strcmp("/virarprefeito",cmdtext))
- {
- if(IsPlayerInRangeOfPoint(playerid, 5.0, 1481.2358,-1771.4418,18.7958))
- {
- format(gstring, sizeof(gstring), "{00FFFF}%s {FFFF00}Virou o Prefeito", PlayerName(playerid));
- SendClientMessageToAll(0xFF8080FF, gstring);
- SetPlayerColor(playerid, 0xAFEEEE);
- SetPlayerSkin(playerid, 147);
- }
- return 1;
- }
- if(!strcmp("/virarpalhaco",cmdtext))
- {
- if(IsPlayerInRangeOfPoint(playerid, 5.0, 370.2575,-2047.5573,7.8359))
- {
- format(gstring, sizeof(gstring), "{00FFFF}%s {FFFF00}Virou um Palhaço", PlayerName(playerid));
- SendClientMessageToAll(0xFF8080FF, gstring);
- SetPlayerColor(playerid, 0xF6000000);
- SetPlayerSkin(playerid, 264);
- }
- return 1;
- }
- if(!strcmp("/virargroove",cmdtext))
- {
- if(IsPlayerInRangeOfPoint(playerid, 5.0, 2495.3691,-1709.8701,1014.7422))
- {
- format(gstring, sizeof(gstring), "{00FFFF}%s {FFFF00}Virou um Membro da Groove Street", PlayerName(playerid));
- SendClientMessageToAll(0xFF8080FF, gstring);
- SetPlayerColor(playerid, 0xFF4500);
- SetPlayerSkin(playerid, 107);
- }
- return 1;
- }
- if(strcmp(cmd, "/comandos", true) == 0) {
- ShowPlayerDialog(playerid, 23, DIALOG_STYLE_MSGBOX, "{FFFFFF}Comandos", "{FFFFFF}Comandos Do servidor\n{FF0023} /teleportes\n/kit\n/kit01\n/jetpack\n/kill\n/colete\n/vida", "Ok", "");
- return 1;
- }
- if(strcmp(cmd, "/teleportes", true) == 0) {
- ShowPlayerDialog(playerid, 23, DIALOG_STYLE_MSGBOX, "{FFFFFF}Teleportes", "{FFFFFF} /morro\n/igreja\n/pista\n/pref\n/praia\n/casarao\n/rampa\n/drop\n/arenax1\n/corrida\n/roda", "Ok", "");
- return 1;
- }
- if(strcmp(cmd, "/carros", true) == 0) {
- ShowPlayerDialog(playerid, 23, DIALOG_STYLE_MSGBOX, "{FFFFFF}Lista de Carros", "{FFFFFF}Para Comprar um carro use /(nome do carro)\n{00FFFF}Turismo\nNRG-500\nElegy\nHeli\nSavanna\nBMX", "Ok", "");
- return 1;
- }
- if(strcmp("/nrg-500", cmdtext, true, 9) == 0)
- {
- GetPlayerName(playerid,sendername,sizeof(sendername));//identifica o nome do player que digitou o comando
- format(gstring,sizeof(gstring),"%s [ID:%d] Criou uma NRG-500 !! ",sendername,playerid);//formata a string que será enviada para os administradores
- AvisoAdmin(azulagua,gstring);
- new Float:PlayerX, Float:PlayerY, Float:PlayerZ, Float:PlayerA;
- GetPlayerPos(playerid,PlayerX,PlayerY,PlayerZ);
- GetPlayerFacingAngle(playerid, PlayerA);
- CreateVehicle(522, PlayerX,PlayerY,PlayerZ,PlayerA,3,1,60000);
- return 1;
- }
- if(strcmp("/turismo", cmdtext, true, 9) == 0)
- {
- GetPlayerName(playerid,sendername,sizeof(sendername));//identifica o nome do player que digitou o comando
- format(gstring,sizeof(gstring),"%s [ID:%d] Criou um Turismo!! ",sendername,playerid);//formata a string que será enviada para os administradores
- AvisoAdmin(azulagua,gstring);
- new Float:PlayerX, Float:PlayerY, Float:PlayerZ, Float:PlayerA;
- GetPlayerPos(playerid,PlayerX,PlayerY,PlayerZ);
- GetPlayerFacingAngle(playerid, PlayerA);
- CreateVehicle(451, PlayerX,PlayerY,PlayerZ,PlayerA,3,1,60000);
- return 1;
- }
- if(strcmp("/elegy", cmdtext, true, 9) == 0)
- {
- GetPlayerName(playerid,sendername,sizeof(sendername));//identifica o nome do player que digitou o comando
- format(gstring,sizeof(gstring),"%s [ID:%d] Criu um Elegy !! ",sendername,playerid);//formata a string que será enviada para os administradores
- AvisoAdmin(azulagua,gstring);
- new Float:PlayerX, Float:PlayerY, Float:PlayerZ, Float:PlayerA;
- GetPlayerPos(playerid,PlayerX,PlayerY,PlayerZ);
- GetPlayerFacingAngle(playerid, PlayerA);
- CreateVehicle(562, PlayerX,PlayerY,PlayerZ,PlayerA,3,1,60000);
- return 1;
- }
- if(strcmp("/heli", cmdtext, true, 9) == 0)
- {
- GetPlayerName(playerid,sendername,sizeof(sendername));//identifica o nome do player que digitou o comando
- format(gstring,sizeof(gstring),"%s [ID:%d] Criou um Heli !! ",sendername,playerid);//formata a string que será enviada para os administradores
- AvisoAdmin(azulagua,gstring);
- new Float:PlayerX, Float:PlayerY, Float:PlayerZ, Float:PlayerA;
- GetPlayerPos(playerid,PlayerX,PlayerY,PlayerZ);
- GetPlayerFacingAngle(playerid, PlayerA);
- CreateVehicle(487, PlayerX,PlayerY,PlayerZ,PlayerA,3,1,60000);
- return 1;
- }
- if(strcmp("/savanna", cmdtext, true, 9) == 0)
- {
- GetPlayerName(playerid,sendername,sizeof(sendername));//identifica o nome do player que digitou o comando
- format(gstring,sizeof(gstring),"%s [ID:%d] Criou uma Savanna ",sendername,playerid);//formata a string que será enviada para os administradores
- AvisoAdmin(azulagua,gstring);
- new Float:PlayerX, Float:PlayerY, Float:PlayerZ, Float:PlayerA;
- GetPlayerPos(playerid,PlayerX,PlayerY,PlayerZ);
- GetPlayerFacingAngle(playerid, PlayerA);
- CreateVehicle(567, PlayerX,PlayerY,PlayerZ,PlayerA,3,1,60000);
- return 1;
- }
- if(strcmp("/bmx", cmdtext, true, 9) == 0)
- {
- GetPlayerName(playerid,sendername,sizeof(sendername));//identifica o nome do player que digitou o comando
- format(gstring,sizeof(gstring),"%s [ID:%d] Criou uma BMX",sendername,playerid);//formata a string que será enviada para os administradores
- AvisoAdmin(azulagua,gstring);
- new Float:PlayerX, Float:PlayerY, Float:PlayerZ, Float:PlayerA;
- GetPlayerPos(playerid,PlayerX,PlayerY,PlayerZ);
- GetPlayerFacingAngle(playerid, PlayerA);
- CreateVehicle(481, PlayerX,PlayerY,PlayerZ,PlayerA,3,1,60000);
- return 1;
- }
- if(strcmp(cmdtext, "/destroirid", true) == 0)
- {
- new currentveh;
- currentveh = GetPlayerVehicleID(playerid);
- DestroyVehicle(currentveh);
- return 1;
- }
- return SendClientMessage(playerid,-1,"{FF0000}Comando invalido! {FFFF00}Digite /comandos");
- }
- public OnPlayerSpawn(playerid)
- {
- SetPlayerInterior(playerid, 0);
- if(globDE40[playerid] == 1)
- {
- ResetPlayerWeapons(playerid);
- GivePlayerWeapon(playerid, 30, 450);
- GivePlayerWeapon(playerid, 32, 400);
- GivePlayerWeapon(playerid, 22, 50);
- GivePlayerWeapon(playerid, 14, 1);
- GivePlayerWeapon(playerid, 16, 5);
- GivePlayerWeapon(playerid, 26, 90);
- }
- else if(globDE40[playerid] == 2)
- {
- ResetPlayerWeapons(playerid);
- GivePlayerWeapon(playerid, 31, 450);
- GivePlayerWeapon(playerid, 28, 400);
- GivePlayerWeapon(playerid, 24, 50);
- GivePlayerWeapon(playerid, 5, 1);
- GivePlayerWeapon(playerid, 16, 5);
- GivePlayerWeapon(playerid, 26, 90);
- }
- else if(globDE40[playerid] == 3)
- {
- ResetPlayerWeapons(playerid);
- GivePlayerWeapon(playerid, 31, 450);
- GivePlayerWeapon(playerid, 29, 400);
- GivePlayerWeapon(playerid, 22, 50);
- GivePlayerWeapon(playerid, 3, 1);
- GivePlayerWeapon(playerid, 16, 5);
- GivePlayerWeapon(playerid, 27, 90);
- }
- else if(globDE40[playerid] == 4)
- {
- ResetPlayerWeapons(playerid);
- GivePlayerWeapon(playerid, 31, 450);
- GivePlayerWeapon(playerid, 29, 400);
- GivePlayerWeapon(playerid, 24, 50);
- GivePlayerWeapon(playerid, 4, 1);
- GivePlayerWeapon(playerid, 16, 5);
- GivePlayerWeapon(playerid, 27, 90);
- }
- else if(globDE40[playerid] == 5)
- {
- ResetPlayerWeapons(playerid);
- GivePlayerWeapon(playerid, 30, 450);
- GivePlayerWeapon(playerid, 32, 400);
- GivePlayerWeapon(playerid, 23, 50);
- GivePlayerWeapon(playerid, 8, 1);
- GivePlayerWeapon(playerid, 16, 5);
- GivePlayerWeapon(playerid, 26, 90);
- }
- else if(globDE40[playerid] == 6)
- {
- ResetPlayerWeapons(playerid);
- GivePlayerWeapon(playerid, 30, 450);
- GivePlayerWeapon(playerid, 32, 400);
- GivePlayerWeapon(playerid, 22, 50);
- GivePlayerWeapon(playerid, 9, 1);
- GivePlayerWeapon(playerid, 16, 5);
- GivePlayerWeapon(playerid, 26, 90);
- }
- else if(globDE40[playerid] == 7)
- {
- ResetPlayerWeapons(playerid);
- GivePlayerWeapon(playerid, 30, 450);
- GivePlayerWeapon(playerid, 32, 400);
- GivePlayerWeapon(playerid, 22, 50);
- GivePlayerWeapon(playerid, 15, 1);
- GivePlayerWeapon(playerid, 16, 5);
- GivePlayerWeapon(playerid, 27, 90);
- GivePlayerWeapon(playerid, 46, 1);
- GivePlayerWeapon(playerid, 34, 30);
- }
- else if(globDE40[playerid] == 8)
- {
- ResetPlayerWeapons(playerid);
- GivePlayerWeapon(playerid, 31, 450);
- GivePlayerWeapon(playerid, 28, 400);
- GivePlayerWeapon(playerid, 24, 50);
- GivePlayerWeapon(playerid, 7, 1);
- GivePlayerWeapon(playerid, 16, 5);
- GivePlayerWeapon(playerid, 25, 90);
- }
- else if(globDE40[playerid] == 9)
- {
- ResetPlayerWeapons(playerid);
- GivePlayerWeapon(playerid, 30, 450);
- GivePlayerWeapon(playerid, 32, 400);
- GivePlayerWeapon(playerid, 23, 50);
- GivePlayerWeapon(playerid, 2, 1);
- GivePlayerWeapon(playerid, 16, 5);
- GivePlayerWeapon(playerid, 26, 90);
- }
- else if(globDE40[playerid] == 10)
- {
- ResetPlayerWeapons(playerid);
- GivePlayerWeapon(playerid, 30, 450);
- GivePlayerWeapon(playerid, 28, 400);
- GivePlayerWeapon(playerid, 22, 50);
- GivePlayerWeapon(playerid, 6, 1);
- GivePlayerWeapon(playerid, 26, 90);
- GivePlayerWeapon(playerid, 16, 5);
- }
- else if(globDE40[playerid] == 11)
- {
- ResetPlayerWeapons(playerid);
- GivePlayerWeapon(playerid, 30, 450);
- GivePlayerWeapon(playerid, 28, 400);
- GivePlayerWeapon(playerid, 22, 50);
- GivePlayerWeapon(playerid, 15, 1);
- GivePlayerWeapon(playerid, 26, 90);
- GivePlayerWeapon(playerid, 16, 5);
- }
- else if(globDE40[playerid] == 12)
- {
- ResetPlayerWeapons(playerid);
- GivePlayerWeapon(playerid, 30, 450);
- GivePlayerWeapon(playerid, 28, 400);
- GivePlayerWeapon(playerid, 22, 50);
- GivePlayerWeapon(playerid, 15, 1);
- GivePlayerWeapon(playerid, 26, 90);
- GivePlayerWeapon(playerid, 16, 5);
- }
- else if(globDE40[playerid] == 13)
- {
- ResetPlayerWeapons(playerid);
- GivePlayerWeapon(playerid, 30, 450);
- GivePlayerWeapon(playerid, 28, 400);
- GivePlayerWeapon(playerid, 22, 50);
- GivePlayerWeapon(playerid, 15, 1);
- GivePlayerWeapon(playerid, 26, 90);
- GivePlayerWeapon(playerid, 16, 5);
- }
- else if(globDE40[playerid] == 14)
- {
- ResetPlayerWeapons(playerid);
- GivePlayerWeapon(playerid, 30, 450);
- GivePlayerWeapon(playerid, 28, 400);
- GivePlayerWeapon(playerid, 22, 50);
- GivePlayerWeapon(playerid, 15, 1);
- GivePlayerWeapon(playerid, 26, 90);
- GivePlayerWeapon(playerid, 16, 5);
- }
- else if(globDE40[playerid] == 15)
- {
- ResetPlayerWeapons(playerid);
- GivePlayerWeapon(playerid, 30, 450);
- GivePlayerWeapon(playerid, 28, 400);
- GivePlayerWeapon(playerid, 22, 50);
- GivePlayerWeapon(playerid, 15, 1);
- GivePlayerWeapon(playerid, 26, 90);
- GivePlayerWeapon(playerid, 16, 5);
- }
- else if(globDE40[playerid] == 16)
- {
- ResetPlayerWeapons(playerid);
- GivePlayerWeapon(playerid, 30, 450);
- GivePlayerWeapon(playerid, 28, 400);
- GivePlayerWeapon(playerid, 22, 50);
- GivePlayerWeapon(playerid, 15, 1);
- GivePlayerWeapon(playerid, 26, 90);
- GivePlayerWeapon(playerid, 16, 5);
- }
- else if(globDE40[playerid] == 17)
- {
- ResetPlayerWeapons(playerid);
- GivePlayerWeapon(playerid, 30, 450);
- GivePlayerWeapon(playerid, 28, 400);
- GivePlayerWeapon(playerid, 22, 50);
- GivePlayerWeapon(playerid, 15, 1);
- GivePlayerWeapon(playerid, 26, 90);
- GivePlayerWeapon(playerid, 16, 5);
- }
- else if(globDE40[playerid] == 18)
- {
- ResetPlayerWeapons(playerid);
- GivePlayerWeapon(playerid, 30, 450);
- GivePlayerWeapon(playerid, 28, 400);
- GivePlayerWeapon(playerid, 22, 50);
- GivePlayerWeapon(playerid, 15, 1);
- GivePlayerWeapon(playerid, 26, 90);
- GivePlayerWeapon(playerid, 16, 5);
- }
- else if(globDE40[playerid] == 19)
- {
- ResetPlayerWeapons(playerid);
- GivePlayerWeapon(playerid, 30, 450);
- GivePlayerWeapon(playerid, 28, 400);
- GivePlayerWeapon(playerid, 22, 50);
- GivePlayerWeapon(playerid, 15, 1);
- GivePlayerWeapon(playerid, 26, 90);
- GivePlayerWeapon(playerid, 16, 5);
- }
- return 0;
- }
- forward respawntime(playerid);
- public respawntime(playerid)
- {
- SetPlayerHealth(playerid, 100.0);
- SendClientMessage(playerid,0xFFFFFFFF,"Respawn Time Acabou!");
- glob4C6A[playerid] = 0;
- TextDrawHideForPlayer(playerid, Imortal);
- return 1;
- }
- public OnPlayerDeath(playerid, killerid, reason)
- {
- if(IsPlayerConnected(killerid))
- {
- TotalMatou[killerid]++;
- }
- TotalMorreu[playerid]++;
- SendDeathMessage(killerid,playerid,reason);
- PlayAudioStreamForPlayer(killerid, "http://goo.gl/8Gwxw");
- PlayAudioStreamForPlayer(playerid, "http://goo.gl/3MUZ2");
- new var1[24];
- GetPlayerName(killerid, var1, 24);
- TogglePlayerSpectating(playerid, true);
- PlayerSpectatePlayer(playerid, killerid, 1);
- glob4C6C[playerid] = 1;
- GameTextForPlayer(playerid, "~r~Kill Cam", 7000, 3);
- SetTimerEx("OlhaAeQuemTeMatou", 7000, false, "d", playerid);
- SetPlayerScore(playerid,GetPlayerScore(playerid) - 1);
- SetPlayerScore(killerid,GetPlayerScore(killerid)+5 );
- antifakekill[playerid] ++;
- SetTimerEx("antifakekill2", 1000,false,"i",playerid);
- if(GetPlayerColor(playerid) == GetPlayerColor(killerid)) // Se o cor do morto for igual a do assassino
- {
- new Float:x, Float:y, Float:z;
- GetPlayerPos(playerid, x, y, z); // Aqui pegaremos a pos do JOGADOR
- // Aplicaremos a punição
- SetPlayerPos(killerid, x, y, z+200); // ERGUEREMOS ELE PRA QUE ELE CAIA E MORRA
- SetPlayerScore(killerid,GetPlayerScore(killerid) - 1); // tiramos 1 de score
- SendClientMessage(killerid, COR_3DLABEL, "Você foi teleportado pois não é permitido matar um jogador do mesmo time.");
- GivePlayerMoney(killerid,-2000); // tiramos 2k dele
- // FIM DA PUNIçÂO
- }
- return 1;
- }
- forward OlhaAeQuemTeMatou(playerid );
- public OlhaAeQuemTeMatou(playerid)
- {
- TogglePlayerSpectating(playerid, false);
- glob4C6C[playerid] = 0;
- return 1;
- }
- public OnPlayerRequestClass(playerid, classid)
- {
- if(!classid)
- {
- GameTextForPlayer(playerid, "~p~Policia Militar~n~~r~PRESSIONE SHIFT", 2000, 3);
- SetPlayerColor(playerid, 0x579FF9FF);
- globD1C0[playerid] = 0;
- globDE40[playerid] = 1;
- SetPlayerTeam(playerid, 0);
- }
- else if(classid == 1)
- {
- GameTextForPlayer(playerid, " ~p~ROTA ~r~PRESSIONE SHIFT", 2000, 3);
- SetPlayerColor(playerid, 0x10009BFF);
- globD1C0[playerid] = 1;
- globDE40[playerid] = 2;
- SetPlayerTeam(playerid, 1);
- }
- else if(classid == 2)
- {
- GameTextForPlayer(playerid, " ~p~ROTA ~r~PRESSIONE SHIFT", 2000, 3);
- SetPlayerColor(playerid, 0x10009BFF);
- globD1C0[playerid] = 1;
- globDE40[playerid] = 2;
- SetPlayerTeam(playerid, 1);
- }
- else if(classid == 3)
- {
- GameTextForPlayer(playerid, "~p~Exercito~n~~r~PRESSIONE SHIFT", 2000, 3);
- SetPlayerColor(playerid, 0x225B11FF);
- globD1C0[playerid] = 2;
- globDE40[playerid] = 3;
- SetPlayerTeam(playerid, 2);
- }
- else if(classid == 4)
- {
- GameTextForPlayer(playerid, " ~p~SAMU ~r~PRESSIONE SHIFT", 2000, 3);
- SetPlayerColor(playerid, 0xC99C9AFF);
- globD1C0[playerid] = 3;
- globDE40[playerid] = 4;
- SetPlayerTeam(playerid, 3);
- }
- else if(classid == 5)
- {
- GameTextForPlayer(playerid, " ~p~Los Aztecas ~r~PRESSIONE SHIFT", 2000, 3);
- SetPlayerColor(playerid, 0x2954FEFF);
- globD1C0[playerid] = 4;
- globDE40[playerid] = 5;
- SetPlayerTeam(playerid, 4);
- }
- else if(classid == 6)
- {
- GameTextForPlayer(playerid, " ~p~Los Aztecas ~r~PRESSIONE SHIFT", 2000, 3);
- SetPlayerColor(playerid, 0x2954FEFF);
- globD1C0[playerid] = 4;
- globDE40[playerid] = 5;
- SetPlayerTeam(playerid, 4);
- }
- else if(classid == 7)
- {
- GameTextForPlayer(playerid, " ~p~Taliban ~r~PRESSIONE SHIFT", 2000, 3);
- SetPlayerColor(playerid, 0xF200CEFF);
- globD1C0[playerid] = 5;
- globDE40[playerid] = 6;
- SetPlayerTeam(playerid, 5);
- }
- else if(classid == 8)
- {
- GameTextForPlayer(playerid, " ~p~Prefeito ~r~PRESSIONE SHIFT", 2000, 3);
- SetPlayerColor(playerid, 0x62C1FBFF);
- globD1C0[playerid] = 6;
- globDE40[playerid] = 7;
- SetPlayerTeam(playerid, 6);
- }
- else if(classid == 9)
- {
- GameTextForPlayer(playerid, " ~p~Prefeito ~r~PRESSIONE SHIFT", 2000, 3);
- SetPlayerColor(playerid, 0x62C1FBFF);
- globD1C0[playerid] = 6;
- globDE40[playerid] = 7;
- SetPlayerTeam(playerid, 6);
- }
- else if(classid == 10)
- {
- GameTextForPlayer(playerid, " ~p~Hitmans ~r~PRESSIONE SHIFT", 2000, 3);
- SetPlayerColor(playerid, 0xA0A0A0FF);
- globD1C0[playerid] = 7;
- globDE40[playerid] = 8;
- SetPlayerTeam(playerid, 7);
- }
- else if(classid == 11)
- {
- GameTextForPlayer(playerid, " ~p~Hitmans ~r~PRESSIONE SHIFT", 2000, 3);
- SetPlayerColor(playerid, 0xA0A0A0FF);
- globD1C0[playerid] = 7;
- globDE40[playerid] = 8;
- SetPlayerTeam(playerid, 7);
- }
- else if(classid == 12)
- {
- GameTextForPlayer(playerid, " ~p~Hitmans ~r~PRESSIONE SHIFT", 2000, 3);
- SetPlayerColor(playerid, 0xA0A0A0FF);
- globD1C0[playerid] = 7;
- globDE40[playerid] = 8;
- SetPlayerTeam(playerid, 7);
- }
- else if(classid == 13)
- {
- GameTextForPlayer(playerid, " ~p~Rede Globo ~r~PRESSIONE SHIFT", 2000, 3);
- SetPlayerColor(playerid, 0xD2B175FF);
- globD1C0[playerid] = 8;
- globDE40[playerid] = 10;
- SetPlayerTeam(playerid, 9);
- }
- else if(classid == 14)
- {
- GameTextForPlayer(playerid, " ~p~Rede Globo ~r~PRESSIONE SHIFT", 2000, 3);
- SetPlayerColor(playerid, 0xD2B175FF);
- globD1C0[playerid] = 8;
- globDE40[playerid] = 10;
- SetPlayerTeam(playerid, 9);
- }
- else if(classid == 15)
- {
- GameTextForPlayer(playerid, "~p~Taxistas~r~~n~PRESSIONE SHIFT", 2000, 3);
- SetPlayerColor(playerid, 0xEADE00FF);
- globD1C0[playerid] = 9;
- globDE40[playerid] = 11;
- SetPlayerTeam(playerid, 10);
- }
- else if(classid == 16)
- {
- GameTextForPlayer(playerid, "~p~Policia Rodoviaria Federal~r~~n~PRESSIONE SHIFT", 2000, 3);
- SetPlayerColor(playerid, 0xBDB32DFF);
- globD1C0[playerid] = 10;
- globDE40[playerid] = 12;
- SetPlayerTeam(playerid, 11);
- }
- else if(classid == 17)
- {
- GameTextForPlayer(playerid, "~p~Policia Rodoviaria Federal~r~~n~PRESSIONE SHIFT", 2000, 3);
- SetPlayerColor(playerid, 0xBDB32DFF);
- globD1C0[playerid] = 10;
- globDE40[playerid] = 12;
- SetPlayerTeam(playerid, 11);
- }
- else if(classid == 18)
- {
- GameTextForPlayer(playerid, "~p~Máfia Cosa Nostra~r~~n~PRESSIONE SHIFT", 2000, 3);
- SetPlayerColor(playerid, 0x6BCFCDFF);
- globD1C0[playerid] = 11;
- globDE40[playerid] = 13;
- SetPlayerTeam(playerid, 12);
- }
- else if(classid == 19)
- {
- GameTextForPlayer(playerid, "~p~Máfia Cosa Nostra~r~~n~PRESSIONE SHIFT", 2000, 3);
- SetPlayerColor(playerid, 0x6BCFCDFF);
- globD1C0[playerid] = 11;
- globDE40[playerid] = 13;
- SetPlayerTeam(playerid, 12);
- }
- else if(classid == 20)
- {
- GameTextForPlayer(playerid, "~p~Máfia Yakuza~r~~n~PRESSIONE SHIFT", 2000, 3);
- SetPlayerColor(playerid, 0x6A1D94FF);
- globD1C0[playerid] = 12;
- globDE40[playerid] = 14;
- SetPlayerTeam(playerid, 12);
- }
- else if(classid == 21)
- {
- GameTextForPlayer(playerid, "~p~Máfia Yakuza~r~~n~PRESSIONE SHIFT", 2000, 3);
- SetPlayerColor(playerid, 0x6A1D94FF);
- globD1C0[playerid] = 12;
- globDE40[playerid] = 14;
- SetPlayerTeam(playerid, 12);
- }
- else if(classid == 22)
- {
- GameTextForPlayer(playerid, "~p~Groove Street~r~~n~PRESSIONE SHIFT", 2000, 3);
- SetPlayerColor(playerid, 0x2DFF15FF);
- globD1C0[playerid] = 13;
- globDE40[playerid] = 15;
- SetPlayerTeam(playerid, 13);
- }
- else if(classid == 23)
- {
- GameTextForPlayer(playerid, "~p~Groove Street~r~~n~PRESSIONE SHIFT", 2000, 3);
- SetPlayerColor(playerid, 0x2DFF15FF);
- globD1C0[playerid] = 13;
- globDE40[playerid] = 15;
- SetPlayerTeam(playerid, 13);
- }
- else if(classid == 24)
- {
- GameTextForPlayer(playerid, "~p~Groove Street~r~~n~PRESSIONE SHIFT", 2000, 3);
- SetPlayerColor(playerid, 0x2DFF15FF);
- globD1C0[playerid] = 13;
- globDE40[playerid] = 15;
- SetPlayerTeam(playerid, 13);
- }
- else if(classid == 25)
- {
- GameTextForPlayer(playerid, "~p~Aq'Qaeda~r~~n~PRESSIONE SHIFT", 2000, 3);
- SetPlayerColor(playerid, 0xDBC5AEFF);
- globD1C0[playerid] = 14;
- globDE40[playerid] = 16;
- SetPlayerTeam(playerid, 14);
- }
- else if(classid == 26)
- {
- GameTextForPlayer(playerid, "~p~Policia Civil~r~~n~PRESSIONE SHIFT", 2000, 3);
- SetPlayerColor(playerid, 0xCAB560FF);
- globD1C0[playerid] = 15;
- globDE40[playerid] = 17;
- SetPlayerTeam(playerid, 15);
- }
- else if(classid == 27)
- {
- GameTextForPlayer(playerid, "~p~Policia Civil~r~~n~PRESSIONE SHIFT", 2000, 3);
- SetPlayerColor(playerid, 0xCAB560FF);
- globD1C0[playerid] = 15;
- globDE40[playerid] = 17;
- SetPlayerTeam(playerid, 15);
- }
- else if(classid == 28)
- {
- GameTextForPlayer(playerid, "~p~Ballas~r~~n~PRESSIONE SHIFT", 2000, 3);
- SetPlayerColor(playerid, 0xC254CFFF);
- globD1C0[playerid] = 16;
- globDE40[playerid] = 18;
- SetPlayerTeam(playerid, 16);
- }
- else if(classid == 29)
- {
- GameTextForPlayer(playerid, "~p~Ballas~r~~n~PRESSIONE SHIFT", 2000, 3);
- SetPlayerColor(playerid, 0xC254CFFF);
- globD1C0[playerid] = 16;
- globDE40[playerid] = 18;
- SetPlayerTeam(playerid, 16);
- }
- else if(classid == 30)
- {
- GameTextForPlayer(playerid, "~p~Ballas~r~~n~PRESSIONE SHIFT", 2000, 3);
- SetPlayerColor(playerid, 0xC254CFFF);
- globD1C0[playerid] = 16;
- globDE40[playerid] = 18;
- SetPlayerTeam(playerid, 16);
- }
- else if(classid == 31)
- {
- GameTextForPlayer(playerid, "~p~Los Vagos~r~~n~PRESSIONE SHIFT", 2000, 3);
- SetPlayerColor(playerid, 0xFFFA33FF);
- globD1C0[playerid] = 17;
- globDE40[playerid] = 19;
- SetPlayerTeam(playerid, 17);
- }
- else if(classid == 32)
- {
- GameTextForPlayer(playerid, "~p~Los Vagos~r~~n~PRESSIONE SHIFT", 2000, 3);
- SetPlayerColor(playerid, 0xFFFA33FF);
- globD1C0[playerid] = 17;
- globDE40[playerid] = 19;
- SetPlayerTeam(playerid, 17);
- }
- else if(classid == 33)
- {
- GameTextForPlayer(playerid, "~p~Los Vagos~r~~n~PRESSIONE SHIFT", 2000, 3);
- SetPlayerColor(playerid, 0xFFFA33FF);
- globD1C0[playerid] = 17;
- globDE40[playerid] = 19;
- SetPlayerTeam(playerid, 17);
- }
- else if(classid == 34)
- {
- GameTextForPlayer(playerid, "~p~Comando Vermelho~r~~n~PRESSIONE SHIFT", 2000, 3);
- SetPlayerColor(playerid, 0xFF3333FF);
- globD1C0[playerid] = 18;
- globDE40[playerid] = 20;
- SetPlayerTeam(playerid, 18);
- }
- else if(classid == 35)
- {
- GameTextForPlayer(playerid, "~p~Comando Vermelho~r~~n~PRESSIONE SHIFT", 2000, 3);
- SetPlayerColor(playerid, 0xFF3333FF);
- globD1C0[playerid] = 18;
- globDE40[playerid] = 20;
- SetPlayerTeam(playerid, 18);
- }
- else if(classid == 36)
- {
- GameTextForPlayer(playerid, "~p~Comando Vermelho~r~~n~PRESSIONE SHIFT", 2000, 3);
- SetPlayerColor(playerid, 0xFF3333FF);
- globD1C0[playerid] = 18;
- globDE40[playerid] = 20;
- SetPlayerTeam(playerid, 18);
- }
- if(16 != classid)
- {
- SetPlayerInterior(playerid, 0);
- SetPlayerInterior(playerid, 17);
- SetPlayerPos(playerid, 489.4576, -15.1996, 1000.6796);
- SetPlayerCameraPos(playerid, 484.9201, -11.7566, 1000.6796);
- SetPlayerCameraLookAt(playerid, 489.4576, -15.1996, 1000.6796);
- SetPlayerFacingAngle(playerid, 51.5555);
- ApplyAnimation(playerid, "Dancing", "Dan_Loop_A", 5.0, 1, 0, 0, 0, 0);
- }
- return 1;
- }
- public OnGameModeInit()
- {
- SetGameModeText("PlayFacil DM");
- ShowPlayerMarkers(1);
- ShowNameTags(1);
- AllowAdminTeleport(1);
- UsePlayerPedAnims();
- //=============================Selecionar Skins============================================
- AddPlayerClass(280, 1530.0186,-1671.5234,6.2188,181.2055,0,0,0,0,0,0); // PM
- AddPlayerClass(285, 285.9944,-1511.3450,24.9219,237.6611,0,0,0,0,0,0); // ROTA
- AddPlayerClass(285, 285.9944,-1511.3450,24.9219,237.6611,0,0,0,0,0,0); // ROTA
- AddPlayerClass(287, -772.1858, 1436.0601, 13.789, 93.8632, 0, 0, 0, 0, 0, 0); // EXERCITO
- AddPlayerClass(274, -1324.9018, 497.4291, 11.1953, 140.6434, 0, 0, 0, 0, 0, 0); // SAMU
- AddPlayerClass(115, 2151.9985,-1807.6687,13.5467,269.3350,0,0,0,0,0,0); // AZTECAS
- AddPlayerClass(116, 2151.9985,-1807.6687,13.5467,269.3350,0,0,0,0,0,0); // AZTECAS
- AddPlayerClass(249, -2667.0545, 265.5968, 4.3358, 357.8497, 0, 0, 0, 0, 0, 0); // TALIBAN
- AddPlayerClass(163, -1834.9421, 1044.6853, 46.0859, 5.2774, 0, 0, 0, 0, 0, 0); // PREFEITO
- AddPlayerClass(147, -1834.9421, 1044.6853, 46.0859, 5.2774, 0, 0, 0, 0, 0, 0); // PREFEITO
- AddPlayerClass(166, 1096.5580,-300.4016,73.9922,87.4186,0,0,0,0,0,0); // HITMAN
- AddPlayerClass(127, 1096.5580,-300.4016,73.9922,87.4186,0,0,0,0,0,0); // HITMAN
- AddPlayerClass(195, 1096.5580,-300.4016,73.9922,87.4186,0,0,0,0,0,0); //HITMAN
- AddPlayerClass(187, -2644.1951, -276.936, 7.5085, 135.0036, 0, 0, 0, 0, 0, 0); // REDE GLOBO
- AddPlayerClass(188, -2644.1951, -276.936, 7.5085, 135.0036, 0, 0, 0, 0, 0, 0); // REDE GLOBO
- AddPlayerClass(61, -688.0447, 936.8012, 13.6328, 174.9611, 0, 0, 0, 0, 0, 0); // TAXISTAS
- AddPlayerClass(286,-2908.6211,-34.4791,3.5334,270.7226,0,0,0,0,0,0); // POLICIA RF
- AddPlayerClass(295,-2908.6211,-34.4791,3.5334,270.7226,0,0,0,0,0,0); // POLICIA RF
- AddPlayerClass(108,-2023.0201,-397.9724,35.5313,352.1899,0,0,0,0,0,0);
- AddPlayerClass(110,-2023.0201,-397.9724,35.5313,352.1899,0,0,0,0,0,0);
- AddPlayerClass(104,-2145.8943,-243.7063,36.5156,47.3138,0,0,0,0,0,0);
- AddPlayerClass(102,-2145.5537,-243.4607,36.5156,43.5537,0,0,0,0,0,0);
- AddPlayerClass(0,-2618.7932,1409.4526,7.0938,189.8584,0,0,0,0,0,0);
- AddPlayerClass(106,-2618.7932,1409.4526,7.0938,189.8584,0,0,0,0,0,0);
- AddPlayerClass(107,-2618.7932,1409.4526,7.0938,189.8584,0,0,0,0,0,0);
- AddPlayerClass(1,-1461.5476,1489.9932,8.2578,150.3780,0,0,0,0,0,0);
- AddPlayerClass(78,-1732.0082,29.7053,3.5547,92.4108,0,0,0,0,0,0);
- AddPlayerClass(79,-1732.0082,29.7053,3.5547,92.4108,0,0,0,0,0,0);
- AddPlayerClass(113,-2043.5026,1105.5787,53.2891,79.6094,0,0,0,0,0,0);
- AddPlayerClass(112,-2043.5026,1105.5787,53.2891,79.6094,0,0,0,0,0,0);
- AddPlayerClass(111,-2043.5026,1105.5787,53.2891,79.6094,0,0,0,0,0,0);
- AddPlayerClass(30,-2947.3794,487.8499,2.4273,180.7329,0,0,0,0,0,0); //
- AddPlayerClass(73,-2947.3794,487.8499,2.4273,180.7329,0,0,0,0,0,0); //
- AddPlayerClass(101,-2947.3794,487.8499,2.4273,180.7329,0,0,0,0,0,0); //
- AddPlayerClass(59,-1545.5238,-440.5222,6.0000,44.9114,0,0,0,0,0,0); //
- AddPlayerClass(60,-1545.5238,-440.5222,6.0000,44.9114,0,0,0,0,0,0); //
- AddPlayerClass(98,-1545.5238,-440.5222,6.0000,44.9114,0,0,0,0,0,0); //
- //===================================================================================
- // TextDraw for Players Online
- players = TextDrawCreate(50.000000, 326.000000, "Recorde Online:_");
- TextDrawBackgroundColor(players, 255);
- TextDrawFont(players, 2);
- TextDrawLetterSize(players, 0.500000, 1.000000);
- TextDrawColor(players, -65281);
- TextDrawSetOutline(players, 1);
- TextDrawSetProportional(players, 1);
- for(new i; i < MAX_PLAYERS; i ++)
- {
- if(IsPlayerConnected(i))
- {
- TextDrawShowForPlayer(i, players);
- }
- }
- //=========PICKUPS======================================
- AddStaticPickup(1247, 2, 242.8931,66.3955,1003.6406, 0);
- AddStaticPickup(1318, 2, 1481.2358,-1771.4418,18.7958, 0);
- AddStaticPickup(1318, 2, 370.2575,-2047.5573,7.8359, 0);
- AddStaticPickup(1318, 2, 2495.3691,-1709.8701,1014.7422, 0);
- Create3DTextLabel("Brasil {FFD700}Mata{1E90FF}Mata\n{FF8000}Digite /virarpolicial",COR_3DLABEL,242.8931,66.3955,1003.6406,15.0,0);
- Create3DTextLabel("Brasil {FFD700}Mata{1E90FF}Mata\n{FF8000}Digite /virarprefeito",COR_3DLABEL,1481.2358,-1771.4418,18.7958,15.0,0);
- Create3DTextLabel("Brasil {FFD700}Mata{1E90FF}Mata\n{FF8000}Digite /virarpalhaco",COR_3DLABEL,370.2575,-2047.5573,7.8359,15.0,0);
- Create3DTextLabel("Brasil {FFD700}Mata{1E90FF}Mata\n{FF8000}Digite /virargroove",COR_3DLABEL,2495.3691,-1709.8701,1014.7422,15.0,0);
- Textdraw0 = TextDrawCreate(530.000000, 008.000000, "~b~00:00:00");
- TextDrawBackgroundColor(Textdraw0, 255);
- TextDrawFont(Textdraw0, 3);
- TextDrawLetterSize(Textdraw0, 0.500000, 1.800000);
- TextDrawColor(Textdraw0, -2);
- TextDrawSetOutline(Textdraw0, 0);
- TextDrawSetProportional(Textdraw0, 1);
- TextDrawSetShadow(Textdraw0, 1);
- Textdraw1 = TextDrawCreate(550.000000, 025.000000, "00/00/00");
- TextDrawBackgroundColor(Textdraw1, 255);
- TextDrawFont(Textdraw1, 3);
- TextDrawLetterSize(Textdraw1, 0.500000, 1.800000);
- TextDrawColor(Textdraw1, -3);
- TextDrawSetOutline(Textdraw1, 0);
- TextDrawSetProportional(Textdraw1, 1);
- TextDrawSetShadow(Textdraw1, 1);
- Imortal = TextDrawCreate(545.000000, 065.000000, "Respawn");
- TextDrawBackgroundColor(Textdraw1, 255);
- TextDrawFont(Imortal, 3);
- TextDrawLetterSize(Imortal, 0.30000, 1.0000);
- TextDrawColor(Textdraw1, -3);
- TextDrawSetOutline(Textdraw1, 0);
- TextDrawSetProportional(Textdraw1, 1);
- TextDrawSetShadow(Textdraw1, 1);
- ImagemEntrada = TextDrawCreate(1.000000, -1.000000, "loadsc6:loadsc6");
- TextDrawBackgroundColor(ImagemEntrada, 255);
- TextDrawFont(ImagemEntrada, 4);
- TextDrawLetterSize(ImagemEntrada, 0.500000, 1.000000);
- TextDrawColor(ImagemEntrada, -1);
- TextDrawSetOutline(ImagemEntrada, 0);
- TextDrawSetProportional(ImagemEntrada, 1);
- TextDrawSetShadow(ImagemEntrada, 1);
- TextDrawUseBox(ImagemEntrada, 1);
- TextDrawBoxColor(ImagemEntrada, 255);
- TextDrawTextSize(ImagemEntrada, 645.000000, 450.000000);
- SetTimer("hora",1000,1);
- SetTimer("Velocimetro", 1000, 1);
- SetTimer("SendMensagens",90000,1);
- //-------------OBJETOS------------------------------------------------
- AddStaticVehicleEx(562,2954.8000488,-2355.6999512,4.9000001,284.2500000,0,0,500); //Elegy
- AddStaticVehicleEx(562,2953.5000000,-2351.3000488,4.9000001,284.2492676,0,0,500); //Elegy
- AddStaticVehicleEx(562,2946.3994141,-2353.0000000,4.9000001,284.2492676,0,0,500); //Elegy
- AddStaticVehicleEx(562,2947.6999512,-2357.5000000,4.9000001,284.2492676,0,0,500); //Elegy
- AddStaticVehicleEx(562,2961.6992188,-2354.0000000,4.9000001,284.2492676,0,0,500); //Elegy
- AddStaticVehicleEx(562,2961.2998047,-2349.5996094,4.9000001,286.2492676,0,0,500); //Elegy
- CreateObject(4651, 3064.8994140625, -2412.69921875, 4.5999999046326, 0, 0, 351.99645996094);
- CreateObject(4651, 2956.2998046875, -2379.69921875, 4.4000000953674, 0, 0, 80.244140625);
- CreateObject(4651, 2922.099609375, -2486.599609375, 4.1999998092651, 0, 0, 170.2470703125);
- CreateObject(4651, 3033.5, -2520.099609375, 4.9000000953674, 0, 0, 261.49108886719);
- CreateObject(979, 2974.3994140625, -2359, 5.1999998092651, 0, 0, 5.745849609375);
- CreateObject(979, 2983.599609375, -2358.2998046875, 5.1999998092651, 0, 0, 2.9937744140625);
- CreateObject(979, 2992.6999511719, -2358.1000976563, 5.1999998092651, 0, 0, 359.74377441406);
- CreateObject(979, 3002, -2358.3999023438, 5.1999998092651, 0, 0, 356.73913574219);
- CreateObject(979, 3011, -2359.5, 5.1999998092651, 0, 0, 348.73706054688);
- CreateObject(979, 3020, -2361.3999023438, 5.1999998092651, 0, 0, 346.73352050781);
- CreateObject(979, 3029, -2363.5, 5.1999998092651, 0, 0, 346.728515625);
- CreateObject(1315, 2970.69921875, -2354, 7.4000000953674, 0, 0, 272.99926757813);
- CreateObject(1315, 2970.1999511719, -2347.5, 7.4000000953674, 0, 0, 101.24737548828);
- CreateObject(979, 3038, -2365.8000488281, 5.1999998092651, 0, 0, 344.728515625);
- CreateObject(979, 3046.6999511719, -2368.8999023438, 5.1999998092651, 0, 0, 336.22351074219);
- CreateObject(979, 3054.6999511719, -2373.3999023438, 5.1999998092651, 0, 0, 324.96948242188);
- CreateObject(979, 3062.1000976563, -2379.1000976563, 5.1999998092651, 0, 0, 319.71459960938);
- CreateObject(979, 3068.6999511719, -2385.6000976563, 5.1999998092651, 0, 0, 310.46313476563);
- CreateObject(979, 3074.1999511719, -2393.1000976563, 5.1999998092651, 0, 0, 301.71264648438);
- CreateObject(979, 3078.3000488281, -2401.3000488281, 5.1999998092651, 0, 0, 291.71203613281);
- CreateObject(979, 3081.3999023438, -2410, 5.1999998092651, 0, 0, 287.708984375);
- CreateObject(979, 3083.8999023438, -2419, 5.1999998092651, 0, 0, 282.70446777344);
- CreateObject(978, 2968, -2341.7998046875, 5.0999999046326, 0, 0, 184.74609375);
- CreateObject(978, 2977.1999511719, -2341.1000976563, 5.0999999046326, 0, 0, 183.99609375);
- CreateObject(978, 2986.5, -2340.6000976563, 5.0999999046326, 0, 0, 181.49353027344);
- CreateObject(978, 2995.8000488281, -2341, 5.0999999046326, 0, 0, 173.48864746094);
- CreateObject(978, 3005, -2342.1000976563, 5.0999999046326, 0, 0, 172.73510742188);
- CreateObject(978, 3014.1999511719, -2343.1999511719, 5.0999999046326, 0, 0, 173.48510742188);
- CreateObject(978, 3023.3000488281, -2344.3000488281, 5.0999999046326, 0, 0, 172.98510742188);
- CreateObject(978, 3040.8999023438, -2348.3000488281, 5.0999999046326, 0, 0, 166.23510742188);
- CreateObject(978, 3032, -2346, 5.0999999046326, 0, 0, 165.23510742188);
- CreateObject(978, 3050, -2350.5, 5.0999999046326, 0, 0, 166.23413085938);
- CreateObject(978, 3058.1000976563, -2354.1000976563, 5.0999999046326, 0, 0, 146.73413085938);
- CreateObject(978, 3065.8999023438, -2359.1999511719, 5.0999999046326, 0, 0, 146.7333984375);
- CreateObject(978, 3073.3000488281, -2364.6000976563, 5.0999999046326, 0, 0, 140.7333984375);
- CreateObject(978, 3079.8999023438, -2371.1999511719, 5.0999999046326, 0, 0, 128.72937011719);
- CreateObject(978, 3085.6999511719, -2378.3999023438, 5.0999999046326, 0, 0, 128.72680664063);
- CreateObject(978, 3090.6999511719, -2386.1999511719, 5.0999999046326, 0, 0, 116.72680664063);
- CreateObject(978, 3094.8000488281, -2394.5, 5.0999999046326, 0, 0, 115.97427368164);
- CreateObject(978, 3098, -2403.1999511719, 5.0999999046326, 0, 0, 104.7216796875);
- CreateObject(978, 3100.3000488281, -2412.1000976563, 5.0999999046326, 0, 0, 104.7216796875);
- CreateObject(978, 3102.6999511719, -2421.1000976563, 5.0999999046326, 0, 0, 104.7216796875);
- CreateObject(978, 3104.3999023438, -2430.1999511719, 5.0999999046326, 0, 0, 96.2216796875);
- CreateObject(978, 3105.3999023438, -2439.5, 5.0999999046326, 0, 0, 96.21826171875);
- CreateObject(978, 3105.8999023438, -2448.8000488281, 5.0999999046326, 0, 0, 90.21826171875);
- CreateObject(979, 3085.5, -2428.1000976563, 5.1999998092651, 0, 0, 276.7001953125);
- CreateObject(979, 3086.6000976563, -2437.3999023438, 5.1999998092651, 0, 0, 276.69616699219);
- CreateObject(979, 3087.3999023438, -2446.3999023438, 5.1999998092651, 0, 0, 273.19616699219);
- CreateObject(979, 3087.6000976563, -2455.6000976563, 5.1999998092651, 0, 0, 269.19152832031);
- CreateObject(979, 3087, -2464.3994140625, 5.3000001907349, 0, 0, 263.18298339844);
- CreateObject(978, 3105.8000488281, -2458.1000976563, 5.0999999046326, 0, 0, 89.214233398438);
- CreateObject(978, 3105, -2467.5, 5.3000001907349, 0, 2, 81.458984375);
- CreateObject(978, 3103.6000976563, -2476.6999511719, 5.5999999046326, 0, 1.99951171875, 80.958129882813);
- CreateObject(979, 3085.69921875, -2473.5, 5.5, 0, 357.99499511719, 259.67834472656);
- CreateObject(978, 3099.1999511719, -2494.6000976563, 5.9000000953674, 0, 359.99951171875, 74.697021484375);
- CreateObject(979, 3084, -2482.3000488281, 5.8000001907349, 0, 357.99499511719, 258.42834472656);
- CreateObject(978, 3101.6999511719, -2485.6000976563, 5.9000000953674, 0, 359.99450683594, 74.691528320313);
- CreateObject(978, 3096.8000488281, -2503.3999023438, 5.9000000953674, 0, 359.99450683594, 74.696044921875);
- CreateObject(978, 3093.3999023438, -2511.8000488281, 5.9000000953674, 0, 359.99450683594, 59.946044921875);
- CreateObject(978, 3088.5, -2519.5, 5.9000000953674, 0, 359.98901367188, 55.94140625);
- CreateObject(978, 3083.1000976563, -2526.8000488281, 5.9000000953674, 0, 359.98352050781, 51.936889648438);
- CreateObject(978, 3076.8000488281, -2533.5, 5.9000000953674, 0, 359.97802734375, 41.932373046875);
- CreateObject(978, 3069.8000488281, -2539.5, 5.9000000953674, 0, 359.97802734375, 39.929321289063);
- CreateObject(979, 3081.6000976563, -2491.3000488281, 5.6999998092651, 0, 0, 253.18298339844);
- CreateObject(979, 3078.3999023438, -2500, 5.6999998092651, 0, 0, 246.17993164063);
- CreateObject(979, 3074.3000488281, -2508.3000488281, 5.6999998092651, 0, 0, 240.17614746094);
- CreateObject(979, 3069, -2515.6999511719, 5.6999998092651, 0, 0, 228.17211914063);
- CreateObject(979, 3062.5, -2522.1000976563, 5.6999998092651, 0, 0, 220.16955566406);
- CreateObject(979, 3055.1000976563, -2527.6999511719, 5.6999998092651, 0, 0, 214.166015625);
- CreateObject(1633, 2976.1999511719, -2546.6000976563, 5.5999999046326, 0, 0, 80);
- CreateObject(13641, 2945.6000976563, -2545.1999511719, -1.7000000476837, 0, 0, 350);
- CreateObject(2780, 3092.8000488281, -2504.8999023438, 3.0999999046326, 0, 0, 0);
- CreateObject(3461, 2973.5, -2544.8000488281, 5.0999999046326, 0, 0, 0);
- CreateObject(3461, 2973.3999023438, -2545.3000488281, 5.0999999046326, 0, 0, 0);
- CreateObject(3461, 2973.1000976563, -2545.8000488281, 5.0999999046326, 0, 0, 0);
- CreateObject(3461, 2973, -2546.3000488281, 5.0999999046326, 0, 0, 0);
- CreateObject(3461, 2972.8999023438, -2546.8000488281, 5.0999999046326, 0, 0, 0);
- CreateObject(3461, 2972.8000488281, -2547.5, 5.0999999046326, 0, 0, 0);
- CreateObject(3461, 2972.8000488281, -2548.1000976563, 5.0999999046326, 0, 0, 0);
- CreateObject(3461, 2973.5, -2544.1999511719, 5.0999999046326, 0, 0, 0);
- CreateObject(2780, 3085.8999023438, -2503.6999511719, 3.0999999046326, 0, 2, 0);
- CreateObject(2780, 3078.3999023438, -2500.3000488281, 3.0999999046326, 0, 1.99951171875, 0);
- CreateObject(2780, 3090.8999023438, -2504.8000488281, 3.0999999046326, 0, 1.99951171875, 0);
- CreateObject(2780, 3082.3000488281, -2501.6000976563, 3.0999999046326, 0, 1.99951171875, 0);
- CreateObject(9833, 2901.5, -2409.1999511719, 0.80000001192093, 0, 0, 0);
- CreateObject(9833, 2899.3999023438, -2408.6999511719, 0.80000001192093, 0, 0, 0);
- CreateObject(9833, 2897, -2408.1000976563, 0.80000001192093, 0, 0, 0);
- CreateObject(9833, 2895.1000976563, -2407.6000976563, 0.80000001192093, 0, 0, 0);
- CreateObject(9833, 2893.1999511719, -2407.1000976563, 0.80000001192093, 0, 0, 0);
- CreateObject(9833, 2905, -2409.3999023438, 0.80000001192093, 0, 0, 0);
- CreateObject(9833, 2890.6999511719, -2405.6999511719, 0.80000001192093, 0, 0, 0);
- CreateObject(1585, 2970.6000976563, -2357, 4.3000001907349, 0, 0, 89.5);
- CreateObject(3819, 2956.6000976563, -2365.6000976563, 5.0999999046326, 0, 0, 282);
- CreateObject(3819, 2964.8999023438, -2363.8000488281, 5.0999999046326, 0, 0, 282.4970703125);
- CreateObject(3819, 2959.1000976563, -2340.3000488281, 5.0999999046326, 0, 0, 102.49694824219);
- CreateObject(3819, 2950.6999511719, -2342.1999511719, 5.0999999046326, 0, 0, 103.49694824219);
- CreateObject(3819, 2990, -2539, 5.4000000953674, 0, 0, 89.996948242188);
- CreateObject(3819, 2998.6000976563, -2539, 5.4000000953674, 0, 0, 89.994506835938);
- CreateObject(3819, 2989.8999023438, -2563.3000488281, 5.4000000953674, 0, 0, 269.99450683594);
- CreateObject(3819, 2998.6000976563, -2563.3000488281, 5.4000000953674, 0, 0, 269.98901367188);
- CreateObject(7073, 3089.3000488281, -2444.3000488281, 12.300000190735, 33.976470947266, 357.58807373047, 93.348449707031);
- CreateObject(978, 2931.1000976563, -2546.1999511719, 5, 0, 359.97802734375, 329.67431640625);
- CreateObject(978, 2923.3000488281, -2541.1000976563, 5, 0, 359.97802734375, 323.67218017578);
- CreateObject(978, 2916, -2535.3999023438, 5, 0, 359.97802734375, 321.16821289063);
- CreateObject(978, 2939.5, -2549.6000976563, 5, 0, 359.97802734375, 345.67224121094);
- CreateObject(978, 2909.3999023438, -2528.8999023438, 5, 0, 359.97802734375, 308.66333007813);
- CreateObject(16778, 2954.8999023438, -2340.6000976563, 2.0999999046326, 0, 0, 13.25);
- CreateObject(16778, 2960.8999023438, -2364.8000488281, 2.0999999046326, 0, 0, 13.24951171875);
- CreateObject(1975, 2999.1000976563, -2350.6999511719, 4.0999999046326, 270, 177.92291259766, 75.922912597656);
- CreateObject(16776, 2910.6999511719, -2490.6000976563, 1, 0, 0, 300);
- CreateObject(16776, 2885.6999511719, -2502.6999511719, 1, 0, 0, 114.99816894531);
- CreateObject(1585, 2971.5, -2356.8000488281, 4.3000001907349, 0, 0, 271.49462890625);
- CreateObject(1585, 2970.8999023438, -2356.3000488281, 4.3000001907349, 0, 0, 1.494140625);
- CreateObject(1585, 2971, -2357.1999511719, 4.3000001907349, 0, 0, 1.494140625);
- CreateObject(978, 2948.3999023438, -2551.8999023438, 5, 0, 359.97802734375, 345.66833496094);
- //---------------------------ARENA PVP-------------------------------------------------
- CreateObject(987, -1349.4588623047, 2524.548828125, 86.103607177734, 0, 0, 84);
- CreateObject(987, -1350.490234375, 2512.8447265625, 85.557525634766, 0, 0, 83.995971679688);
- CreateObject(987, -1352.9769287109, 2489.4975585938, 85.966720581055, 0, 0, 83.995971679688);
- CreateObject(987, -1351.7525634766, 2501.2727050781, 85.765937805176, 0, 0, 83.995971679688);
- CreateObject(987, -1354.8366699219, 2477.9758300781, 86.095985412598, 0, 0, 83.995971679688);
- CreateObject(987, -1343.3999023438, 2475.1330566406, 86.046875, 0, 0, 165.99597167969);
- CreateObject(987, -1332.3194580078, 2471.7338867188, 86.046875, 0, 0, 165.99243164063);
- CreateObject(987, -1321.0079345703, 2468.8889160156, 86.046875, 0, 0, 165.99243164063);
- CreateObject(987, -1309.6713867188, 2469.4084472656, 86.529922485352, 0, 0, 181.99243164063);
- CreateObject(987, -1297.5865478516, 2469.8547363281, 86.467590332031, 0, 0, 183.99047851563);
- CreateObject(987, -1287.4476318359, 2473.3186035156, 86.348999023438, 0, 0, 201.98803710938);
- CreateObject(987, -1278.40234375, 2479.5729980469, 86.184967041016, 0, 0, 217.98364257813);
- CreateObject(987, -1269.3629150391, 2486.0297851563, 86.041023254395, 0, 0, 217.97973632813);
- CreateObject(987, -1266.2283935547, 2497.1547851563, 86.262519836426, 0, 0, 253.97973632813);
- CreateObject(987, -1267.0590820313, 2508.1105957031, 86.570869445801, 0, 0, 271.97644042969);
- CreateObject(987, -1268.5339355469, 2519.1201171875, 86.728614807129, 0, 0, 275.97204589844);
- CreateObject(987, -1269.8857421875, 2530.3125, 87.955711364746, 0, 0, 275.97106933594);
- CreateObject(987, -1274.8963623047, 2540.1188964844, 87.377952575684, 0, 0, 299.97106933594);
- CreateObject(987, -1280.9083251953, 2549.5600585938, 85.44612121582, 0, 356, 303.970703125);
- CreateObject(987, -1291.5864257813, 2553.8515625, 84.937484741211, 0, 0, 341.966796875);
- CreateObject(987, -1302.6960449219, 2556.9624023438, 85.379516601563, 0, 0, 341.96594238281);
- CreateObject(987, -1313.4541015625, 2553.1520996094, 86.071014404297, 0, 0, 17.965942382813);
- CreateObject(987, -1302.6219482422, 2556.7248535156, 89.424369812012, 0, 0, 343.96264648438);
- CreateObject(987, -1313.3704833984, 2553.3000488281, 89.648796081543, 0, 0, 19.9599609375);
- CreateObject(987, -1324.2697753906, 2548.8044433594, 86.180885314941, 0, 0, 21.957641601563);
- CreateObject(987, -1324.2344970703, 2549.0122070313, 89.598220825195, 0, 0, 21.956176757813);
- CreateObject(987, -1291.9654541016, 2553.4245605469, 90.120361328125, 0, 0, 343.95617675781);
- CreateObject(987, -1334.1160888672, 2545.3601074219, 86.559997558594, 0, 0, 19.950927734375);
- CreateObject(987, -1345.1313476563, 2542.6062011719, 86.203193664551, 0, 0, 15.95068359375);
- CreateObject(987, -1349.1384277344, 2532.9094238281, 86.046875, 0, 0, 65.95068359375);
- CreateObject(987, -1334.7396240234, 2545.8059082031, 82.17733001709, 0, 0, 19.95068359375);
- CreateObject(987, -1344.7479248047, 2542.1608886719, 81.986198425293, 0, 0, 21.94970703125);
- CreateObject(5244, -1286.4537353516, 2493.0905761719, 88.619827270508, 0, 0, 228);
- CreateObject(2780, -1283.3356933594, 2503.888671875, 86.014671325684, 0, 0, 0);
- CreateObject(2780, -1279.2819824219, 2499.962890625, 86.015045166016, 0, 0, 0);
- CreateObject(2780, -1281.0692138672, 2487.8205566406, 86.098754882813, 0, 0, 0);
- CreateObject(2780, -1285.7689208984, 2492.1071777344, 86.091979980469, 0, 0, 0);
- CreateObject(2780, -1290.7421875, 2495.7805175781, 86.001861572266, 0, 0, 0);
- CreateObject(2780, -1287.9739990234, 2481.1076660156, 86.144622802734, 0, 0, 0);
- CreateObject(2780, -1297.9852294922, 2490.0417480469, 86.056884765625, 0, 0, 0);
- CreateObject(2780, -1290.3265380859, 2483.7119140625, 86.10920715332, 0, 0, 0);
- CreateObject(2780, -1285.0709228516, 2493.2153320313, 86.06827545166, 0, 0, 0);
- CreateObject(2780, -1281.4129638672, 2488.4621582031, 86.093612670898, 0, 0, 0);
- CreateObject(2780, -1287.4929199219, 2495.3188476563, 86.066284179688, 0, 0, 0);
- CreateObject(2780, -1273.3647460938, 2495.9992675781, 86.031677246094, 0, 0, 0);
- CreateObject(2780, -1275.4350585938, 2497.8264160156, 86.027633666992, 0, 0, 0);
- CreateObject(2780, -1279.1164550781, 2503.4289550781, 86.025695800781, 0, 0, 0);
- CreateObject(2780, -1277.5169677734, 2498.4841308594, 86.023567199707, 0, 0, 0);
- CreateObject(2780, -1271.5079345703, 2470.9875488281, 225.49844360352, 0, 0, 0);
- CreateObject(3374, -1342.3159179688, 2484.6369628906, 87.763946533203, 0, 354.5, 358);
- CreateObject(3374, -1342.4040527344, 2488.4821777344, 87.85969543457, 0, 0, 0);
- CreateObject(3374, -1342.1751708984, 2492.6193847656, 87.733627319336, 0, 0, 0);
- CreateObject(3374, -1277.8978271484, 2526.7995605469, 88.565444946289, 0, 0, 0);
- CreateObject(3374, -1277.5385742188, 2531.0505371094, 88.333709716797, 0, 0, 0);
- CreateObject(3374, -1277.4055175781, 2522.6833496094, 88.29345703125, 0, 0, 0);
- CreateObject(3374, -1281.5100097656, 2531.0810546875, 88.467544555664, 0, 0, 0);
- CreateObject(3374, -1280.8005371094, 2527.0607910156, 88.222183227539, 0, 0, 0);
- CreateObject(3374, -1280.7631835938, 2523.1296386719, 88.070770263672, 0, 0, 0);
- CreateObject(3374, -1280.5654296875, 2523.2114257813, 91.070770263672, 0, 0, 0);
- CreateObject(3374, -1280.197265625, 2527.4934082031, 91.222183227539, 0, 0, 0);
- CreateObject(3374, -1281.1641845703, 2530.7722167969, 91.467544555664, 0, 0, 0);
- CreateObject(3374, -1338.7192382813, 2488.5993652344, 87.483627319336, 0, 0, 0);
- CreateObject(3374, -1338.4974365234, 2492.5866699219, 87.619537353516, 0, 0, 0);
- CreateObject(3374, -1338.5583496094, 2484.6171875, 87.621429443359, 0, 0, 0);
- CreateObject(3374, -1337.712890625, 2484.6516113281, 90.621429443359, 0, 0, 0);
- CreateObject(3374, -1338.5600585938, 2488.6494140625, 90.483627319336, 0, 0, 0);
- CreateObject(3374, -1338.15234375, 2491.935546875, 90.619537353516, 0, 0, 0);
- CreateObject(3425, -1356.6750488281, 2529.421875, 96.921279907227, 0, 0, 0);
- CreateObject(3425, -1361.6910400391, 2492.8288574219, 98.006729125977, 0, 0, 0);
- CreateObject(3524, -1337.3923339844, 2483.4926757813, 95.012794494629, 0, 0, 100);
- CreateObject(3524, -1337.6832275391, 2492.6137695313, 95.010902404785, 0, 0, 99.99755859375);
- CreateObject(3524, -1281.5749511719, 2532.0524902344, 95.108909606934, 0, 0, 271.99755859375);
- CreateObject(3524, -1280.8291015625, 2521.8054199219, 95.212135314941, 0, 0, 271.99755859375);
- CreateObject(3528, -1356.0629882813, 2492.7453613281, 98.89631652832, 0, 0, 2);
- CreateObject(3528, -1350.572265625, 2529.2888183594, 98.566970825195, 0, 0, 1.99951171875);
- CreateObject(7073, -1213.6882324219, 2516.9560546875, 127.70631408691, 0, 0, 9.5);
- CreateObject(7392, -1270.2121582031, 2591.9138183594, 98.608596801758, 349.27029418945, 3.5623474121094, 63.914031982422);
- CreateObject(11417, -1261.513671875, 2567.9436035156, 97.270889282227, 0, 0, 0);
- CreateObject(2921, -1305.5231933594, 2536.6564941406, 92.094467163086, 0, 0, 90);
- CreateObject(3279, -1334.3756103516, 2536.3427734375, 86.365715026855, 0, 0, 0);
- CreateObject(3279, -1289.1284179688, 2542.685546875, 86.076141357422, 0, 0, 0);
- CreateObject(16093, -1316.1208496094, 2477.2822265625, 86.381134033203, 0, 0, 186);
- CreateObject(4882, -1320.0244140625, 2486.5532226563, 89.933868408203, 0, 0, 0);
- CreateObject(9767, -1310.8387451172, 2520.0373535156, 92.83056640625, 0, 358.5, 268.25);
- CreateObject(9766, -1293.5539550781, 2553.5832519531, 108.64688873291, 0, 0, 32);
- CreateObject(9766, -1328.2106933594, 2558.9494628906, 112.05710601807, 358, 0, 143.99996948242);
- CreateObject(9766, -1340.3972167969, 2500.8688964844, 109.98677062988, 349.01293945313, 3.3107299804688, 198.62976074219);
- CreateObject(12839, -1305.0864257813, 2474.3737792969, 89.693244934082, 0, 0, 274);
- CreateObject(12839, -1313.2171630859, 2473.7866210938, 95.859909057617, 0, 0, 273.9990234375);
- CreateObject(12839, -1321.3527832031, 2473.193359375, 101.49727630615, 0, 0, 273.9990234375);
- CreateObject(12950, -1324.8477783203, 2472.9609375, 103.22816467285, 0, 0, 94);
- CreateObject(1225, -1296.2770996094, 2526.1345214844, 86.942733764648, 0, 0, 0);
- CreateObject(1225, -1310.0678710938, 2538.4018554688, 87.147941589355, 0, 0, 0);
- CreateObject(1225, -1337.9283447266, 2515.8850097656, 86.454780578613, 0, 0, 0);
- CreateObject(1225, -1343.4528808594, 2500.3120117188, 86.451644897461, 0, 0, 0);
- CreateObject(1225, -1273.8878173828, 2513.1691894531, 87.036239624023, 0, 0, 0);
- CreateObject(1225, -1284.3524169922, 2527.36328125, 86.991081237793, 0, 0, 0);
- CreateObject(1225, -1299.6976318359, 2511.16796875, 86.419891357422, 0, 0, 0);
- //----------MEGA RAMPA-------------------------------------------------------
- CreateObject(10244, 1685.9000244141, -1571.1999511719, 19.89999961853, 0, 0, 270);
- CreateObject(6976, 1703.6999511719, -1576.5999755859, 23.299999237061, 0, 20, 0);
- CreateObject(10244, 1733.9000244141, -1564, 28.5, 0, 0, 4);
- CreateObject(6976, 1743.5, -1555, 29.299999237061, 0, 359.9951171875, 0);
- CreateObject(6976, 1766.5999755859, -1597.3000488281, 37.5, 0, 35.994506835938, 264);
- CreateObject(8357, 367, 403.39999389648, 70.699996948242, 320, 0, 123.99996948242);
- CreateObject(8356, 582, 555, 275.39999389648, 0, 0, 33.997192382813);
- CreateObject(8357, 501.5, 494.20001220703, 207, 319.99877929688, 0, 123.99719238281);
- CreateObject(8356, 252.89999389648, 324.5, 16.89999961853, 8, 0, 304);
- CreateObject(1655, 188.60000610352, 262.70001220703, 6.0999999046326, 352, 0, 122);
- CreateObject(1655, 184.10000610352, 269.89999389648, 6.0999999046326, 351.99645996094, 0, 121.99768066406);
- CreateObject(1655, 179.60000610352, 277.10000610352, 6.0999999046326, 351.99645996094, 0, 121.99768066406);
- CreateObject(1655, 175.19999694824, 284.20001220703, 6.0999999046326, 351.99645996094, 0, 121.99768066406);
- CreateObject(1655, 172.10000610352, 289, 6.0999999046326, 351.99645996094, 0, 121.99768066406);
- CreateObject(13607, 70.099998474121, 203.19999694824, 5.3000001907349, 0, 0, 36);
- CreateObject(8356, 484, 699.79998779297, 316, 26, 0, 33.997192382813);
- CreateObject(13603, 423, 784.90002441406, 358.79998779297, 358, 180, 128);
- CreateObject(13641, 617.59997558594, 482.39999389648, 275.39999389648, 0, 0, 304);
- AddStaticVehicleEx(522,592.9000244,571.0999756,276.0000000,119.9981689,0,0,1000); //NRG-500
- AddStaticVehicleEx(522,595.0000000,567.5000000,276.0000000,119.9981689,0,0,1000); //NRG-500
- AddStaticVehicleEx(522,597.7999878,563.5999756,276.0000000,119.9981689,0,0,1000); //NRG-500
- AddStaticVehicleEx(522,600.7000122,559.2999878,276.0000000,119.9981689,0,0,1000); //NRG-500
- AddStaticVehicleEx(510,603.5999756,555.7000122,276.1000061,120.0000000,0,0,1000); //Mountain Bike
- AddStaticVehicleEx(510,606.2999878,552.0000000,276.1000061,119.9981689,0,0,1000); //Mountain Bike
- AddStaticVehicleEx(522,431.5000000,776.7000122,358.7999878,211.9981689,0,0,1000); //NRG-500
- AddStaticVehicleEx(522,427.8999939,773.2999878,358.7999878,211.9976807,0,0,1000); //NRG-500
- AddStaticVehicleEx(522,424.0000000,769.7000122,358.7999878,211.9976807,0,0,1000); //NRG-500
- AddStaticVehicleEx(522,420.6000061,768.2999878,358.7999878,211.9976807,0,0,1000); //NRG-500
- AddStaticVehicleEx(510,417.6000061,765.0000000,358.2999878,220.0000000,0,0,1000); //Mountain Bike
- AddStaticVehicleEx(510,415.6000061,762.2999878,358.2999878,219.9957275,0,0,1000); //Mountain Bike
- AddStaticVehicleEx(444,615.0000000,535.5999756,276.6000061,128.0000000,0,0,1000); //Monster
- AddStaticVehicleEx(444,611.5000000,541.5000000,276.6000061,127.9962158,0,0,1000); //Monster
- AddStaticVehicleEx(571,588.7000122,577.0000000,275.7000122,132.0000000,0,0,1000); //Kart
- AddStaticVehicleEx(571,587.0000000,579.9000244,275.7000122,131.9952393,0,0,1000); //Kart
- AddStaticVehicleEx(571,585.4000244,582.5000000,275.7000122,131.9952393,0,0,1000); //Kart
- AddStaticVehicleEx(571,436.6000061,778.4000244,359.2000122,223.7500000,0,0,1000); //Kart
- AddStaticVehicleEx(571,439.7000122,780.9000244,359.2000122,225.7474976,0,0,1000); //Kart
- AddStaticVehicleEx(571,442.3999939,783.0000000,359.3999939,225.7470703,0,0,1000); //Kart
- //==============DROP===========================================================================
- CreateObject(8040, -3783.8999023438, 1894.5999755859, 966.29998779297, 0, 0, 0);
- CreateObject(8355, -3676, 1896.3000488281, 953.5, 10, 0, 90);
- CreateObject(1632, -3617.8000488281, 1907.3000488281, 944.59997558594, 0, 0, 270);
- CreateObject(1632, -3618.6000976563, 1885.3000488281, 944.59997558594, 0, 0, 270);
- CreateObject(8355, -3547.1000976563, 1896.3000488281, 909.09997558594, 27.99755859375, 0, 90);
- CreateObject(8355, -3425, 1896.3000488281, 844.20001220703, 27.9931640625, 0, 90);
- CreateObject(8355, -3296.1000976563, 1896.6999511719, 807.20001220703, 3.9931640625, 0, 90);
- CreateObject(7979, -3244.1999511719, 1895.5999755859, 806.59997558594, 356, 0, 268);
- CreateObject(8355, -3167.3999023438, 1896.6999511719, 767.79998779297, 29.988037109375, 0, 90);
- CreateObject(8355, -3049.6999511719, 1896.5999755859, 699.79998779297, 29.987182617188, 0, 90);
- CreateObject(8355, -2930.5, 1896.5999755859, 631, 29.987182617188, 0, 90);
- CreateObject(1655, -2874.8000488281, 1912.1999511719, 600.40002441406, 332, 0, 269.25);
- CreateObject(1655, -2874.8000488281, 1903.5999755859, 600.40002441406, 331.99584960938, 0, 269.24743652344);
- CreateObject(1655, -2874.8000488281, 1895, 600.40002441406, 331.99584960938, 0, 269.24743652344);
- CreateObject(1655, -2874.8999023438, 1886.5999755859, 600.40002441406, 331.99584960938, 0, 269.24743652344);
- CreateObject(1655, -2875, 1880.6999511719, 600.40002441406, 331.99584960938, 0, 269.24743652344);
- CreateObject(7984, -2590.8999023438, 1918.5, 344.29998779297, 0, 0, 0);
- AddStaticVehicleEx(409,-3788.3999023,1882.0000000,966.5000000,0.0000000,0,126,60); //Stretch
- AddStaticVehicleEx(481,-3766.6999512,1910.3000488,966.0999756,180.0000000,0,126,60); //BMX
- AddStaticVehicleEx(481,-3769.5000000,1909.8000488,966.0999756,180.0000000,0,126,60); //BMX
- AddStaticVehicleEx(433,-3794.5000000,1907.5000000,967.0999756,180.0000000,0,126,60); //Barracks
- AddStaticVehicleEx(506,-3778.8000488,1879.5000000,966.2999878,0.0000000,0,126,60); //Super GT
- AddStaticVehicleEx(506,-3775.6000977,1879.5000000,966.2999878,358.5000000,0,126,60); //Super GT
- AddStaticVehicleEx(541,-3772.1999512,1879.1999512,966.2000122,0.0000000,0,126,60); //Bullet
- AddStaticVehicleEx(478,-3807.5000000,1908.6999512,966.5999756,178.0000000,0,126,60); //Walton
- AddStaticVehicleEx(478,-3804.5000000,1909.0000000,966.5999756,177.9949951,0,126,60); //Walton
- AddStaticVehicleEx(571,-3781.8999023,1910.0999756,965.9000244,180.0000000,0,126,60); //Kart
- AddStaticVehicleEx(571,-3779.0000000,1910.0000000,965.9000244,180.0000000,0,126,60); //Kart
- AddStaticVehicleEx(571,-3785.1000977,1910.0000000,965.9000244,180.0000000,0,126,60); //Kart
- AddStaticVehicleEx(571,-3788.1999512,1909.9000244,965.9000244,180.0000000,0,126,60); //Kart
- AddStaticVehicleEx(522,-3821.1999512,1886.0999756,966.2000122,270.0000000,0,126,60); //NRG-500
- AddStaticVehicleEx(522,-3820.6999512,1888.9000244,966.2000122,270.0000000,0,126,60); //NRG-500
- AddStaticVehicleEx(522,-3820.8000488,1892.0000000,966.2000122,270.0000000,0,126,60); //NRG-500
- AddStaticVehicleEx(522,-3820.3000488,1897.8000488,966.2000122,270.0000000,0,126,60); //NRG-500
- AddStaticVehicleEx(522,-3820.5000000,1904.0999756,966.2000122,270.0000000,0,126,60); //NRG-500
- //|=============== POLICIA MILITAR =====================================================================================================
- CopCarros[0] = AddStaticVehicleEx(596,1528.1450,-1683.9496,5.6140,270.1498,103,1,-1); // carro pm 1
- CopCarros[1] = AddStaticVehicleEx(596,1538.7369,-1644.5382,5.6141,180.1423,103,1,-1); // carro pm 2
- CopCarros[2] = AddStaticVehicleEx(528,1558.9006,-1693.3123,5.9415,178.8225,1,1,-1); // carro pm 3
- CopCarros[3] = AddStaticVehicleEx(596,1583.5354,-1711.4492,5.6148,359.9980,103,1,-1); // carro pm 4
- CopCarros[4] = AddStaticVehicleEx(599,1546.7996,-1667.9423,6.0823,89.8966,103,1,-1); // carro pm 5
- CopCarros[5] = AddStaticVehicleEx(599,1603.0945,-1700.1824,6.0806,89.6221,103,1,-1); // carro pm 6
- CopCarros[6] = AddStaticVehicleEx(427,1564.6661,-1710.9261,6.0222,359.5273,103,1,-1); // carro pm 7
- CopCarros[7] = AddStaticVehicleEx(427,1585.2527,-1667.6151,6.0242,269.5962,103,1,-1); // carro pm 8
- CopCarros[8] = AddStaticVehicleEx(528,1603.0577,-1684.0579,5.9346,90.1354,1,1,-1); // carro pm 9
- CopCarros[9] = AddStaticVehicleEx(596,1604.5824,-1630.2122,13.2354,89.0858,103,1,-1); // carro pm 10
- CopCarros[10] = AddStaticVehicleEx(596,1604.6581,-1619.0682,13.2364,88.2327,103,1,-1); // carro pm 11
- CopCarros[11] = AddStaticVehicleEx(437,1601.8105,-1608.3923,13.6168,89.1554,103,1,-1); // carro pm 12
- CopCarros[12] = AddStaticVehicleEx(523,1545.7140,-1709.9341,5.4589,359.5055,1,1,-1); // carro pm 13
- CopCarros[13] = AddStaticVehicleEx(523,1540.9708,-1706.4495,5.4605,321.1239,1,1,-1); // carro pm 14
- CopCarros[14] = AddStaticVehicleEx(523,1536.2023,-1699.5582,5.4611,305.3377,1,1,-1); // carro pm 15
- CopCarros[15] = AddStaticVehicleEx(523,1563.9626,-1635.8737,13.1244,358.7776,1,1,-1); // carro pm 16
- CopCarros[16] = AddStaticVehicleEx(523,1553.6471,-1635.6586,13.1271,1.6618,1,1,-1); // carro pm 17
- CopCarros[17] = AddStaticVehicleEx(497,1562.3970,-1657.4563,28.5724,88.8303,1,46,-1); // heli pm 18
- CopCarros[18] = AddStaticVehicleEx(497,1559.3757,-1642.7686,28.5794,89.0518,1,46,-1); // heli pm 19
- CopCarros[19] = AddStaticVehicleEx(596,1546.5264,-1654.9142,5.6115,89.7843,103,1,-1); // carro pm 1
- CopCarros[20] = AddStaticVehicleEx(596,1546.5048,-1680.2897,5.6168,89.7568,103,1,-1); // carro pm 2
- CopCarros[21] = AddStaticVehicleEx(596,1604.6068,-1624.5585,13.2365,89.8062,103,1,-1); // carro pm 3
- CopCarros[22] = AddStaticVehicleEx(596,1574.5569,-1711.3885,5.6114,359.6248,103,1,-1); // carro PM
- //====================== Policia Federal =====================================================================
- AddStaticVehicleEx(596,938.9000244,-1051.6999512,31.3999996,236.0000000,-1,-1,999999); //Police Car (LSPD)
- AddStaticVehicleEx(596,938.7999878,-1047.1999512,31.3999996,235.9973145,-1,-1,999999); //Police Car (LSPD)
- AddStaticVehicleEx(596,938.7999878,-1042.4000244,31.3999996,237.9973145,-1,-1,999999); //Police Car (LSPD)
- AddStaticVehicleEx(523,926.5000000,-1052.8000488,31.2999992,172.0000000,-1,-1,999999); //HPV1000
- AddStaticVehicleEx(523,924.2999878,-1052.8000488,31.2999992,171.9964600,-1,-1,999999); //HPV1000
- AddStaticVehicleEx(523,921.5000000,-1052.9000244,31.2999992,167.9964600,-1,-1,999999); //HPV1000
- AddStaticVehicleEx(427,881.2999878,-1050.0000000,31.7999992,90.0000000,-1,-1,999999); //Enforcer
- AddStaticVehicleEx(427,881.2000122,-1045.5000000,31.7999992,90.0000000,-1,-1,999999); //Enforcer
- AddStaticVehicleEx(497,906.0000000,-1048.1999512,30.3999996,92.0000000,-1,-1,999999); //Police Maverick
- AddStaticVehicleEx(596,930.7999878,-1001.0999756,38.0000000,326.0000000,-1,-1,999999); //Police Car (LSPD)
- AddStaticVehicleEx(596,925.7999878,-999.9000244,38.0000000,325.9973145,-1,-1,999999); //Police Car (LSPD)
- //====================== Policia Rodoviaria =====================================================================
- AddStaticVehicleEx(599,905.9000244,-1213.5999756,17.1000004,0.0000000,-1,-1,999999); //Police Ranger
- AddStaticVehicleEx(599,900.7999878,-1213.6999512,17.1000004,0.0000000,-1,-1,999999); //Police Ranger
- AddStaticVehicleEx(599,895.5000000,-1213.9000244,17.1000004,0.0000000,-1,-1,999999); //Police Ranger
- AddStaticVehicleEx(596,886.9000244,-1214.3000488,16.7999992,0.0000000,-1,-1,999999); //Police Car (LSPD)
- AddStaticVehicleEx(596,882.5999756,-1214.3000488,16.7999992,0.0000000,-1,-1,999999); //Police Car (LSPD)
- AddStaticVehicleEx(596,878.4000244,-1214.4000244,16.7999992,0.0000000,-1,-1,999999); //Police Car (LSPD)
- AddStaticVehicleEx(497,856.2999878,-1216.3000488,17.2000008,0.0000000,-1,-1,999999); //Police Maverick
- AddStaticVehicleEx(522,918.5000000,-1207.5000000,16.5000000,92.0000000,37,37,999999); //NRG-500
- AddStaticVehicleEx(522,918.5000000,-1205.4000244,16.5000000,91.9995117,37,37,999999); //NRG-500
- AddStaticVehicleEx(523,918.5999756,-1203.0999756,16.6000004,100.0000000,-1,-1,999999); //HPV1000
- AddStaticVehicleEx(523,918.7000122,-1201.0000000,16.6000004,99.9975586,-1,-1,999999); //HPV1000
- AddStaticVehicleEx(427,865.9000244,-1246.0000000,15.1000004,90.0000000,-1,-1,999999); //Enforcer
- AddStaticVehicleEx(427,866.0999756,-1241.0999756,15.1000004,90.0000000,-1,-1,999999); //Enforcer
- //====================== S.W.A.T ================================================================================
- CopCarros[23] = AddStaticVehicleEx(599,305.6436,-1480.8773,24.7822,233.6496,0,0,-1); // ROTA 1
- CopCarros[24] = AddStaticVehicleEx(599,299.2804,-1490.0864,24.7848,234.4877,0,0,-1); // ROTA 2
- CopCarros[25] = AddStaticVehicleEx(599,293.0708,-1545.5187,24.7818,55.2270,0,0,-1); // ROTA 3
- CopCarros[26] = AddStaticVehicleEx(599,299.5797,-1536.4169,24.7850,54.5720,0,0,-1); // ROTA 4
- CopCarros[27] = AddStaticVehicleEx(490,280.9660,-1530.7444,24.7223,233.8178,0,0,-1); // ROTA 5
- CopCarros[28] = AddStaticVehicleEx(490,289.9776,-1516.8864,24.7212,234.1068,0,0,-1); // ROTA 6
- CopCarros[29] = AddStaticVehicleEx(427,284.4430,-1526.7015,24.7260,234.6956,0,0,-1); // ROTA 7
- CopCarros[30] = AddStaticVehicleEx(427,300.2951,-1504.2303,24.7290,234.6367,0,0,-1); // ROTA 8
- CopCarros[31] = AddStaticVehicleEx(597,358.2215,-1558.4650,32.5870,55.8145,0,0,-1); // ROTA 9
- CopCarros[32] = AddStaticVehicleEx(597,359.0267,-1548.4785,32.9330,53.0377,0,0,-1); // ROTA 10
- CopCarros[33] = AddStaticVehicleEx(523,318.6457,-1507.9160,24.4874,56.1140,1,1,-1); // ROTA 11
- CopCarros[34] = AddStaticVehicleEx(523,315.2908,-1513.3015,24.4917,54.6393,1,1,-1); // ROTA 12
- CopCarros[35] = AddStaticVehicleEx(523,311.6905,-1518.7906,24.4922,55.3032,1,1,-1); // ROTA 13
- CopCarros[36] = AddStaticVehicleEx(497,326.2104,-1498.3422,76.7152,221.9967,0,0,-1); // ROTA 14
- CopCarros[37] = AddStaticVehicleEx(497,318.8298,-1508.1473,76.7160,231.9834,0,0,-1); // ROTA 15
- CopCarros[38] = AddStaticVehicleEx(560,293.1649,-1512.6666,24.2985,235.6584,0,0,-1); // carro ROTA 1
- CopCarros[39] = AddStaticVehicleEx(560,302.6249,-1498.9799,24.3039,234.9235,0,0,-1); // carro ROTA 2
- CopCarros[40] = AddStaticVehicleEx(522,316.9765,-1510.8833,24.4822,55.7618,0,0,-1); // carro ROTA 3
- CopCarros[41] = AddStaticVehicleEx(522,313.2525,-1516.1130,24.4814,56.7616,0,0,-1); // carro ROTA 4
- CopCarros[42] = AddStaticVehicleEx(522,320.1462,-1505.5435,24.4869,54.9424,0,0,-1); // carro ROTA 5
- CopCarros[43] = AddStaticVehicleEx(497,299.2999878,-1551.9000244,76.8000031,252.0000000,0,0,999999999); //Police Maverick
- CopCarros[44] = AddStaticVehicleEx(596,383.7999878,-1524.6999512,32.2999992,46.0000000,0,0,9999999999999); //Police Car (LSPD)
- CopCarros[45] = AddStaticVehicleEx(596,392.0000000,-1517.0999756,32.2999992,45.9997559,0,0,9999999999999); //Police Car (LSPD)
- CopCarros[46] = AddStaticVehicleEx(596,338.7999878,-1525.4000244,33.0999985,325.9996338,0,0,9999999999999); //Police Car (LSPD)
- //==================== Forças Armadas ===============================================================================
- CopCarros[48] = AddStaticVehicleEx(433,2465.8000488,-2108.3000488,14.1000004,0.0000000,44,44,9999999999); //Barracks
- CopCarros[49] = AddStaticVehicleEx(433,2454.8999023,-2107.1000977,14.1000004,0.0000000,44,44,9999999999); //Barracks
- CopCarros[50] = AddStaticVehicleEx(427,2502.6000977,-2108.1999512,13.8000002,0.0000000,44,44,9999999999); //Enforcer
- CopCarros[51] = AddStaticVehicleEx(470,2479.0000000,-2108.6000977,13.6999998,0.0000000,44,44,9999999999); //Patriot
- CopCarros[52] = AddStaticVehicleEx(470,2487.0000000,-2108.6999512,13.6999998,0.0000000,44,44,9999999999); //Patriot
- CopCarros[53] = AddStaticVehicleEx(523,2520.0000000,-2104.6000977,13.1000004,88.0000000,44,44,9999999999); //HPV1000
- CopCarros[54] = AddStaticVehicleEx(523,2519.8999023,-2111.3999023,13.1999998,87.9949951,44,44,9999999999); //HPV1000
- CopCarros[55] = AddStaticVehicleEx(523,2519.5000000,-2118.8000488,13.1999998,87.9949951,44,44,9999999999); //HPV1000
- CopCarros[56] = AddStaticVehicleEx(432,2459.0000000,-2077.8999023,13.6000004,178.0000000,44,44,9999999999); //Rhino
- CopCarros[57] = AddStaticVehicleEx(432,2532.1999512,-2075.8000488,13.5000000,177.9949951,44,44,9999999999); //Rhino
- CopCarros[58] = AddStaticVehicleEx(596,2394.8999023,-2136.6000977,13.3999996,270.0000000,44,44,9999999999); //Police Car (LSPD)
- CopCarros[59] = AddStaticVehicleEx(596,2395.3999023,-2126.3000488,13.3999996,270.0000000,44,44,9999999999); //Police Car (LSPD)
- CopCarros[60] = AddStaticVehicleEx(596,2396.0000000,-2116.5000000,13.3999996,270.0000000,44,44,9999999999); //Police Car (LSPD)
- CopCarros[61] = AddStaticVehicleEx(596,2395.6999512,-2105.8999023,13.3999996,270.0000000,44,44,9999999999); //Police Car (LSPD)
- CopCarros[62] = AddStaticVehicleEx(596,2395.3000488,-2095.5000000,13.3999996,270.0000000,44,44,9999999999); //Police Car (LSPD)
- CopCarros[63] = AddStaticVehicleEx(596,2395.3999023,-2085.5000000,13.3999996,270.0000000,44,44,9999999999); //Police Car (LSPD)
- CopCarros[64] = AddStaticVehicleEx(596,2396.0000000,-2074.5000000,13.3999996,270.0000000,44,44,9999999999); //Police Car (LSPD)
- CopCarros[65] = AddStaticVehicleEx(497,2517.1000977,-2108.6000977,26.6000004,0.0000000,44,44,9999999999); //Police Maverick
- CopCarros[66] = AddStaticVehicleEx(425,2506.1000977,-2109.6000977,27.2000008,0.0000000,44,44,9999999999); //Hunter
- CopCarros[67] = AddStaticVehicleEx(425,2494.3999023,-2109.5000000,27.2000008,0.0000000,44,44,9999999999); //Hunter
- CopCarros[68] = AddStaticVehicleEx(548,2480.1999512,-2114.3000488,28.3999996,0.0000000,44,44,9999999999); //Cargobob
- CopCarros[69] = AddStaticVehicleEx(520,2463.5000000,-2117.8999023,28.0000000,90.0000000,44,44,9999999999); //Hydra
- CreateObject(980,2326.1999512,-2103.6999512,15.3000002,0.0000000,0.0000000,90.0000000); //object(airportgate) (1)
- CreateObject(980,2326.3000488,-2093.8999023,15.3000002,0.0000000,0.0000000,89.9975586); //object(airportgate) (2)
- CreateObject(980,2326.6999512,-2082.8999023,15.3000002,0.0000000,0.0000000,83.9975586); //object(airportgate) (3)
- CreateObject(980,2328.1000977,-2071.6999512,15.3000002,0.0000000,0.0000000,81.9938965); //object(airportgate) (4)
- CreateObject(980,2333.1999512,-2062.8000488,15.3000002,0.0000000,0.0000000,35.9938965); //object(airportgate) (5)
- CreateObject(980,2403.0000000,-2058.8000488,14.8000002,0.0000000,0.0000000,356.0000000); //object(airportgate) (6)
- CreateObject(980,2424.3999023,-2065.5000000,15.3000002,0.0000000,0.0000000,1.4954834); //object(airportgate) (7)
- CreateObject(980,2424.1000977,-2078.8000488,15.3000002,0.0000000,0.0000000,91.4941406); //object(airportgate) (8)
- CreateObject(980,2424.5000000,-2100.1000977,15.3000002,0.0000000,0.0000000,89.4941406); //object(airportgate) (9)
- //==============================================[CARROS DRIFT]===========================================================================
- AddStaticVehicleEx(562,-266.2000122,1541.9000244,75.0999985,136.0000000,37,37,999999999); //Elegy
- AddStaticVehicleEx(562,-268.7999878,1544.4000244,75.0999985,135.9997559,37,37,999999999); //Elegy
- AddStaticVehicleEx(562,-271.2000122,1546.5999756,75.0999985,135.9997559,37,37,999999999); //Elegy
- AddStaticVehicleEx(562,-273.7999878,1549.3000488,75.0999985,135.9997559,37,37,999999999); //Elegy
- AddStaticVehicleEx(559,-278.2999878,1554.5000000,75.0999985,134.0000000,109,24,999999999); //Jester
- AddStaticVehicleEx(559,-280.6000061,1556.9000244,75.0999985,133.9947510,109,24,999999999); //Jester
- AddStaticVehicleEx(559,-283.2000122,1559.4000244,75.0999985,133.9947510,109,24,999999999); //Jester
- AddStaticVehicleEx(560,-288.2999878,1564.5000000,75.1999969,134.0000000,77,98,999999999); //Sultan
- AddStaticVehicleEx(560,-290.2999878,1566.5999756,75.1999969,133.9947510,77,98,999999999); //Sultan
- AddStaticVehicleEx(560,-292.6000061,1569.4000244,75.1999969,133.9947510,77,98,999999999); //Sultan
- //=============================================[CARROS BALLAS]===========================================================================
- BallasCarros[0] = AddStaticVehicleEx(424,1087.0470,-1226.7360,15.5894,1.8768,186,186,RESPAWN_TIME); // carro ballas 1 [ 53 ]
- BallasCarros[1] = AddStaticVehicleEx(560,1094.7773,-1226.7167,15.6089,359.7791,186,186,RESPAWN_TIME); // carro ballas 2 [ 54 ]
- BallasCarros[2] = AddStaticVehicleEx(560,1099.2961,-1226.7606,15.5311,3.7478,186,186,RESPAWN_TIME); // carro ballas 3 [ 55 ]
- BallasCarros[3] = AddStaticVehicleEx(559,1104.6244,-1226.5577,15.4777,2.9383,186,186,RESPAWN_TIME); // carro ballas 4 [ 56 ]
- BallasCarros[4] = AddStaticVehicleEx(562,1109.9979,-1226.3903,15.4266,4.9545,186,186,RESPAWN_TIME); // carro ballas 5 [ 57 ]
- BallasCarros[5] = AddStaticVehicleEx(522,1110.5137,-1250.6727,15.3953,174.0996,186,186,RESPAWN_TIME); // carro ballas 6 [ 58 ]
- BallasCarros[6] = AddStaticVehicleEx(522,1109.1437,-1250.8435,15.4107,179.3676,186,186,RESPAWN_TIME); // carro ballas 7 [ 59 ]
- BallasCarros[7] = AddStaticVehicleEx(567,1103.3754,-1249.2910,15.6839,181.0157,186,186,RESPAWN_TIME); // carro ballas 8 [ 60 ]
- BallasCarros[8] = AddStaticVehicleEx(487,1129.0411,-1167.8796,32.1671,31.7420,186,186,RESPAWN_TIME); // heli ballas [ 61 ]
- BallasCarros[9] = AddStaticVehicleEx(533,1089.3580,-1249.6661,15.4852,181.2573,186,186,RESPAWN_TIME); // moto ballas 1 [ 62 ]
- BallasCarros[10] = AddStaticVehicleEx(480,1096.6556,-1249.7533,15.6572,177.8184,186,186,RESPAWN_TIME); // moto ballas 2 [ 63 ]
- BallasCarros[11] = AddStaticVehicleEx(413,1087.3950,-1220.0513,17.5002,269.7915,186,186,RESPAWN_TIME); // van ballas [528]
- BallasCarros[12] = AddStaticVehicleEx(540,1102.2539,-1220.1254,17.5104,268.5367,186,186,RESPAWN_TIME); // carro ballas 1 [529]
- //=============================================[CARROS GROOVE STREET]==============================================================--
- GrooveCar[0] = AddStaticVehicleEx(424,2499.3936,-1683.6714,13.1049,277.9147,86,86,RESPAWN_TIME); // carro groove 1 [ 64 ]
- GrooveCar[1] = AddStaticVehicleEx(560,2473.9622,-1693.5035,13.2200,359.7079,86,86,RESPAWN_TIME); // carro groove 2 [ 65 ]
- GrooveCar[2] = AddStaticVehicleEx(560,2508.3750,-1677.2435,13.2115,328.8571,86,86,RESPAWN_TIME); // carro groove 3 [ 66 ]
- GrooveCar[3] = AddStaticVehicleEx(559,2510.1279,-1667.1589,13.1800,15.1649,86,86,RESPAWN_TIME); // carro groove 4 [ 67 ]
- GrooveCar[4] = AddStaticVehicleEx(562,2496.8115,-1647.7126,13.2535,210.6379,86,86,RESPAWN_TIME); // carro groove 5 [ 68 ]
- GrooveCar[5] = AddStaticVehicleEx(567,2468.7090,-1670.3972,13.0992,14.5934,86,86,RESPAWN_TIME); // carro groove 6 [ 69 ]
- GrooveCar[6] = AddStaticVehicleEx(480,2515.0391,-1686.0542,13.2324,74.8100,86,86,RESPAWN_TIME); // carro groove 7 [ 70 ]
- GrooveCar[7] = AddStaticVehicleEx(533,2483.1802,-1653.1826,13.0933,266.6223,86,86,RESPAWN_TIME); // carro groove 8 [ 71 ]
- GrooveCar[8] = AddStaticVehicleEx(487,2528.1475,-1677.7980,20.1070,88.8134,86,86,RESPAWN_TIME); // heli groove [ 72 ]
- GrooveCar[9] = AddStaticVehicleEx(522,2487.5161,-1685.6387,13.1070,44.6681,86,86,RESPAWN_TIME); // groove moto 1 [ 73 ]
- GrooveCar[10] = AddStaticVehicleEx(522,2484.9285,-1685.7277,13.1016,45.1795,86,86,RESPAWN_TIME); // groove moto 2 [ 74 ]
- //==========================================[CARRROS AZTECAS]=============================================================
- AztecasCar[0] = AddStaticVehicleEx(567,2174.8999023,-1807.5000000,13.1999998,0.0000000,125,125,999999999); //Savanna
- AztecasCar[1] = AddStaticVehicleEx(567,2180.8999023,-1807.5000000,13.1999998,0.0000000,125,125,999999999); //Savanna
- AztecasCar[2] = AddStaticVehicleEx(575,2186.8000488,-1807.1999512,13.1000004,0.0000000,125,125,999999999); //Broadway
- AztecasCar[3] = AddStaticVehicleEx(536,2175.3000488,-1793.9000244,13.1000004,180.0000000,125,125,999999999); //Blade
- AztecasCar[4] = AddStaticVehicleEx(536,2169.8000488,-1793.8000488,13.1000004,180.0000000,125,125,999999999); //Blade
- AztecasCar[5] = AddStaticVehicleEx(535,2164.8999023,-1793.8000488,13.1999998,180.0000000,125,125,999999999); //Slamvan
- AztecasCar[6] = AddStaticVehicleEx(461,2154.1000977,-1794.0000000,13.0000000,270.0000000,125,125,999999999); //PCJ-600
- AztecasCar[7] = AddStaticVehicleEx(461,2154.1999512,-1796.4000244,13.0000000,270.0000000,125,125,999999999); //PCJ-600
- AztecasCar[8] = AddStaticVehicleEx(429,2169.6000977,-1808.0999756,13.1000004,0.0000000,125,125,999999999); //Banshee
- AztecasCar[9] = AddStaticVehicleEx(429,2159.6000977,-1793.9000244,13.1000004,180.0000000,125,125,999999999); //Banshee
- //========================================[carros Vagos]============================================
- VagosCar[0] = AddStaticVehicleEx(522,2515.1000977,-2016.1999512,13.1000004,0.0000000,6,6,999999999999); //NRG-500
- VagosCar[1] = AddStaticVehicleEx(522,2512.8999023,-2016.1999512,13.1000004,0.0000000,6,6,999999999999); //NRG-500
- VagosCar[2] = AddStaticVehicleEx(560,2507.0000000,-2017.0999756,13.1999998,90.0000000,6,6,999999999999); //Sultan
- VagosCar[3] = AddStaticVehicleEx(560,2507.5000000,-2002.3000488,13.1999998,90.0000000,6,6,999999999999); //Sultan
- VagosCar[4] = AddStaticVehicleEx(567,2498.1000977,-2002.3000488,13.3999996,90.0000000,6,6,999999999999); //Savanna
- VagosCar[5] = AddStaticVehicleEx(567,2498.1000977,-2017.0999756,13.3999996,90.0000000,6,6,999999999999); //Savanna
- VagosCar[6] = AddStaticVehicleEx(429,2489.3000488,-2002.5000000,13.1999998,90.0000000,6,6,999999999999); //Banshee
- VagosCar[7] = AddStaticVehicleEx(480,2482.8999023,-2017.0000000,13.3000002,90.0000000,6,6,999999999999); //Comet
- VagosCar[8] = AddStaticVehicleEx(480,2481.8999023,-2002.5999756,13.3000002,90.0000000,6,6,999999999999); //Comet
- VagosCar[9] = AddStaticVehicleEx(429,2490.1000977,-2017.0999756,13.1999998,90.0000000,6,6,999999999999); //Banshee
- VagosCar[10] = AddStaticVehicleEx(487,2488.3999023,-1990.1999512,17.2999992,180.0000000,6,6,999999999999); //Maverick
- //===================================[CARROS HITMANS]==========================================================
- CarrosHit[0] = AddStaticVehicleEx(560,1094.65625000,-332.48144531,73.79716492,88.00000000,24,24,RESPAWN_TIME); //Sultan
- CarrosHit[1] = AddStaticVehicleEx(560,1094.12963867,-339.02896118,73.79716492,87.99499512,24,24,RESPAWN_TIME); //Sultan
- CarrosHit[2] = AddStaticVehicleEx(487,1061.28405762,-304.56274414,74.25718689,0.00000000,24,24,RESPAWN_TIME); //Maverick
- CarrosHit[3] = AddStaticVehicleEx(451,1029.86572266,-313.75509644,73.75656128,178.00000000,24,24,RESPAWN_TIME); //Turismo
- CarrosHit[4] = AddStaticVehicleEx(451,1034.71228027,-313.96206665,73.75656128,178.00000000,24,24,RESPAWN_TIME); //Turismo
- CarrosHit[5] = AddStaticVehicleEx(402,1082.16674805,-292.73696899,73.93218994,178.00000000,24,24,RESPAWN_TIME); //Buffalo
- CarrosHit[6] = AddStaticVehicleEx(402,1085.86547852,-293.00689697,73.93218994,177.99499512,24,24,RESPAWN_TIME); //Buffalo
- CarrosHit[7] = AddStaticVehicleEx(579,1041.64013672,-349.49005127,74.09082794,0.00000000,24,24,RESPAWN_TIME); //Huntley
- CarrosHit[8] = AddStaticVehicleEx(461,1089.88940430,-314.69131470,73.66668701,88.00000000,24,24,RESPAWN_TIME); //PCJ-600
- CarrosHit[9] = AddStaticVehicleEx(522,1089.72363281,-316.59765625,73.63111115,87.99499512,24,24,RESPAWN_TIME); //NRG-500
- CarrosHit[10] = AddStaticVehicleEx(581,1089.49426270,-318.37503052,73.69206238,87.99499512,24,24,RESPAWN_TIME); //BF-400
- CarrosHit[11] = AddStaticVehicleEx(411,1073.88208008,-292.13003540,73.78505707,178.00000000,24,24,RESPAWN_TIME); //Infernus
- CarrosHit[12] = AddStaticVehicleEx(411,1077.37707520,-292.25567627,73.78505707,178.00000000,24,24,RESPAWN_TIME); //Infernus [469]
- CarrosHit[13] = AddStaticVehicleEx(565,1070.65637207,-292.69549561,73.67698669,180.00000000,24,24,RESPAWN_TIME); //Flash [ 262 ]
- CarrosHit[14] = AddStaticVehicleEx(565,1067.02380371,-292.78121948,73.67698669,180.00000000,24,24,RESPAWN_TIME); //Flash [714]
- //==============DROP2============================================================================
- AddStaticVehicleEx(522,2972.1999512,1249.9000244,622.4000244,88.0000000,48,79,25); //NRG-500
- AddStaticVehicleEx(522,2972.1000977,1253.1999512,622.4000244,87.9949951,48,79,25); //NRG-500
- AddStaticVehicleEx(522,2972.0000000,1247.0000000,622.4000244,87.9949951,48,79,25); //NRG-500
- AddStaticVehicleEx(522,2971.6999512,1244.0000000,622.4000244,87.9949951,48,79,25); //NRG-500
- AddStaticVehicleEx(541,2953.1000977,1232.3000488,622.4000244,0.0000000,48,79,25); //Bullet
- AddStaticVehicleEx(541,2956.3000488,1232.3000488,622.4000244,0.0000000,48,79,25); //Bullet
- AddStaticVehicleEx(565,2943.3000488,1262.5000000,622.4000244,0.0000000,76,117,25); //Flash
- AddStaticVehicleEx(565,2949.6999512,1262.0000000,622.4000244,0.0000000,76,117,25); //Flash
- AddStaticVehicleEx(603,2934.1000977,1232.4000244,622.7000122,0.0000000,100,100,25); //Phoenix
- AddStaticVehicleEx(481,2917.8999023,1232.0000000,622.2999878,0.0000000,157,152,25); //BMX
- AddStaticVehicleEx(481,2920.8999023,1231.6999512,622.2999878,0.0000000,157,152,25); //BMX
- AddStaticVehicleEx(481,2914.6999512,1231.6999512,622.2999878,0.0000000,157,152,25); //BMX
- AddStaticVehicleEx(428,2927.6000977,1261.6999512,623.0000000,180.0000000,38,55,25); //Securicar
- AddStaticVehicleEx(428,2924.3000488,1261.6999512,623.0000000,180.0000000,38,55,25); //Securicar
- AddStaticVehicleEx(468,-506.6000061,-2027.8000488,50.7000008,84.0000000,132,4,25); //Sanchez
- AddStaticVehicleEx(468,-507.2000122,-2030.4000244,51.0999985,83.9959717,132,4,25); //Sanchez
- AddStaticVehicleEx(468,-508.0000000,-2032.5000000,51.2999992,83.9959717,132,4,25); //Sanchez
- AddStaticVehicleEx(468,-508.1000061,-2035.6999512,50.7000008,83.9959717,132,4,25); //Sanchez
- AddStaticVehicleEx(473,-477.7000122,-1886.6999512,5.4000001,110.0000000,158,164,25); //Dinghy
- AddStaticVehicleEx(473,-476.2999878,-1890.3000488,5.4000001,109.9951172,158,164,25); //Dinghy
- AddStaticVehicleEx(473,-474.6000061,-1894.3000488,5.4000001,109.9951172,158,164,25); //Dinghy
- AddStaticVehicleEx(473,-473.2999878,-1897.6999512,5.4000001,109.9951172,158,164,25); //Dinghy
- CreateObject(8355, 2846.1999511719, 1246.4000244141, 573.70001220703, 316, 0, 90);
- CreateObject(8040, 2935.8000488281, 1247.3000488281, 622.5, 0, 0, 180);
- CreateObject(8355, 2749.6999511719, 1246.4000244141, 477.10000610352, 314, 0, 90);
- CreateObject(8355, 2680.6000976563, 1246, 361.89999389648, 287.99475097656, 0, 90);
- CreateObject(8355, 2611.5, 1246, 247.69999694824, 313.99011230469, 0, 90);
- CreateObject(8355, 2516.8999023438, 1246, 149.69999694824, 313.9892578125, 0, 90);
- CreateObject(8355, 2480.6999511719, 1245.9000244141, 112.09999847412, 321.9892578125, 0, 90);
- CreateObject(8395, 2325.8000488281, 1213.3000488281, 50.099998474121, 0, 0, 0);
- CreateObject(1634, 2429, 1227.9000244141, 73.099998474121, 322, 0, 90.5);
- CreateObject(1634, 2428.8999023438, 1231.9000244141, 73.099998474121, 321.99829101563, 0, 91.249633789063);
- CreateObject(1634, 2428.8000488281, 1235.9000244141, 73.099998474121, 321.99829101563, 0, 90.499633789063);
- CreateObject(1634, 2428.6999511719, 1239.9000244141, 73.099998474121, 321.99829101563, 0, 90.749633789063);
- CreateObject(1634, 2428.6000976563, 1243.9000244141, 73.099998474121, 321.99829101563, 0, 90.999633789063);
- CreateObject(1634, 2428.5, 1247.5999755859, 73.099998474121, 321.99829101563, 0, 90.994262695313);
- CreateObject(1634, 2428.3999023438, 1251.4000244141, 73.099998474121, 321.99829101563, 0, 90.994262695313);
- CreateObject(1634, 2428.3000488281, 1255.4000244141, 73.099998474121, 321.99829101563, 0, 90.994262695313);
- CreateObject(1634, 2428.1999511719, 1259.4000244141, 73.099998474121, 321.99829101563, 0, 90.994262695313);
- CreateObject(1634, 2428.1000976563, 1263.5, 73.099998474121, 321.99829101563, 0, 90.994262695313);
- CreateObject(2780, 2348.6000976563, 1247, 47.200000762939, 0, 0, 0);
- CreateObject(16401, -537.20001220703, -2029.5999755859, 50.5, 0, 0, 180);
- return 1;
- }
- public OnGameModeExit()
- {
- TextDrawHideForAll(players);
- TextDrawDestroy(players);
- for(new i=0; i<MAX_PLAYERS; i++)
- SalvarPlayer(i);
- return 1;
- }
- 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;
- }
- forward ContarJogadores();
- public ContarJogadores()
- {
- new Jogadores = 0;
- for(new i = 0; i < MAX_PLAYERS; i++)
- {
- if(IsPlayerConnected(i) && !IsPlayerNPC(i))
- {
- Jogadores++;
- }
- }
- return Jogadores;
- }
- public OnPlayerGiveDamage(playerid, damagedid, Float:amount, weaponid)
- {
- new Float:Life, Float:Coleete, Float:Dano;
- GetPlayerArmour(damagedid, Coleete);
- GetPlayerHealth(damagedid, Life);
- if(Coleete > 0)
- {
- if(amount > Coleete)
- {
- Dano = amount - Coleete;
- Life = Life - Dano;
- SetPlayerArmour(damagedid, 0.0);
- SetPlayerHealth(damagedid, Life);
- return 1;
- }
- Coleete = Coleete - amount;
- SetPlayerArmour(damagedid, Coleete);
- }
- if(Coleete < 1)
- {
- Life = Life - amount;
- SetPlayerHealth(damagedid, Life);
- }
- return 1;
- }
- stock GetOnLinePlayers()
- {
- new OnLine;
- for(new i, g = GetMaxPlayers(); i < g; i++)
- if(IsPlayerConnected(i))
- OnLine++;
- return OnLine;
- }
- public hora(playerid)
- {
- new str[128],//criamos a primeira string
- str2[128],//criamos a segunda string
- year, //criamos a variavel Ano
- month,//criamos a Varivel mes
- day,//criamos a Variavel dia
- hour,//criamos a Variavel hora
- minute,//criamos a Variavel minutos
- second;//criamos a variavel segundos
- getdate(year, month, day);//getamos a data em ANO:MES:DIA
- gettime(hour,minute,second);//getamos o tempo em HORAS:MINUTOS:SEGUNDOS
- new mes[12];//definimos uma Array para armarzenar os meses
- if(month == 1) { mes = "1"; }//criamos a primeira IF do mes 1 Voce poderia EX:colocar janeiro no lugar de '1'
- else if(month == 2) {mes = "2";}//getamos o mes 2
- else if(month == 3) {mes = "3";}//getamos o mes 3
- else if(month == 4) {mes = "4";}// Assim em diante lembrando, voce podera colocar o mes em nome! Nao em numeros ai fica a criterio!
- else if(month == 5) {mes = "5";}
- else if(month == 6) {mes = "6";}
- else if(month == 7) {mes = "7";}
- else if(month == 8) {mes = "8";}
- else if(month == 9) {mes = "9";}
- else if(month == 10) {mes = "10";}
- else if(month == 11) {mes = "11";}
- else if(month == 12) {mes= "12";}
- format(str, sizeof(str), "~r~%d/~y~%s/~b~%d", day, mes,year);//criamos o formato da string sempre usando o '%d' no caso'DIA/MES/ANO' por isso %d/%d/%d
- TextDrawSetString(Text:Textdraw0, str);//aki a Draw para definir a string,Text:Textdraw0 e o nome da draw la no inicio, a 'str' e a que colocamos no inicio
- format(str2, sizeof(str2), "~r~%d:~b~%d:~y~%d", hour, minute, second);//aqui usaremos a str2 usamos '%d:%d:%d' de Horas:minutos:segundos
- TextDrawSetString(Text:Textdraw1, str2);//se seu GM usa outra Draw no lugar da Text:Textdraw1 mude
- }
- public OnPlayerDisconnect(playerid, reason)
- {
- new
- string[64],
- name[MAX_PLAYER_NAME];
- GetPlayerName(playerid,name,MAX_PLAYER_NAME);
- switch(reason)
- {
- case 0: format(string,sizeof string,"%s Saiu do Servidor. (Erro de Conexão ou Crash)",name);
- case 1: format(string,sizeof string,"%s Saiu do Servidor. (Vontade Própria)",name);
- case 2: format(string,sizeof string,"%s Saiu do Servidor. (Kickado ou Banido)",name);
- }
- SendClientMessageToAll(0xFFFFFFAA,string);
- SalvarPlayer(playerid);
- return 1;
- }
- //=====================SISTEMA DE ANT-SOBEIT=========================================================
- public OnPlayerUpdate(playerid)
- {
- new weaponid;
- weaponid = GetPlayerWeapon(playerid);
- if(weaponid == 35 || weaponid == 36 || weaponid == 37 || weaponid == 38 || weaponid == 9 ||weaponid == 19)
- {
- //Mensagem
- new gstring[128];
- GetPlayerName(playerid,sendername,sizeof(sendername));//identifica o nome do player que digitou o comando
- format(gstring,sizeof(gstring),"%s [ID:%d] Está Usando um Arma Proibida !! ",sendername,playerid);//formata a string que será enviada para os administradores
- AvisoAdmin(azulagua,gstring);
- ResetPlayerWeapons(playerid);
- }
- return 1; // Send this update to other players.
- }
- //==================================================================================================
- public AvisoAdmin(COLOR,const string[])//public que terá a função de enviar a mensagem para os admins
- {//inicia o código da public
- for(new i = 0; i < MAX_PLAYERS; i++)//criamos um loop
- {
- if(IsPlayerConnected(i))//verifica se o player está conectado
- {
- if (IsPlayerAdmin(i))//verifica se o player é admin
- {
- SendClientMessage(i, COLOR, string);//envia a mensagem para os admins
- printf("%s", string);//mostra no console a mensagem
- }
- }
- }
- return 1;
- }//Final da public
- forward AntCrash(playerid);
- public AntCrash(playerid)
- {
- XiterCrashando[playerid] --;
- if(XiterCrashando[playerid] > 3)
- {
- new gstring[128];
- format(gstring,sizeof(gstring), "AntiAttack:{80E3FF}%s{E84F33}[ID: {80E3FF}%d{E84F33}] Poder Ser um Crash Player!!",PlayerName(playerid),playerid);
- AvisoAdmin(azulagua,gstring);
- }
- }
- public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
- {
- TextDrawHideForPlayer(playerid, Forum);
- TextDrawHideForPlayer(playerid, Comandos);
- TextDrawHideForPlayer(playerid, var3);
- return 1;
- }
- public OnPlayerExitVehicle(playerid, vehicleid)
- {
- TextDrawShowForPlayer(playerid, Forum);
- TextDrawShowForPlayer(playerid, Comandos);
- TextDrawShowForPlayer(playerid, var3);
- return 1;
- }
- public OnPlayerText(playerid, text[])
- {
- if(strfind(text,"!kill",true) == 0) return Kick(playerid);
- if(strfind(text,"Ant Fake Kill",true) == 0) return Kick(playerid);
- return 1;
- }
- forward antifakekill2(playerid);
- public antifakekill2(playerid)
- {
- antifakekill[playerid] --;
- if(antifakekill[playerid] > 5)
- {
- SendClientMessage(playerid, 0xFF0000AA, "Este servidor esta protegido por um Anti Fake Kill");
- Kick(playerid);
- }
- return 1;
- }
- SalvarPlayer(playerid)
- {
- new Nome[MAX_PLAYER_NAME];
- GetPlayerName(playerid, Nome, sizeof(Nome));
- new String[50];
- format(String, sizeof(String), CONTAS, Nome);
- dini_IntSet(String,"Dinheiro", GetPlayerMoney(playerid));
- dini_IntSet(String,"Score",GetPlayerScore(playerid));
- dini_IntSet(String,"Total Matou", TotalMatou[playerid]);
- dini_IntSet(String,"Total Morreu", TotalMorreu[playerid]);
- dini_IntSet(String,"Total Logou", TotalLogou[playerid]);
- return 1;
- }
- CarregarPlayer(playerid)
- {
- new Nome[MAX_PLAYER_NAME];
- GetPlayerName(playerid, Nome, sizeof(Nome));
- new String[50];
- format(String, sizeof(String), CONTAS, Nome);
- GivePlayerMoney(playerid, dini_Int(String,"Dinheiro"));
- SetPlayerScore(playerid, dini_Int(String,"Score"));
- TotalMatou[playerid] = dini_Int(String, "Total Matou");
- TotalMorreu[playerid] = dini_Int(String, "Total Morreu");
- TotalLogou[playerid] = dini_Int(String, "Total Logou");
- return 1;
- }
- public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
- {
- if(dialogid == DIALOG_REGISTRO)
- {
- if(response)
- {
- if(!strlen(inputtext))
- {
- new Nome[MAX_PLAYER_NAME];
- GetPlayerName(playerid, Nome, sizeof(Nome));
- new String[1000];
- format(String, sizeof(String), TXT_NREGISTER, Nome);
- ShowPlayerDialog(playerid, DIALOG_REGISTRO, 3, "Registro", String, "Registrar", "Cancelar");
- SendClientMessage(playerid,0x1E90FFAA,"Senha incorreta !!");
- return 1;
- }
- new Nome[MAX_PLAYER_NAME];
- GetPlayerName(playerid, Nome, sizeof(Nome));
- new String[100];
- format(String, sizeof(String), CONTAS, Nome);
- dini_Create(String);
- dini_Set(String,"Senha",inputtext);
- dini_IntSet(String,"Dinheiro",50000);
- dini_IntSet(String,"Score",0);
- dini_IntSet(String,"Vida",50);
- dini_IntSet(String,"TotalMatou",0);
- dini_IntSet(String,"Total Morreu",0);
- dini_IntSet(String,"Total Logou",0);
- ShowPlayerDialog(playerid, DIALOG_LOGIN, 3, "Login", TXT_RL, "Logar", "Cancelar");
- return 1;
- }
- else
- {
- SendClientMessage(playerid, 0xFF0000AA, "Voce Foi Kickado Por Não quer se registrar");
- Kick(playerid);
- return 1;
- }
- }
- if(dialogid == 11)
- {
- if(response == 0)
- {
- SendClientMessage(playerid, COLOR_DBLUE, "Você não quis ir ao evento criado pelo Admin");
- return 1;
- }
- if(response >= 1)
- {
- if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid, -1, "Você não tem Autorização Para Usar Esse Comando");
- SendClientMessage(playerid, COLOR_WHITE, "Obrigado por comparecer ao evento.");
- new Float:vc,Float:vy,Float:vz;
- SetPlayerPos(playerid,vc,vy,vz);
- return 1;
- }
- return 1;
- }
- if(dialogid == DIALOG_LOGIN)
- {
- if(response)
- {
- if(!strlen(inputtext))
- {
- new Nome[MAX_PLAYER_NAME];
- GetPlayerName(playerid, Nome, sizeof(Nome));
- new String[1000];
- format(String, sizeof(String),TXT_LOGIN, Nome);
- ShowPlayerDialog(playerid, DIALOG_LOGIN, 3, "Registro", String, "Logar", "Cancelar");
- SendClientMessage(playerid,0x1E90FFAA,"Senha Incorreta !");
- return 1;
- }
- new Nome[MAX_PLAYER_NAME];
- GetPlayerName(playerid, Nome, sizeof(Nome));
- new String[100];
- format(String, sizeof(String), CONTAS, Nome);
- if(!strcmp(inputtext,dini_Get(String,"Senha"),false))
- {
- CarregarPlayer(playerid);
- TotalLogou[playerid]++;
- SpawnPlayer(playerid);
- return 1;
- }
- else
- {
- SendClientMessage(playerid,0x00FF00AA,"Senha incorreta digite-a novamente");
- format(String, sizeof(String), TXT_RLOGIN, Nome);
- ShowPlayerDialog(playerid, DIALOG_LOGIN, 3, "Registro", String, "Logar", "Cancelar");
- }
- return 1;
- }
- else
- {
- SendClientMessage(playerid, 0xFF0000AA, "Voce Foi Kickado Por Não quer logar");
- Kick(playerid);
- return 1;
- }
- }
- if(dialogid == 04042)
- {
- if(response)
- {
- if(listitem==0)
- { // Deagle
- if(GetPlayerMoney(playerid) < 500) return SendClientMessage(playerid, 0xFFFFFF, "Voce nao tem dinheiro suficiente"); // se ele nao tiver 500 , retorna essa mensagem!
- GivePlayerMoney(playerid, -500); // caso contrario vai cobrar 500 .
- GivePlayerWeapon(playerid, 24, 99999); // ea deagle vai vir com 99999 balas !
- }
- if(listitem==1) { // Granada
- if(GetPlayerMoney(playerid) < 5000) return SendClientMessage(playerid, 0xFFFFFF, "Você não tem Dinheiro Suficiente!");
- GivePlayerWeapon(playerid,16,5);
- GivePlayerMoney(playerid,-5000);
- SendClientMessage(playerid,COLOR_WHITE,"Granadas Foram comprada Por R$5.000.");
- }
- if(listitem==2) { // MP5K
- if(GetPlayerMoney(playerid) < 5000) return SendClientMessage(playerid, 0xFFFFFF, "Você não tem Dinheiro Suficiente!");
- GivePlayerWeapon(playerid,29,50000);
- GivePlayerMoney(playerid,-5000);
- SendClientMessage(playerid,COLOR_WHITE,"MP5-K purchased for $5000.");
- }
- if(listitem==3) { // M4
- if(GetPlayerMoney(playerid) < 10000) return SendClientMessage(playerid, 0xFFFFFF, "Você não tem Dinheiro Suficiente!");
- GivePlayerWeapon(playerid,31,50000);
- GivePlayerMoney(playerid,-10000);
- SendClientMessage(playerid,COLOR_WHITE,"M4-Carbine purchased for $10000.");
- }
- if(listitem==4) { // AK47
- if(GetPlayerMoney(playerid) < 9000) return SendClientMessage(playerid, 0xFFFFFF, "Você não tem Dinheiro Suficiente!");
- GivePlayerWeapon(playerid,30,50000);
- GivePlayerMoney(playerid,-9000);
- SendClientMessage(playerid,COLOR_WHITE,"AK-47 Foi Comprada por R$9.000.");
- }
- if(listitem==5) { // SPAS12
- if(GetPlayerMoney(playerid) < 10000) return SendClientMessage(playerid, 0xFFFFFF, "Você não tem Dinheiro Suficiente!");
- GivePlayerWeapon(playerid,27,50000);
- GivePlayerMoney(playerid,-10000);
- SendClientMessage(playerid,COLOR_WHITE,"Spas 12 Shotgun Foi Comprada por R$10.000.");
- }
- if(listitem==6) { // Molotov
- if(GetPlayerMoney(playerid) < 15000) return SendClientMessage(playerid, 0xFFFFFF, "Você não tem Dinheiro Suficiente!");
- GivePlayerWeapon(playerid,18,5);
- GivePlayerMoney(playerid,-15000);
- SendClientMessage(playerid,COLOR_WHITE,"Molotov Foi comprado por R$15000.");
- }
- if(listitem==7) { // Sniper
- if(GetPlayerMoney(playerid) < 10000) return SendClientMessage(playerid, 0xFFFFFF, "Você não tem Dinheiro Suficiente!");
- GivePlayerWeapon(playerid,34,150);
- GivePlayerMoney(playerid,-10000);
- SendClientMessage(playerid,COLOR_WHITE,"Sniper Foi comprada por R$10000.");
- }
- if(listitem==8) { // RPG
- if(GetPlayerMoney(playerid) < 20000) return SendClientMessage(playerid, 0xFFFFFF, "Você não tem Dinheiro Suficiente!");
- GivePlayerWeapon(playerid,35,3);
- GivePlayerMoney(playerid,-20000);
- SendClientMessage(playerid,COLOR_WHITE,"Bazuca Foi comprada por R$20000.");
- }
- if(listitem==9) { // Vida Extra
- if(GetPlayerMoney(playerid) < 5000) return SendClientMessage(playerid, 0xFFFFFF, "Você não tem Dinheiro Suficiente!");
- SetPlayerHealth(playerid, 100.0);
- GivePlayerMoney(playerid,-5000);
- SendClientMessage(playerid,COLOR_WHITE,"Você comprou Vida Extra por R$5.000.");
- }
- if(listitem==10) { // Skin Especial 1
- if(GetPlayerMoney(playerid) < 5000) return SendClientMessage(playerid, 0xFFFFFF, "Você não tem Dinheiro Suficiente!");
- SetPlayerSkin(playerid,84);
- GivePlayerMoney(playerid,-5000);
- SendClientMessage(playerid,COLOR_WHITE,"Você comprou Skin Especial 1 por R$5.000.");
- }
- if(listitem==11) { // Skin Especial 2
- if(GetPlayerMoney(playerid) < 5000) return SendClientMessage(playerid, 0xFFFFFF, "Você não tem Dinheiro Suficiente!");
- SetPlayerSkin(playerid,83);
- GivePlayerMoney(playerid,-5000);
- SendClientMessage(playerid,COLOR_WHITE,"Você comprou Skin Especial 2 por R$5.000.");
- }
- if(listitem==12) { // Skin Especial 3
- if(GetPlayerMoney(playerid) < 5000) return SendClientMessage(playerid, 0xFFFFFF, "Você não tem Dinheiro Suficiente!");
- SetPlayerSkin(playerid,85);
- GivePlayerMoney(playerid,-5000);
- SendClientMessage(playerid,COLOR_WHITE,"Você comprou Skin Especial 3 por R$5.000.");
- }
- if(listitem==13) { // Teleporte Pref
- if(GetPlayerMoney(playerid) < 5000) return SendClientMessage(playerid, 0xFFFFFF, "Você não tem Dinheiro Suficiente!");
- SetPlayerPos(playerid,1476.1659,-1687.3444,14.0469);
- GivePlayerMoney(playerid,-5000);
- SendClientMessage(playerid,COLOR_WHITE,"Você se Teleportou por R$5.000.");
- return 1;
- }
- }
- }
- return 0;
- }
- public IsACopCar(carid)//copcarroo
- {
- for(new i=0;i<sizeof(CopCarros);i++)
- {
- if(carid == CopCarros[i])
- {
- SetVehicleNumberPlate(carid, "BPC COP");
- return 1;
- }
- }
- return 0;
- }
- public IsABallasCar(carid)
- {
- for(new i=0;i<sizeof(BallasCarros);i++)
- {
- if(carid == BallasCarros[i])
- {
- SetVehicleNumberPlate(carid, "BWS BALLAS");
- return 1;
- }
- }
- return 0;
- }
- public IsAGrooveCar(carid)
- {
- for(new i=0;i<sizeof(GrooveCar);i++)
- {
- if(carid == GrooveCar[i])
- {
- SetVehicleNumberPlate(carid, "BWS Groove");
- return 1;
- }
- }
- return 0;
- }
- public IsAAztecaCar(carid)
- {
- for(new i=0;i<sizeof(AztecasCar);i++)
- {
- if(carid == AztecasCar[i])
- {
- SetVehicleNumberPlate(carid, "BWS CripZ");
- return 1;
- }
- }
- return 0;
- }
- public IsAVagosCar(carid)
- {
- for(new i=0;i<sizeof(VagosCar);i++)
- {
- if(carid == VagosCar[i])
- {
- SetVehicleNumberPlate(carid, "BWS Vagos");
- return 1;
- }
- }
- return 0;
- }
- public IsAHitCar(carid)
- {
- for(new i=0;i<sizeof(CarrosHit);i++)
- {
- if(carid == CarrosHit[i])
- {
- SetVehicleNumberPlate(carid, "BWS Hit");
- return 1;
- }
- }
- return 0;
- }
- public OnPlayerStateChange(playerid, newstate, oldstate)
- {
- if(newstate == PLAYER_STATE_DRIVER)
- {// 38 / 49 / 56 = SS
- new newcar = GetPlayerVehicleID(playerid);
- new carid=GetVehicleModel(newcar);
- if(carid == 481 || carid == 509 || carid == 510) { }
- else
- {
- if(IsAAztecaCar(newcar))
- {
- if(globDE40[playerid] == 4)
- {
- SendClientMessage(playerid, COR_AZTECAS, "Você não é um CripZ, por isso não tem a chave desse veículo!");
- RemovePlayerFromVehicle(playerid);
- return 1;
- }
- }
- }
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement