Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- //-----------------------[ Euro RPG]---------------------------//
- Scripter : Life_Advanced.
- Agradeçimentos ao : American_Style.
- Sistema de Admin Criado por : humildadeforever( Aninha )
- Mapper : Yuri_Delta.
- Agradeçimentos a Forum Samp por Valorizar trabalho de Todos !
- Não retira os Creditos.
- Caso Faltar Créditos, irei Colocar na Forum Samp !
- //--------------------------------------------------------------//
- */
- //(=-=-=-=( Include )=-=-=-=)
- #include a_samp
- #include zcmd
- #include dof2
- //(=-=-=-=( Defines )=-=-=-=)
- #define USAR_SISTEMA_REGISTRO 1
- #define USAR_SISTEMA_VIP 1
- #define USAR_TEXT 0
- #define SPAWNAR_HQ 1
- #define DESTAQUE_ADMINS 1
- #define MAX_PING 999
- #define AUTO_LOGIN false
- #define SENHA "22297770"
- #define CAR_AMOUNT 100
- //--------[ Nome/Modo/Mapa ]--------//
- #define Life_NOME "• [BR/PT] Euro RPG [RPG v1.0] •"
- #define Life_MODO "(RPG v1.0) • (Brasil) •"
- #define Life_MAPA "• [Los Santos] •"
- //(=-=-=-=-=( MACROS )=-=-=-=)
- #define MensagemFormatadaParaTodos(%0,%1,%2); format(String, sizeof(String), %1, %2); SendClientMessageToAll(%0, String);
- #define MensagemFormatada(%0,%1,%2); format(String, sizeof(String), %1, %2); SendClientMessage(playerid, %0, String);
- #define MsgFormat(%0,%1,%2,%3); format(String, sizeof String, %2, %3); SendClientMessage(%0, %1, String);
- #define SetarDado(%0,%1,%2); PlayerDados[%0][%1] = %2; SalvarDados(%0);
- #define GetarDado(%0,%1) PlayerDados[%0][%1]
- #define Loop(%0,%1) for(new %0 = 0; %0 < %1; ++%0)
- #define Controle TogglePlayerControllable
- #define sleep2(%0); for(new _@%0; _@%0 != (%0*50000000);) (_@%0++);
- //(=-=-=-=-=( Defines )=-=-=-=)
- #define Msg SendClientMessage
- #define MsgAll SendClientMessageToAll
- #define LogExistir fexist
- #define BOM 127
- #define BemVindo 128
- #define TempoGas 5000
- #define GasMax 100
- #define KEY_HORN 2
- #define TimerGAS 15000
- #define Documentos 2000
- #define MAX_ZONE_NAME 28
- #define COLOR_DEPARTAMENTO 0x993333FF
- //(=-=-=-=-=( Defines de Org's )=-=-=-=-=)
- #define Civil 0
- #define Ballas 1
- #define PoliciaM 2
- //(=-=-=-=-=( CORES )=-=-=-=-=)
- #define VERDE 0x21DD00FF
- #define VERMELHO 0xFF030FFF
- #define VERMELHO_ESCURO 0xE60000FF
- #define VERMELHO_CLARO 0xFB0000FF
- #define AMARELO 0xFFFF00FF
- #define LARANJA 0xF97804FF
- #define AZUL_CLARO 0x00C2ECFF
- #define ROXO 0xB360FDFF
- #define BRANCO 0xFFFFFFFF
- #define PRETO 0x000000FF
- #define AZUL 0x1229FAFF
- #define VERDE_CLARO 0x38FF06FF
- #define ROSA_CHOQUE 0xE100E1FF
- #define VERDE_ESCURO 0x008040FF
- #define CINZA 0xCECECEFF
- #define ROSA 0xD52DFFFF
- #define CINZA_ESCURO 0x626262FF
- #define VERDE_AGUA 0x03D687FF
- #define COR_RED 0xFF0000FF
- #define COR_ROSA 0xE100E1FF
- //-----------[ Cor's das Orgs ]---------//
- #define COR_BRANCO 0xFFFFFFAA
- #define COR_BALLAS 0x9900CCF6
- #define COR_PM 0x1229FAFF
- /* DIALOGS */
- #define DIALOG_REGISTRO 4672
- #define DIALOG_LOGIN 4673
- #define DIALOG_BANIDO 4674
- #define DIALOG_IPS 4675
- #define DIALOG_INFO 4676
- #define DIALOG_AL 4677
- #define Ajudando2 4692
- #define DIALOG_ADM 4678
- #define DIALOG_HELPER 4679
- #define DIALOG_SENHANOVA 4681
- #define DIALOG_FORCAR 4682
- #define DIALOG_AJUDAV 4683
- #define DIALOG_KICKAR 4684
- #define DIALOG_BANIR 4685
- #define DIALOG_ADVERTIR 4686
- #define DIALOG_OPCOES 4687
- #define DIALOG_PART 4688
- #define DIALOG_IPS1 4689
- #define DIALOG_IPS2 4690
- #define DIALOG_STATUS 4691
- /* FORWARDS */
- forward TempoPreso(playerid);
- forward VerificarPreso(playerid);
- forward LiberarKit(playerid);
- forward MensagensRandom();
- forward FecharEnquete();
- forward TocarSom(playerid);
- forward CriarLogs();
- forward ImprimirInformacoes();
- forward VerificarPasta(pasta[]);
- forward VerificarArquivo(arquivo[]);
- forward FoderSpawn(playerid);
- forward DiminuirTempo();
- forward FecharPortao();
- forward EnviarMsgHack(playerid);
- forward Personagem(playerid,targetid);
- forward ActionCamera();
- forward IsAGasolina(playerid);
- forward PlayerToPoint(Float:radi, playerid, Float:x, Float:y, Float:z);
- forward SetPlayerCriminal(playerid,declare,reason[]);
- forward Novinha(playerid);
- forward SetOriginalColor(playerid);
- forward Velocimetro(playerid);
- forward Sequestrar();
- forward UsarNovamente(playerid);
- forward FechaPortas();
- forward OrgCop(playerid);
- main() { }
- //--------------------[ Enum's ]--------------//
- #define MAX_ORGS 3 //Todas as orgs+1
- enum CofreInfo
- {
- pDinheiro,
- pEagle,
- pC12,
- };
- new BancoDasOrgs[MAX_ORGS][CofreInfo];
- new pBancoDasOrgs[MAX_PLAYERS];
- enum pInfo
- {
- pLevel,
- Respeito,
- Senha,
- Matou,
- Morreu,
- Admin,
- Sexo,
- Colocar,
- Organizacao,
- Cargo,
- Advertencias,
- Preso,
- Grana,
- Emprego,
- pSkin,
- Motorista,
- Procurado,
- bool:Helper,
- bool:Congelado,
- bool:Assistindo,
- bool:Trabalhando,
- bool:Calado,
- bool:Invisivel,
- bool:Logado,
- bool:Vip,
- bool:PegouKit,
- bool:Afk,
- bool:Disfarcado,
- bool:Escondido,
- bool:Tutorial
- }
- enum eEnquete
- {
- bool:Criada,
- VotoSim,
- VotoNao,
- Titulo[128]
- }
- /* VARIAVEIS E ARRAYS */
- new PlayerDados[MAX_PLAYERS][pInfo];
- new String[256];
- new StringContas[256];
- new ID;
- new AdminNivel[50];
- new AdminTrabalhando[50];
- new Dia, Mes, Ano, Hora, Minuto, Segundo;
- new CarrosCriados[100];
- new TodosCarros = 0;
- new Barris[100];
- new tBarris = 0;
- new TimerPreso;
- new nivel;
- new TimerKit;
- new TimerMsgs;
- new TimerCont;
- new PlayersOnline = 0;
- new Enquete[eEnquete];
- new time;
- new BALLAS[9];
- new bool:ServerTrancado;
- new bool:MsgHack[MAX_PLAYERS];
- new NomeOriginal[MAX_PLAYERS][30];
- new IdClicado[MAX_PLAYERS];
- new NomeClicado[MAX_PLAYERS][MAX_PLAYER_NAME];
- new Ips2[300];
- new Pergunta[MAX_PLAYERS][128];
- new Float:Pos[4];
- new Camera[MAX_PLAYERS] = 0;
- new Float:CameraX[MAX_PLAYERS] = 1460.0;
- new Float:CameraY[MAX_PLAYERS] = -1324.0;
- new Float:CameraZ[MAX_PLAYERS] = 287.2;
- new RegistrationStep[MAX_PLAYERS];
- new supercam;
- new
- spe
- ;
- new Hacker;
- new MeuOvo[MAX_PLAYERS];
- new Gas[CAR_AMOUNT];
- new gstring[200];
- new NoFuel[MAX_PLAYERS];
- new checkgastimer;
- new CheckPoint[MAX_PLAYERS];
- new VariosEmpregos[MAX_PLAYERS];
- new Dialog[MAX_PLAYERS];
- new InviteOffer[MAX_PLAYERS];
- new ChosenSkin[MAX_PLAYERS];
- new SelecionarCarrinha[MAX_PLAYERS];
- new SelecionarChar[MAX_PLAYERS];
- new Level[MAX_PLAYERS];
- new Pagamento[MAX_PLAYERS];
- new Text:Speed[MAX_PLAYERS];
- new bool:TextShow[MAX_PLAYERS];
- new TempoVelo;
- new AssaltarNovamente[MAX_PLAYERS] = 0;
- new ArmadeChoque[MAX_PLAYERS];
- new BaterCartao[MAX_PLAYERS];
- new JogadorImo[MAX_PLAYERS];
- new JogadorImoTempo[MAX_PLAYERS];
- new Text:Textdraw0[MAX_PLAYERS];
- new Text:Textdraw2[MAX_PLAYERS];
- new Algemado[MAX_PLAYERS];
- new
- door0, door1, door2, door3;
- new
- cell0, cell1, cell2, cell3, cell4, cell5, cell6, cell7;
- //---------[ Sequestrar ]---------//
- new Amarradoo[MAX_PLAYERS];
- new Sequestrado[MAX_PLAYERS];
- new TempoSequestrar;
- new psequestrar;
- //--------[ Barreira Gang ]-------//
- new pBarreira[MAX_PLAYERS];
- new pBarreira2[MAX_PLAYERS];
- new pBarreira3[MAX_PLAYERS];
- new pBarreira4[MAX_PLAYERS];
- new pBarreira5[MAX_PLAYERS];
- //---------[ Faixa ]----------//
- new Text:Faixa0[MAX_PLAYERS];
- new Text:Faixa1[MAX_PLAYERS];
- //••••••••••••••••••
- static Ping[MAX_PLAYERS] = 0;
- static MaxSpeed[MAX_PLAYERS] = 80;
- static Flood[MAX_PLAYERS];
- static WeaponsID[13] =
- {
- 9, 18, 26, 27,
- 32, 35, 36, 37,
- 38, 39, 40, 44,
- 45
- };
- #if USAR_SISTEMA_VIP == 1
- new CarroDono[MAX_PLAYERS];
- new Text3D:DonoCarro[MAX_PLAYERS];
- #endif
- static Ips[36][] =
- {
- ":7798",":7777",":7778",":7776",":7775",":7774",":7773",":7772",":7771",
- ":7770",":5555",":8888",":8090",":6969",":7780",":7781",":7782",":7783",
- ":7784",":7785",":7786",":7787",":7788",":7789",":7790",":7791",":7792",
- ":7793",":7794",":7795",":7796",":7797",":7798",":7799",":7800", "127."
- };
- new Mensagens[][] =
- {
- "Você faz parte do servidor, chame seus amigos para jogarem aqui :D",
- "Caso tenha dúvida chame um admin, use /relatorio",
- "Use /ajuda para conhecer os comandos.",
- "Se você for vip use /ajudavip para ver seus comandos.",
- "para ver os admins online use /admins, /helpers para ver os Helpers."
- };
- new Cores[][] = {
- "{1BE01B}",
- "{038003}",
- "{0CF50C}",
- "{F5180C}",
- "{0C8CF5}",
- "{0C2BF5}",
- "{0CBBF5}",
- "{F5F50C}",
- "{DEDE04}",
- "{FC9E05}",
- "{FFFFFF}",
- "{FF05F7}",
- "{990594}",
- "{9C9C9C}",
- "{14C9C9}",
- "{05E6AD}",
- "{E67D05}",
- "{6B6B6B}"
- };
- new vehName[][] ={
- "Landstalker","Bravura","Buffalo","Linerunner","Pereniel","Sentinel","Dumper","Firetruck","Trashmaster","Stretch","Manana","Infernus",
- "Voodoo","Pony","Mule","Cheetah","Ambulance","Leviathan","Moonbeam","Esperanto","Taxi","Washington","Bobcat","Mr Whoopee","BF Injection",
- "Hunter","Premier","Enforcer","Securicar","Banshee","Predator","Bus","Rhino","Barracks","Hotknife","Trailer","Previon","Coach","Cabbie",
- "Stallion","Rumpo","RC Bandit","Romero","Packer","Monster","Admiral","Squalo","Seasparrow","Pizzaboy","Tram","Trailer","Turismo","Speeder",
- "Reefer","Tropic","Flatbed","Yankee","Caddy","Solair","Berkley's RC Van","Skimmer","PCJ-600","Faggio","Freeway","RC Baron","RC Raider",
- "Glendale","Oceanic","Sanchez","Sparrow","Patriot","Quad","Coastguard","Dinghy","Hermes","Sabre","Rustler","ZR3 50","Walton","Regina",
- "Comet","BMX","Burrito","Camper","Marquis","Baggage","Dozer","Maverick","News Chopper","Rancher","FBI Rancher","Virgo","Greenwood",
- "Jetmax","Hotring","Sandking","Blista Compact","Police Maverick","Boxville","Benson","Mesa","RC Goblin","Hotring Racer","Hotring Racer",
- "Bloodring Banger","Rancher","Super GT","Elegant","Journey","Bike","Mountain Bike","Beagle","Cropdust","Stunt","Tanker","RoadTrain",
- "Nebula","Majestic","Buccaneer","Shamal","Hydra","FCR-900","NRG-500","HPV1000","Cement Truck","Tow Truck","Fortune","Cadrona","FBI Truck",
- "Willard","Forklift","Tractor","Combine","Feltzer","Remington","Slamvan","Blade","Freight","Streak","Vortex","Vincent","Bullet","Clover",
- "Sadler","Firetruck","Hustler","Intruder","Primo","Cargobob","Tampa","Sunrise","Merit","Utility","Nevada","Yosemite","Windsor","Monster A",
- "Monster B","Uranus","Jester","Sultan","Stratum","Elegy","Raindance","RC Tiger","Flash","Tahoma","Savanna","Bandito","Freight","Trailer",
- "Kart","Mower","Duneride","Sweeper","Broadway","Tornado","AT-400","DFT-30","Huntley","Stafford","BF-400","Newsvan","Tug","Trailer","Emperor",
- "Wayfarer","Euros","Hotdog","Club","Trailer B","Trailer C","Andromada","Dodo","RC Cam","Launch","Police Car","Police Car",
- "Police Car","Police Ranger","Picador","S.W.A.T.","Alpha","Phoenix","Glendale","Sadler","Luggage Trailer","Luggage Trailer",
- "Stair Trailer","Boxville","Farm Plow","Utility Trailer"
- };
- enum SAZONE_MAIN {
- SAZONE_NAME[28],
- Float:SAZONE_AREA[6]
- };
- static const gSAZones[][SAZONE_MAIN] = {
- // NOMES /LOCALIZAR AREA (Xmin,Ymin,Zmin,Xmax,Ymax,Zmax)
- { "'The Big Ear'", {-410.00, 1403.30, -3.00, -137.90, 1681.20, 200.00}},
- { "Aldea Malvada", {-1372.10, 2498.50, 0.00, -1277.50, 2615.30, 200.00}},
- { "Angel Pine", {-2324.90, -2584.20, -6.10, -1964.20, -2212.10, 200.00}},
- { "Arco del Oeste", {-901.10, 2221.80, 0.00, -592.00, 2571.90, 200.00}},
- { "Avispa Country Club", {-2646.40, -355.40, 0.00, -2270.00, -222.50, 200.00}},
- { "Avispa Country Club", {-2831.80, -430.20, -6.10, -2646.40, -222.50, 200.00}},
- { "Avispa Country Club", {-2361.50, -417.10, 0.00, -2270.00, -355.40, 200.00}},
- { "Avispa Country Club", {-2667.80, -302.10, -28.80, -2646.40, -262.30, 71.10}},
- { "Avispa Country Club", {-2470.00, -355.40, 0.00, -2270.00, -318.40, 46.10}},
- { "Avispa Country Club", {-2550.00, -355.40, 0.00, -2470.00, -318.40, 39.70}},
- { "Back o Beyond", {-1166.90, -2641.10, 0.00, -321.70, -1856.00, 200.00}},
- { "Battery Point", {-2741.00, 1268.40, -4.50, -2533.00, 1490.40, 200.00}},
- { "Bayside", {-2741.00, 2175.10, 0.00, -2353.10, 2722.70, 200.00}},
- { "Bayside Marina", {-2353.10, 2275.70, 0.00, -2153.10, 2475.70, 200.00}},
- { "Beacon Hill", {-399.60, -1075.50, -1.40, -319.00, -977.50, 198.50}},
- { "Blackfield", {964.30, 1203.20, -89.00, 1197.30, 1403.20, 110.90}},
- { "Blackfield", {964.30, 1403.20, -89.00, 1197.30, 1726.20, 110.90}},
- { "Blackfield Chapel", {1375.60, 596.30, -89.00, 1558.00, 823.20, 110.90}},
- { "Blackfield Chapel", {1325.60, 596.30, -89.00, 1375.60, 795.00, 110.90}},
- { "Blackfield Intersection", {1197.30, 1044.60, -89.00, 1277.00, 1163.30, 110.90}},
- { "Blackfield Intersection", {1166.50, 795.00, -89.00, 1375.60, 1044.60, 110.90}},
- { "Blackfield Intersection", {1277.00, 1044.60, -89.00, 1315.30, 1087.60, 110.90}},
- { "Blackfield Intersection", {1375.60, 823.20, -89.00, 1457.30, 919.40, 110.90}},
- { "Blueberry", {104.50, -220.10, 2.30, 349.60, 152.20, 200.00}},
- { "Blueberry", {19.60, -404.10, 3.80, 349.60, -220.10, 200.00}},
- { "Blueberry Acres", {-319.60, -220.10, 0.00, 104.50, 293.30, 200.00}},
- { "Caligula's Palace", {2087.30, 1543.20, -89.00, 2437.30, 1703.20, 110.90}},
- { "Caligula's Palace", {2137.40, 1703.20, -89.00, 2437.30, 1783.20, 110.90}},
- { "Calton Heights", {-2274.10, 744.10, -6.10, -1982.30, 1358.90, 200.00}},
- { "Chinatown", {-2274.10, 578.30, -7.60, -2078.60, 744.10, 200.00}},
- { "City Hall", {-2867.80, 277.40, -9.10, -2593.40, 458.40, 200.00}},
- { "Come-A-Lot", {2087.30, 943.20, -89.00, 2623.10, 1203.20, 110.90}},
- { "Commerce", {1323.90, -1842.20, -89.00, 1701.90, -1722.20, 110.90}},
- { "Commerce", {1323.90, -1722.20, -89.00, 1440.90, -1577.50, 110.90}},
- { "Commerce", {1370.80, -1577.50, -89.00, 1463.90, -1384.90, 110.90}},
- { "Commerce", {1463.90, -1577.50, -89.00, 1667.90, -1430.80, 110.90}},
- { "Commerce", {1583.50, -1722.20, -89.00, 1758.90, -1577.50, 110.90}},
- { "Commerce", {1667.90, -1577.50, -89.00, 1812.60, -1430.80, 110.90}},
- { "Conference Center", {1046.10, -1804.20, -89.00, 1323.90, -1722.20, 110.90}},
- { "Conference Center", {1073.20, -1842.20, -89.00, 1323.90, -1804.20, 110.90}},
- { "Cranberry Station", {-2007.80, 56.30, 0.00, -1922.00, 224.70, 100.00}},
- { "Creek", {2749.90, 1937.20, -89.00, 2921.60, 2669.70, 110.90}},
- { "Dillimore", {580.70, -674.80, -9.50, 861.00, -404.70, 200.00}},
- { "Doherty", {-2270.00, -324.10, -0.00, -1794.90, -222.50, 200.00}},
- { "Doherty", {-2173.00, -222.50, -0.00, -1794.90, 265.20, 200.00}},
- { "Downtown", {-1982.30, 744.10, -6.10, -1871.70, 1274.20, 200.00}},
- { "Downtown", {-1871.70, 1176.40, -4.50, -1620.30, 1274.20, 200.00}},
- { "Downtown", {-1700.00, 744.20, -6.10, -1580.00, 1176.50, 200.00}},
- { "Downtown", {-1580.00, 744.20, -6.10, -1499.80, 1025.90, 200.00}},
- { "Downtown", {-2078.60, 578.30, -7.60, -1499.80, 744.20, 200.00}},
- { "Downtown", {-1993.20, 265.20, -9.10, -1794.90, 578.30, 200.00}},
- { "Downtown Los Santos", {1463.90, -1430.80, -89.00, 1724.70, -1290.80, 110.90}},
- { "Downtown Los Santos", {1724.70, -1430.80, -89.00, 1812.60, -1250.90, 110.90}},
- { "Downtown Los Santos", {1463.90, -1290.80, -89.00, 1724.70, -1150.80, 110.90}},
- { "Downtown Los Santos", {1370.80, -1384.90, -89.00, 1463.90, -1170.80, 110.90}},
- { "Downtown Los Santos", {1724.70, -1250.90, -89.00, 1812.60, -1150.80, 110.90}},
- { "Downtown Los Santos", {1370.80, -1170.80, -89.00, 1463.90, -1130.80, 110.90}},
- { "Downtown Los Santos", {1378.30, -1130.80, -89.00, 1463.90, -1026.30, 110.90}},
- { "Downtown Los Santos", {1391.00, -1026.30, -89.00, 1463.90, -926.90, 110.90}},
- { "Downtown Los Santos", {1507.50, -1385.20, 110.90, 1582.50, -1325.30, 335.90}},
- { "East Beach", {2632.80, -1852.80, -89.00, 2959.30, -1668.10, 110.90}},
- { "East Beach", {2632.80, -1668.10, -89.00, 2747.70, -1393.40, 110.90}},
- { "East Beach", {2747.70, -1668.10, -89.00, 2959.30, -1498.60, 110.90}},
- { "East Beach", {2747.70, -1498.60, -89.00, 2959.30, -1120.00, 110.90}},
- { "East Los Santos", {2421.00, -1628.50, -89.00, 2632.80, -1454.30, 110.90}},
- { "East Los Santos", {2222.50, -1628.50, -89.00, 2421.00, -1494.00, 110.90}},
- { "East Los Santos", {2266.20, -1494.00, -89.00, 2381.60, -1372.00, 110.90}},
- { "East Los Santos", {2381.60, -1494.00, -89.00, 2421.00, -1454.30, 110.90}},
- { "East Los Santos", {2281.40, -1372.00, -89.00, 2381.60, -1135.00, 110.90}},
- { "East Los Santos", {2381.60, -1454.30, -89.00, 2462.10, -1135.00, 110.90}},
- { "East Los Santos", {2462.10, -1454.30, -89.00, 2581.70, -1135.00, 110.90}},
- { "Easter Basin", {-1794.90, 249.90, -9.10, -1242.90, 578.30, 200.00}},
- { "Easter Basin", {-1794.90, -50.00, -0.00, -1499.80, 249.90, 200.00}},
- { "Easter Bay Airport", {-1499.80, -50.00, -0.00, -1242.90, 249.90, 200.00}},
- { "Easter Bay Airport", {-1794.90, -730.10, -3.00, -1213.90, -50.00, 200.00}},
- { "Easter Bay Airport", {-1213.90, -730.10, 0.00, -1132.80, -50.00, 200.00}},
- { "Easter Bay Airport", {-1242.90, -50.00, 0.00, -1213.90, 578.30, 200.00}},
- { "Easter Bay Airport", {-1213.90, -50.00, -4.50, -947.90, 578.30, 200.00}},
- { "Easter Bay Airport", {-1315.40, -405.30, 15.40, -1264.40, -209.50, 25.40}},
- { "Easter Bay Airport", {-1354.30, -287.30, 15.40, -1315.40, -209.50, 25.40}},
- { "Easter Bay Airport", {-1490.30, -209.50, 15.40, -1264.40, -148.30, 25.40}},
- { "Easter Bay Chemicals", {-1132.80, -768.00, 0.00, -956.40, -578.10, 200.00}},
- { "Easter Bay Chemicals", {-1132.80, -787.30, 0.00, -956.40, -768.00, 200.00}},
- { "El Castillo del Diablo", {-464.50, 2217.60, 0.00, -208.50, 2580.30, 200.00}},
- { "El Castillo del Diablo", {-208.50, 2123.00, -7.60, 114.00, 2337.10, 200.00}},
- { "El Castillo del Diablo", {-208.50, 2337.10, 0.00, 8.40, 2487.10, 200.00}},
- { "El Corona", {1812.60, -2179.20, -89.00, 1970.60, -1852.80, 110.90}},
- { "El Corona", {1692.60, -2179.20, -89.00, 1812.60, -1842.20, 110.90}},
- { "El Quebrados", {-1645.20, 2498.50, 0.00, -1372.10, 2777.80, 200.00}},
- { "Esplanade East", {-1620.30, 1176.50, -4.50, -1580.00, 1274.20, 200.00}},
- { "Esplanade East", {-1580.00, 1025.90, -6.10, -1499.80, 1274.20, 200.00}},
- { "Esplanade East", {-1499.80, 578.30, -79.60, -1339.80, 1274.20, 20.30}},
- { "Esplanade North", {-2533.00, 1358.90, -4.50, -1996.60, 1501.20, 200.00}},
- { "Esplanade North", {-1996.60, 1358.90, -4.50, -1524.20, 1592.50, 200.00}},
- { "Esplanade North", {-1982.30, 1274.20, -4.50, -1524.20, 1358.90, 200.00}},
- { "Fallen Tree", {-792.20, -698.50, -5.30, -452.40, -380.00, 200.00}},
- { "Fallow Bridge", {434.30, 366.50, 0.00, 603.00, 555.60, 200.00}},
- { "Fern Ridge", {508.10, -139.20, 0.00, 1306.60, 119.50, 200.00}},
- { "Financial", {-1871.70, 744.10, -6.10, -1701.30, 1176.40, 300.00}},
- { "Fisher's Lagoon", {1916.90, -233.30, -100.00, 2131.70, 13.80, 200.00}},
- { "Flint Intersection", {-187.70, -1596.70, -89.00, 17.00, -1276.60, 110.90}},
- { "Flint Range", {-594.10, -1648.50, 0.00, -187.70, -1276.60, 200.00}},
- { "Fort Carson", {-376.20, 826.30, -3.00, 123.70, 1220.40, 200.00}},
- { "Foster Valley", {-2270.00, -430.20, -0.00, -2178.60, -324.10, 200.00}},
- { "Foster Valley", {-2178.60, -599.80, -0.00, -1794.90, -324.10, 200.00}},
- { "Foster Valley", {-2178.60, -1115.50, 0.00, -1794.90, -599.80, 200.00}},
- { "Foster Valley", {-2178.60, -1250.90, 0.00, -1794.90, -1115.50, 200.00}},
- { "Frederick Bridge", {2759.20, 296.50, 0.00, 2774.20, 594.70, 200.00}},
- { "Gant Bridge", {-2741.40, 1659.60, -6.10, -2616.40, 2175.10, 200.00}},
- { "Gant Bridge", {-2741.00, 1490.40, -6.10, -2616.40, 1659.60, 200.00}},
- { "Ganton", {2222.50, -1852.80, -89.00, 2632.80, -1722.30, 110.90}},
- { "Ganton", {2222.50, -1722.30, -89.00, 2632.80, -1628.50, 110.90}},
- { "Garcia", {-2411.20, -222.50, -0.00, -2173.00, 265.20, 200.00}},
- { "Garcia", {-2395.10, -222.50, -5.30, -2354.00, -204.70, 200.00}},
- { "Garver Bridge", {-1339.80, 828.10, -89.00, -1213.90, 1057.00, 110.90}},
- { "Garver Bridge", {-1213.90, 950.00, -89.00, -1087.90, 1178.90, 110.90}},
- { "Garver Bridge", {-1499.80, 696.40, -179.60, -1339.80, 925.30, 20.30}},
- { "Glen Park", {1812.60, -1449.60, -89.00, 1996.90, -1350.70, 110.90}},
- { "Glen Park", {1812.60, -1100.80, -89.00, 1994.30, -973.30, 110.90}},
- { "Glen Park", {1812.60, -1350.70, -89.00, 2056.80, -1100.80, 110.90}},
- { "Green Palms", {176.50, 1305.40, -3.00, 338.60, 1520.70, 200.00}},
- { "Greenglass College", {964.30, 1044.60, -89.00, 1197.30, 1203.20, 110.90}},
- { "Greenglass College", {964.30, 930.80, -89.00, 1166.50, 1044.60, 110.90}},
- { "Hampton Barns", {603.00, 264.30, 0.00, 761.90, 366.50, 200.00}},
- { "Hankypanky Point", {2576.90, 62.10, 0.00, 2759.20, 385.50, 200.00}},
- { "Harry Gold Parkway", {1777.30, 863.20, -89.00, 1817.30, 2342.80, 110.90}},
- { "Hashbury", {-2593.40, -222.50, -0.00, -2411.20, 54.70, 200.00}},
- { "Hilltop Farm", {967.30, -450.30, -3.00, 1176.70, -217.90, 200.00}},
- { "Hunter Quarry", {337.20, 710.80, -115.20, 860.50, 1031.70, 203.70}},
- { "Idlewood", {1812.60, -1852.80, -89.00, 1971.60, -1742.30, 110.90}},
- { "Idlewood", {1812.60, -1742.30, -89.00, 1951.60, -1602.30, 110.90}},
- { "Idlewood", {1951.60, -1742.30, -89.00, 2124.60, -1602.30, 110.90}},
- { "Idlewood", {1812.60, -1602.30, -89.00, 2124.60, -1449.60, 110.90}},
- { "Idlewood", {2124.60, -1742.30, -89.00, 2222.50, -1494.00, 110.90}},
- { "Idlewood", {1971.60, -1852.80, -89.00, 2222.50, -1742.30, 110.90}},
- { "Jefferson", {1996.90, -1449.60, -89.00, 2056.80, -1350.70, 110.90}},
- { "Jefferson", {2124.60, -1494.00, -89.00, 2266.20, -1449.60, 110.90}},
- { "Jefferson", {2056.80, -1372.00, -89.00, 2281.40, -1210.70, 110.90}},
- { "Jefferson", {2056.80, -1210.70, -89.00, 2185.30, -1126.30, 110.90}},
- { "Jefferson", {2185.30, -1210.70, -89.00, 2281.40, -1154.50, 110.90}},
- { "Jefferson", {2056.80, -1449.60, -89.00, 2266.20, -1372.00, 110.90}},
- { "Julius Thruway East", {2623.10, 943.20, -89.00, 2749.90, 1055.90, 110.90}},
- { "Julius Thruway East", {2685.10, 1055.90, -89.00, 2749.90, 2626.50, 110.90}},
- { "Julius Thruway East", {2536.40, 2442.50, -89.00, 2685.10, 2542.50, 110.90}},
- { "Julius Thruway East", {2625.10, 2202.70, -89.00, 2685.10, 2442.50, 110.90}},
- { "Julius Thruway North", {2498.20, 2542.50, -89.00, 2685.10, 2626.50, 110.90}},
- { "Julius Thruway North", {2237.40, 2542.50, -89.00, 2498.20, 2663.10, 110.90}},
- { "Julius Thruway North", {2121.40, 2508.20, -89.00, 2237.40, 2663.10, 110.90}},
- { "Julius Thruway North", {1938.80, 2508.20, -89.00, 2121.40, 2624.20, 110.90}},
- { "Julius Thruway North", {1534.50, 2433.20, -89.00, 1848.40, 2583.20, 110.90}},
- { "Julius Thruway North", {1848.40, 2478.40, -89.00, 1938.80, 2553.40, 110.90}},
- { "Julius Thruway North", {1704.50, 2342.80, -89.00, 1848.40, 2433.20, 110.90}},
- { "Julius Thruway North", {1377.30, 2433.20, -89.00, 1534.50, 2507.20, 110.90}},
- { "Julius Thruway South", {1457.30, 823.20, -89.00, 2377.30, 863.20, 110.90}},
- { "Julius Thruway South", {2377.30, 788.80, -89.00, 2537.30, 897.90, 110.90}},
- { "Julius Thruway West", {1197.30, 1163.30, -89.00, 1236.60, 2243.20, 110.90}},
- { "Julius Thruway West", {1236.60, 2142.80, -89.00, 1297.40, 2243.20, 110.90}},
- { "Juniper Hill", {-2533.00, 578.30, -7.60, -2274.10, 968.30, 200.00}},
- { "Juniper Hollow", {-2533.00, 968.30, -6.10, -2274.10, 1358.90, 200.00}},
- { "K.A.C.C. Military Fuels", {2498.20, 2626.50, -89.00, 2749.90, 2861.50, 110.90}},
- { "Kincaid Bridge", {-1339.80, 599.20, -89.00, -1213.90, 828.10, 110.90}},
- { "Kincaid Bridge", {-1213.90, 721.10, -89.00, -1087.90, 950.00, 110.90}},
- { "Kincaid Bridge", {-1087.90, 855.30, -89.00, -961.90, 986.20, 110.90}},
- { "King's", {-2329.30, 458.40, -7.60, -1993.20, 578.30, 200.00}},
- { "King's", {-2411.20, 265.20, -9.10, -1993.20, 373.50, 200.00}},
- { "King's", {-2253.50, 373.50, -9.10, -1993.20, 458.40, 200.00}},
- { "LVA Freight Depot", {1457.30, 863.20, -89.00, 1777.40, 1143.20, 110.90}},
- { "LVA Freight Depot", {1375.60, 919.40, -89.00, 1457.30, 1203.20, 110.90}},
- { "LVA Freight Depot", {1277.00, 1087.60, -89.00, 1375.60, 1203.20, 110.90}},
- { "LVA Freight Depot", {1315.30, 1044.60, -89.00, 1375.60, 1087.60, 110.90}},
- { "LVA Freight Depot", {1236.60, 1163.40, -89.00, 1277.00, 1203.20, 110.90}},
- { "Las Barrancas", {-926.10, 1398.70, -3.00, -719.20, 1634.60, 200.00}},
- { "Las Brujas", {-365.10, 2123.00, -3.00, -208.50, 2217.60, 200.00}},
- { "Las Colinas", {1994.30, -1100.80, -89.00, 2056.80, -920.80, 110.90}},
- { "Las Colinas", {2056.80, -1126.30, -89.00, 2126.80, -920.80, 110.90}},
- { "Las Colinas", {2185.30, -1154.50, -89.00, 2281.40, -934.40, 110.90}},
- { "Las Colinas", {2126.80, -1126.30, -89.00, 2185.30, -934.40, 110.90}},
- { "Las Colinas", {2747.70, -1120.00, -89.00, 2959.30, -945.00, 110.90}},
- { "Las Colinas", {2632.70, -1135.00, -89.00, 2747.70, -945.00, 110.90}},
- { "Las Colinas", {2281.40, -1135.00, -89.00, 2632.70, -945.00, 110.90}},
- { "Las Payasadas", {-354.30, 2580.30, 2.00, -133.60, 2816.80, 200.00}},
- { "Las Venturas Airport", {1236.60, 1203.20, -89.00, 1457.30, 1883.10, 110.90}},
- { "Las Venturas Airport", {1457.30, 1203.20, -89.00, 1777.30, 1883.10, 110.90}},
- { "Las Venturas Airport", {1457.30, 1143.20, -89.00, 1777.40, 1203.20, 110.90}},
- { "Las Venturas Airport", {1515.80, 1586.40, -12.50, 1729.90, 1714.50, 87.50}},
- { "Last Dime Motel", {1823.00, 596.30, -89.00, 1997.20, 823.20, 110.90}},
- { "Leafy Hollow", {-1166.90, -1856.00, 0.00, -815.60, -1602.00, 200.00}},
- { "Lil' Probe Inn", {-90.20, 1286.80, -3.00, 153.80, 1554.10, 200.00}},
- { "Linden Side", {2749.90, 943.20, -89.00, 2923.30, 1198.90, 110.90}},
- { "Linden Station", {2749.90, 1198.90, -89.00, 2923.30, 1548.90, 110.90}},
- { "Linden Station", {2811.20, 1229.50, -39.50, 2861.20, 1407.50, 60.40}},
- { "Little Mexico", {1701.90, -1842.20, -89.00, 1812.60, -1722.20, 110.90}},
- { "Little Mexico", {1758.90, -1722.20, -89.00, 1812.60, -1577.50, 110.90}},
- { "Los Flores", {2581.70, -1454.30, -89.00, 2632.80, -1393.40, 110.90}},
- { "Los Flores", {2581.70, -1393.40, -89.00, 2747.70, -1135.00, 110.90}},
- { "Los Santos International", {1249.60, -2394.30, -89.00, 1852.00, -2179.20, 110.90}},
- { "Los Santos International", {1852.00, -2394.30, -89.00, 2089.00, -2179.20, 110.90}},
- { "Los Santos International", {1382.70, -2730.80, -89.00, 2201.80, -2394.30, 110.90}},
- { "Los Santos International", {1974.60, -2394.30, -39.00, 2089.00, -2256.50, 60.90}},
- { "Los Santos International", {1400.90, -2669.20, -39.00, 2189.80, -2597.20, 60.90}},
- { "Los Santos International", {2051.60, -2597.20, -39.00, 2152.40, -2394.30, 60.90}},
- { "Marina", {647.70, -1804.20, -89.00, 851.40, -1577.50, 110.90}},
- { "Marina", {647.70, -1577.50, -89.00, 807.90, -1416.20, 110.90}},
- { "Marina", {807.90, -1577.50, -89.00, 926.90, -1416.20, 110.90}},
- { "Market", {787.40, -1416.20, -89.00, 1072.60, -1310.20, 110.90}},
- { "Market", {952.60, -1310.20, -89.00, 1072.60, -1130.80, 110.90}},
- { "Market", {1072.60, -1416.20, -89.00, 1370.80, -1130.80, 110.90}},
- { "Market", {926.90, -1577.50, -89.00, 1370.80, -1416.20, 110.90}},
- { "Market Station", {787.40, -1410.90, -34.10, 866.00, -1310.20, 65.80}},
- { "Martin Bridge", {-222.10, 293.30, 0.00, -122.10, 476.40, 200.00}},
- { "Missionary Hill", {-2994.40, -811.20, 0.00, -2178.60, -430.20, 200.00}},
- { "Montgomery", {1119.50, 119.50, -3.00, 1451.40, 493.30, 200.00}},
- { "Montgomery", {1451.40, 347.40, -6.10, 1582.40, 420.80, 200.00}},
- { "Montgomery Intersection", {1546.60, 208.10, 0.00, 1745.80, 347.40, 200.00}},
- { "Montgomery Intersection", {1582.40, 347.40, 0.00, 1664.60, 401.70, 200.00}},
- { "Mulholland", {1414.00, -768.00, -89.00, 1667.60, -452.40, 110.90}},
- { "Mulholland", {1281.10, -452.40, -89.00, 1641.10, -290.90, 110.90}},
- { "Mulholland", {1269.10, -768.00, -89.00, 1414.00, -452.40, 110.90}},
- { "Mulholland", {1357.00, -926.90, -89.00, 1463.90, -768.00, 110.90}},
- { "Mulholland", {1318.10, -910.10, -89.00, 1357.00, -768.00, 110.90}},
- { "Mulholland", {1169.10, -910.10, -89.00, 1318.10, -768.00, 110.90}},
- { "Mulholland", {768.60, -954.60, -89.00, 952.60, -860.60, 110.90}},
- { "Mulholland", {687.80, -860.60, -89.00, 911.80, -768.00, 110.90}},
- { "Mulholland", {737.50, -768.00, -89.00, 1142.20, -674.80, 110.90}},
- { "Mulholland", {1096.40, -910.10, -89.00, 1169.10, -768.00, 110.90}},
- { "Mulholland", {952.60, -937.10, -89.00, 1096.40, -860.60, 110.90}},
- { "Mulholland", {911.80, -860.60, -89.00, 1096.40, -768.00, 110.90}},
- { "Mulholland", {861.00, -674.80, -89.00, 1156.50, -600.80, 110.90}},
- { "Mulholland Intersection", {1463.90, -1150.80, -89.00, 1812.60, -768.00, 110.90}},
- { "North Rock", {2285.30, -768.00, 0.00, 2770.50, -269.70, 200.00}},
- { "Ocean Docks", {2373.70, -2697.00, -89.00, 2809.20, -2330.40, 110.90}},
- { "Ocean Docks", {2201.80, -2418.30, -89.00, 2324.00, -2095.00, 110.90}},
- { "Ocean Docks", {2324.00, -2302.30, -89.00, 2703.50, -2145.10, 110.90}},
- { "Ocean Docks", {2089.00, -2394.30, -89.00, 2201.80, -2235.80, 110.90}},
- { "Ocean Docks", {2201.80, -2730.80, -89.00, 2324.00, -2418.30, 110.90}},
- { "Ocean Docks", {2703.50, -2302.30, -89.00, 2959.30, -2126.90, 110.90}},
- { "Ocean Docks", {2324.00, -2145.10, -89.00, 2703.50, -2059.20, 110.90}},
- { "Ocean Flats", {-2994.40, 277.40, -9.10, -2867.80, 458.40, 200.00}},
- { "Ocean Flats", {-2994.40, -222.50, -0.00, -2593.40, 277.40, 200.00}},
- { "Ocean Flats", {-2994.40, -430.20, -0.00, -2831.80, -222.50, 200.00}},
- { "Octane Springs", {338.60, 1228.50, 0.00, 664.30, 1655.00, 200.00}},
- { "Old Venturas Strip", {2162.30, 2012.10, -89.00, 2685.10, 2202.70, 110.90}},
- { "Palisades", {-2994.40, 458.40, -6.10, -2741.00, 1339.60, 200.00}},
- { "Palomino Creek", {2160.20, -149.00, 0.00, 2576.90, 228.30, 200.00}},
- { "Paradiso", {-2741.00, 793.40, -6.10, -2533.00, 1268.40, 200.00}},
- { "Pershing Square", {1440.90, -1722.20, -89.00, 1583.50, -1577.50, 110.90}},
- { "Pilgrim", {2437.30, 1383.20, -89.00, 2624.40, 1783.20, 110.90}},
- { "Pilgrim", {2624.40, 1383.20, -89.00, 2685.10, 1783.20, 110.90}},
- { "Pilson Intersection", {1098.30, 2243.20, -89.00, 1377.30, 2507.20, 110.90}},
- { "Pirates in Men's Pants", {1817.30, 1469.20, -89.00, 2027.40, 1703.20, 110.90}},
- { "Playa del Seville", {2703.50, -2126.90, -89.00, 2959.30, -1852.80, 110.90}},
- { "Prickle Pine", {1534.50, 2583.20, -89.00, 1848.40, 2863.20, 110.90}},
- { "Prickle Pine", {1117.40, 2507.20, -89.00, 1534.50, 2723.20, 110.90}},
- { "Prickle Pine", {1848.40, 2553.40, -89.00, 1938.80, 2863.20, 110.90}},
- { "Prickle Pine", {1938.80, 2624.20, -89.00, 2121.40, 2861.50, 110.90}},
- { "Queens", {-2533.00, 458.40, 0.00, -2329.30, 578.30, 200.00}},
- { "Queens", {-2593.40, 54.70, 0.00, -2411.20, 458.40, 200.00}},
- { "Queens", {-2411.20, 373.50, 0.00, -2253.50, 458.40, 200.00}},
- { "Randolph Industrial Estate", {1558.00, 596.30, -89.00, 1823.00, 823.20, 110.90}},
- { "Redsands East", {1817.30, 2011.80, -89.00, 2106.70, 2202.70, 110.90}},
- { "Redsands East", {1817.30, 2202.70, -89.00, 2011.90, 2342.80, 110.90}},
- { "Redsands East", {1848.40, 2342.80, -89.00, 2011.90, 2478.40, 110.90}},
- { "Redsands West", {1236.60, 1883.10, -89.00, 1777.30, 2142.80, 110.90}},
- { "Redsands West", {1297.40, 2142.80, -89.00, 1777.30, 2243.20, 110.90}},
- { "Redsands West", {1377.30, 2243.20, -89.00, 1704.50, 2433.20, 110.90}},
- { "Redsands West", {1704.50, 2243.20, -89.00, 1777.30, 2342.80, 110.90}},
- { "Regular Tom", {-405.70, 1712.80, -3.00, -276.70, 1892.70, 200.00}},
- { "Richman", {647.50, -1118.20, -89.00, 787.40, -954.60, 110.90}},
- { "Richman", {647.50, -954.60, -89.00, 768.60, -860.60, 110.90}},
- { "Richman", {225.10, -1369.60, -89.00, 334.50, -1292.00, 110.90}},
- { "Richman", {225.10, -1292.00, -89.00, 466.20, -1235.00, 110.90}},
- { "Richman", {72.60, -1404.90, -89.00, 225.10, -1235.00, 110.90}},
- { "Richman", {72.60, -1235.00, -89.00, 321.30, -1008.10, 110.90}},
- { "Richman", {321.30, -1235.00, -89.00, 647.50, -1044.00, 110.90}},
- { "Richman", {321.30, -1044.00, -89.00, 647.50, -860.60, 110.90}},
- { "Richman", {321.30, -860.60, -89.00, 687.80, -768.00, 110.90}},
- { "Richman", {321.30, -768.00, -89.00, 700.70, -674.80, 110.90}},
- { "Robada Intersection", {-1119.00, 1178.90, -89.00, -862.00, 1351.40, 110.90}},
- { "Roca Escalante", {2237.40, 2202.70, -89.00, 2536.40, 2542.50, 110.90}},
- { "Roca Escalante", {2536.40, 2202.70, -89.00, 2625.10, 2442.50, 110.90}},
- { "Rockshore East", {2537.30, 676.50, -89.00, 2902.30, 943.20, 110.90}},
- { "Rockshore West", {1997.20, 596.30, -89.00, 2377.30, 823.20, 110.90}},
- { "Rockshore West", {2377.30, 596.30, -89.00, 2537.30, 788.80, 110.90}},
- { "Rodeo", {72.60, -1684.60, -89.00, 225.10, -1544.10, 110.90}},
- { "Rodeo", {72.60, -1544.10, -89.00, 225.10, -1404.90, 110.90}},
- { "Rodeo", {225.10, -1684.60, -89.00, 312.80, -1501.90, 110.90}},
- { "Rodeo", {225.10, -1501.90, -89.00, 334.50, -1369.60, 110.90}},
- { "Rodeo", {334.50, -1501.90, -89.00, 422.60, -1406.00, 110.90}},
- { "Rodeo", {312.80, -1684.60, -89.00, 422.60, -1501.90, 110.90}},
- { "Rodeo", {422.60, -1684.60, -89.00, 558.00, -1570.20, 110.90}},
- { "Rodeo", {558.00, -1684.60, -89.00, 647.50, -1384.90, 110.90}},
- { "Rodeo", {466.20, -1570.20, -89.00, 558.00, -1385.00, 110.90}},
- { "Rodeo", {422.60, -1570.20, -89.00, 466.20, -1406.00, 110.90}},
- { "Rodeo", {466.20, -1385.00, -89.00, 647.50, -1235.00, 110.90}},
- { "Rodeo", {334.50, -1406.00, -89.00, 466.20, -1292.00, 110.90}},
- { "Royal Casino", {2087.30, 1383.20, -89.00, 2437.30, 1543.20, 110.90}},
- { "San Andreas Sound", {2450.30, 385.50, -100.00, 2759.20, 562.30, 200.00}},
- { "Santa Flora", {-2741.00, 458.40, -7.60, -2533.00, 793.40, 200.00}},
- { "Santa Maria Beach", {342.60, -2173.20, -89.00, 647.70, -1684.60, 110.90}},
- { "Santa Maria Beach", {72.60, -2173.20, -89.00, 342.60, -1684.60, 110.90}},
- { "Shady Cabin", {-1632.80, -2263.40, -3.00, -1601.30, -2231.70, 200.00}},
- { "Shady Creeks", {-1820.60, -2643.60, -8.00, -1226.70, -1771.60, 200.00}},
- { "Shady Creeks", {-2030.10, -2174.80, -6.10, -1820.60, -1771.60, 200.00}},
- { "Sobell Rail Yards", {2749.90, 1548.90, -89.00, 2923.30, 1937.20, 110.90}},
- { "Spinybed", {2121.40, 2663.10, -89.00, 2498.20, 2861.50, 110.90}},
- { "Starfish Casino", {2437.30, 1783.20, -89.00, 2685.10, 2012.10, 110.90}},
- { "Starfish Casino", {2437.30, 1858.10, -39.00, 2495.00, 1970.80, 60.90}},
- { "Starfish Casino", {2162.30, 1883.20, -89.00, 2437.30, 2012.10, 110.90}},
- { "Temple", {1252.30, -1130.80, -89.00, 1378.30, -1026.30, 110.90}},
- { "Temple", {1252.30, -1026.30, -89.00, 1391.00, -926.90, 110.90}},
- { "Temple", {1252.30, -926.90, -89.00, 1357.00, -910.10, 110.90}},
- { "Temple", {952.60, -1130.80, -89.00, 1096.40, -937.10, 110.90}},
- { "Temple", {1096.40, -1130.80, -89.00, 1252.30, -1026.30, 110.90}},
- { "Temple", {1096.40, -1026.30, -89.00, 1252.30, -910.10, 110.90}},
- { "The Camel's Toe", {2087.30, 1203.20, -89.00, 2640.40, 1383.20, 110.90}},
- { "The Clown's Pocket", {2162.30, 1783.20, -89.00, 2437.30, 1883.20, 110.90}},
- { "The Emerald Isle", {2011.90, 2202.70, -89.00, 2237.40, 2508.20, 110.90}},
- { "The Farm", {-1209.60, -1317.10, 114.90, -908.10, -787.30, 251.90}},
- { "The Four Dragons Casino", {1817.30, 863.20, -89.00, 2027.30, 1083.20, 110.90}},
- { "The High Roller", {1817.30, 1283.20, -89.00, 2027.30, 1469.20, 110.90}},
- { "The Mako Span", {1664.60, 401.70, 0.00, 1785.10, 567.20, 200.00}},
- { "The Panopticon", {-947.90, -304.30, -1.10, -319.60, 327.00, 200.00}},
- { "The Pink Swan", {1817.30, 1083.20, -89.00, 2027.30, 1283.20, 110.90}},
- { "The Sherman Dam", {-968.70, 1929.40, -3.00, -481.10, 2155.20, 200.00}},
- { "The Strip", {2027.40, 863.20, -89.00, 2087.30, 1703.20, 110.90}},
- { "The Strip", {2106.70, 1863.20, -89.00, 2162.30, 2202.70, 110.90}},
- { "The Strip", {2027.40, 1783.20, -89.00, 2162.30, 1863.20, 110.90}},
- { "The Strip", {2027.40, 1703.20, -89.00, 2137.40, 1783.20, 110.90}},
- { "The Visage", {1817.30, 1863.20, -89.00, 2106.70, 2011.80, 110.90}},
- { "The Visage", {1817.30, 1703.20, -89.00, 2027.40, 1863.20, 110.90}},
- { "Unity Station", {1692.60, -1971.80, -20.40, 1812.60, -1932.80, 79.50}},
- { "Valle Ocultado", {-936.60, 2611.40, 2.00, -715.90, 2847.90, 200.00}},
- { "Verdant Bluffs", {930.20, -2488.40, -89.00, 1249.60, -2006.70, 110.90}},
- { "Verdant Bluffs", {1073.20, -2006.70, -89.00, 1249.60, -1842.20, 110.90}},
- { "Verdant Bluffs", {1249.60, -2179.20, -89.00, 1692.60, -1842.20, 110.90}},
- { "Verdant Meadows", {37.00, 2337.10, -3.00, 435.90, 2677.90, 200.00}},
- { "Verona Beach", {647.70, -2173.20, -89.00, 930.20, -1804.20, 110.90}},
- { "Verona Beach", {930.20, -2006.70, -89.00, 1073.20, -1804.20, 110.90}},
- { "Verona Beach", {851.40, -1804.20, -89.00, 1046.10, -1577.50, 110.90}},
- { "Verona Beach", {1161.50, -1722.20, -89.00, 1323.90, -1577.50, 110.90}},
- { "Verona Beach", {1046.10, -1722.20, -89.00, 1161.50, -1577.50, 110.90}},
- { "Vinewood", {787.40, -1310.20, -89.00, 952.60, -1130.80, 110.90}},
- { "Vinewood", {787.40, -1130.80, -89.00, 952.60, -954.60, 110.90}},
- { "Vinewood", {647.50, -1227.20, -89.00, 787.40, -1118.20, 110.90}},
- { "Vinewood", {647.70, -1416.20, -89.00, 787.40, -1227.20, 110.90}},
- { "Whitewood Estates", {883.30, 1726.20, -89.00, 1098.30, 2507.20, 110.90}},
- { "Whitewood Estates", {1098.30, 1726.20, -89.00, 1197.30, 2243.20, 110.90}},
- { "Willowfield", {1970.60, -2179.20, -89.00, 2089.00, -1852.80, 110.90}},
- { "Willowfield", {2089.00, -2235.80, -89.00, 2201.80, -1989.90, 110.90}},
- { "Willowfield", {2089.00, -1989.90, -89.00, 2324.00, -1852.80, 110.90}},
- { "Willowfield", {2201.80, -2095.00, -89.00, 2324.00, -1989.90, 110.90}},
- { "Willowfield", {2541.70, -1941.40, -89.00, 2703.50, -1852.80, 110.90}},
- { "Willowfield", {2324.00, -2059.20, -89.00, 2541.70, -1852.80, 110.90}},
- { "Willowfield", {2541.70, -2059.20, -89.00, 2703.50, -1941.40, 110.90}},
- { "Yellow Bell Station", {1377.40, 2600.40, -21.90, 1492.40, 2687.30, 78.00}},
- // Main Zones
- { "Los Santos", {44.60, -2892.90, -242.90, 2997.00, -768.00, 900.00}},
- { "Las Venturas", {869.40, 596.30, -242.90, 2997.00, 2993.80, 900.00}},
- { "Bone County", {-480.50, 596.30, -242.90, 869.40, 2993.80, 900.00}},
- { "Tierra Robada", {-2997.40, 1659.60, -242.90, -480.50, 2993.80, 900.00}},
- { "Tierra Robada", {-1213.90, 596.30, -242.90, -480.50, 1659.60, 900.00}},
- { "San Fierro", {-2997.40, -1115.50, -242.90, -1213.90, 1659.60, 900.00}},
- { "Red County", {-1213.90, -768.00, -242.90, 2997.00, 596.30, 900.00}},
- { "Flint County", {-1213.90, -2892.90, -242.90, 44.60, -768.00, 900.00}},
- { "Whetstone", {-2997.40, -2892.90, -242.90, -1213.90, -1115.50, 900.00}}
- };
- #if USAR_TEXT == 1
- new Text:Inicio[MAX_PLAYERS];
- #endif
- public OnGameModeInit()
- {
- DisableInteriorEnterExits();
- ShowPlayerMarkers(0);
- LimitGlobalChatRadius(100.0);
- LoadBancoDasOrgs();
- for(new c=0;c<CAR_AMOUNT;c++)
- {
- Gas[c] = GasMax;
- }
- //-------------------[ Iniciando Servidor ]-----------------//
- UsePlayerPedAnims();
- new scriptmodestr[128];
- format(scriptmodestr, 128, "gamemodetext %s", Life_MODO);
- SendRconCommand(scriptmodestr);
- new scripthoststr[128];
- format(scripthoststr, 128, "hostname %s", Life_NOME);
- SendRconCommand(scripthoststr);
- new scriptmapnstr[128];
- format(scriptmapnstr, 128, "mapname %s", Life_MAPA);
- SendRconCommand(scriptmapnstr);
- //-----------------[ Pickup's ]------------------//
- AddStaticPickup(1241,23,1004.0070,-939.3102,42.1797);//Abastecer
- AddStaticPickup(1241,23,1944.3260,-1772.9254,13.3906);//Abastecer
- AddStaticPickup(1241,23,1400.6882,-1680.5344,42.4339);//Abastecer
- AddStaticPickup(1241,23,1496.5316,-1544.0677,23.5481);//Abastecer
- AddStaticPickup(1241,23,2737.3364,-1774.2123,43.7973);//Abastecer
- AddStaticPickup(1241,23,-90.5515,-1169.4578,2.4079);//Abastecer
- AddStaticPickup(1241,23,-1609.7958,-2718.2048,48.5391);//Abastecer
- AddStaticPickup(1241,23,1084.6238,-1743.4821,13.5060);//Abastecer
- AddStaticPickup(19130,23,1481.2853,-1773.7563,15.3478);//Prefeitura - Entrada
- AddStaticPickup(19130,23,390.2158,173.8144,1008.3828);//Prefeitura - Saida
- AddStaticPickup(1239,23,362.0684,173.7495,1008.3828);//Prefeitura - Empregos
- AddStaticPickup(19130,23,1411.5503,-1699.5452,13.5395);//Centro de Licencas - Entrada
- AddStaticPickup(19130,23,1494.3234,1303.7670,1093.2891);//Centro de Licencas - Saida
- AddStaticPickup(1277,23,1490.2838,1305.7998,1093.2964);//Licenças
- AddStaticPickup(19130,23,2000.0389,-1114.0559,27.1250);//Ballas - Entrada
- AddStaticPickup(19130,23,318.5668,1114.5471,1083.8828);//Ballas - Saída
- AddStaticPickup(1242,23,325.4386,1124.4393,1083.8828);//Cofre Ballas
- AddStaticPickup(1247,23,1555.3458,-1675.6226,16.1953);//Policia Militar - Entrada
- AddStaticPickup(19130,23,1474.7803,-1749.2869,3285.2859);//Policia Militar - Saída
- AddStaticPickup(1242,23,1485.4672,-1767.0776,3285.2859);//BaterCartao - Policia Militar
- AddStaticPickup(19130,23,1485.4020,-1760.5070,3285.2859);// Ficha - Policia Militar
- //-------------[ Os Create3DTextLabel ]-------------//
- Create3DTextLabel("{FFFFFF}Posto de Gasolina\nAperta {00FFCC}'Caps Lock' {FFFFFF}para Abastecer",BRANCO,1004.0070,-939.3102,42.1797,15,0);//Abastecer
- Create3DTextLabel("{FFFFFF}Posto de Gasolina\nAperta {00FFCC}'Caps Lock' {FFFFFF}para Abastecer",BRANCO,1944.3260,-1772.9254,13.3906,15,0);//Abastecer
- Create3DTextLabel("{FFFFFF}Posto de Gasolina\nAperta {00FFCC}'Caps Lock' {FFFFFF}para Abastecer",BRANCO,1400.6882,-1680.5344,42.4339,15,0);//Abastecer
- Create3DTextLabel("{FFFFFF}Posto de Gasolina\nAperta {00FFCC}'Caps Lock' {FFFFFF}para Abastecer",BRANCO,1496.5316,-1544.0677,23.5481,15,0);//Abastecer
- Create3DTextLabel("{FFFFFF}Posto de Gasolina\nAperta {00FFCC}'Caps Lock' {FFFFFF}para Abastecer",BRANCO,2737.3364,-1774.2123,43.7973,15,0);//Abastecer
- Create3DTextLabel("{FFFFFF}Posto de Gasolina\nAperta {00FFCC}'Caps Lock' {FFFFFF}para Abastecer",BRANCO,-90.5515,-1169.4578,2.4079,15,0);//Abastecer
- Create3DTextLabel("{FFFFFF}Posto de Gasolina\nAperta {00FFCC}'Caps Lock' {FFFFFF}para Abastecer",BRANCO,-1609.7958,-2718.2048,48.5391,15,0);//Abastecer
- Create3DTextLabel("{FFFFFF}Posto de Gasolina\nAperta {00FFCC}'Caps Lock' {FFFFFF}para Abastecer",BRANCO,1084.6238,-1743.4821,13.5060,15,0);//Abastecer
- Create3DTextLabel("{FFFFFF}Prefeitura de LS\nAperte {00FFFF}'F' {FFFFFF}para Entrar",BRANCO,1481.2853,-1773.7563,15.3478,20,0);//Prefeitura
- Create3DTextLabel("{FFFFFF}Empregos\nAperte {00FFFF}'F' {FFFFFF}Para pegar Emprego",BRANCO,362.0684,173.7495,1008.3828,20,0);//Prefeitura - Empregos
- Create3DTextLabel("{FFFFFF}Centro de Licenças\nAperte {00FFFF}'F' {FFFFFF}para Entrar",BRANCO,1411.5503,-1699.5452,13.5395,15,0);//Centro de Licencas - Entrada
- Create3DTextLabel("{FFFFFF}Licenças\nAperte {00FFFF}'F' {FFFFFF}Para pegar Licenças",BRANCO,1490.2838,1305.7998,1093.2964,15,0);//Pegar Licencas
- Create3DTextLabel("{FFFFFF}HQ Ballas\nAperte {00FFFF}'F' {FFFFFF}Para Entrar",BRANCO,2000.0389,-1114.0559,27.1250,15,0);//Ballas - Entrada
- Create3DTextLabel("{FFFFFF}Cofre dos Ballas\nAperte {00FFFF}'F' {FFFFFF}Para Ver",BRANCO,325.4386,1124.4393,1083.8828,15,0);//Cofre dos Ballas
- Create3DTextLabel("{FFFFFF}HQ Policia Militar\nAperte {00FFFF}'F' {FFFFFF}Para Entrar",BRANCO,1555.3458,-1675.6226,16.1953,15,0);//Policia Militar - Entrada
- Create3DTextLabel("{FFFFFF}Bater Cartao P.M.\nAperte {00FFFF}'/batercartao' {FFFFFF}Para BaterCartao",BRANCO,1485.4672,-1767.0776,3285.2859,10,0);//Policia Militar - BaterCartao
- Create3DTextLabel("{FFFFFF}• Ficha •\nEscreva {00FFFF}'/ficha' {FFFFFF}Pra ver a Ficha do Player",BRANCO,1485.4020,-1760.5070,3285.2859,10,0);//Policia Militar - Ficha
- //--------------[ Veiculos dos Ballas ]------------//
- BALLAS[0] = CreateVehicle(566,1999.40002441,-1120.90002441,26.70000076,0.00000000,115,1,600000);
- BALLAS[1] = CreateVehicle(487,2004.40002441,-1109.30004883,34.40000153,180.00000000,115,-1,600000);
- BALLAS[2] = CreateVehicle(413,2013.00000000,-1120.09997559,26.39999962,178.00000000,115,115,600000);
- BALLAS[3] = CreateVehicle(560,2004.00000000,-1121.40002441,26.50000000,0.00000000,115,1,600000);
- BALLAS[4] = CreateVehicle(562,1994.19995117,-1128.30004883,25.39999962,212.00000000,115,1,600000);
- BALLAS[5] = CreateVehicle(559,1990.59997559,-1128.59997559,25.50000000,212.00000000,115,1,600000);
- BALLAS[6] = CreateVehicle(461,1989.50000000,-1119.00000000,26.39999962,0.00000000,115,1,600000);
- BALLAS[7] = CreateVehicle(461,1988.29980469,-1118.89941406,26.39999962,0.00000000,115,1,600000);
- BALLAS[8] = CreateVehicle(581,1990.80004883,-1119.00000000,26.50000000,0.00000000,115,1,600000);
- //----------[ Objecto dos Ballas ]----------//
- CreateObject(10244,2009.00000000,-1114.00000000,30.10000038,0.00000000,0.00000000,90.00000000); //object(vicjump_sfe) (1)
- CreateObject(1245,2010.50000000,-1121.80004883,26.79999924,0.00000000,0.00000000,270.00000000); //object(newramp) (1)
- //----------[ Nova Prefeitura ]----------//
- CreateObject(10377, 1481.15, -1792.93, 30.59, 0.00, 0.00, 89.43);
- CreateObject(7090, 1481.28, -1774.69, 35.03, 0.00, 8.00, 90.00);
- CreateObject(712, 1465.09, -1774.37, 22.06, 0.00, 0.00, 270.00);
- CreateObject(712, 1497.77, -1774.39, 22.00, 0.00, 0.00, 270.00);
- CreateObject(1215, 1492.91, -1774.49, 13.82, 0.00, 0.00, 0.00);
- CreateObject(1215, 1469.70, -1774.24, 13.89, 0.00, 0.00, 0.00);
- CreateObject(970, 1453.10, -1742.30, 13.10, 0.00, 0.00, 0.00);
- CreateObject(970, 1457.40, -1742.30, 13.10, 0.00, 0.00, 0.00);
- CreateObject(970, 1461.60, -1742.30, 13.10, 0.00, 0.00, 0.00);
- CreateObject(970, 1465.70, -1742.30, 13.10, 0.00, 0.00, 0.00);
- CreateObject(970, 1473.40, -1742.30, 13.10, 0.00, 0.00, 0.00);
- CreateObject(970, 1477.60, -1742.30, 13.10, 0.00, 0.00, 0.00);
- CreateObject(970, 1487.10, -1742.30, 13.10, 0.00, 0.00, 0.00);
- CreateObject(970, 1491.30, -1742.30, 13.10, 0.00, 0.00, 0.00);
- CreateObject(970, 1500.50, -1742.30, 13.10, 0.00, 0.00, 0.00);
- CreateObject(970, 1504.70, -1742.30, 13.10, 0.00, 0.00, 0.00);
- CreateObject(970, 1508.80, -1742.30, 13.10, 0.00, 0.00, 0.00);
- CreateObject(640, 1454.40, -1742.70, 13.20, 0.00, 0.00, 90.00);
- CreateObject(640, 1459.70, -1742.70, 13.20, 0.00, 0.00, 90.00);
- CreateObject(640, 1465.00, -1742.70, 13.20, 0.00, 0.00, 90.00);
- CreateObject(640, 1474.10, -1742.70, 13.20, 0.00, 0.00, 90.00);
- CreateObject(640, 1476.90, -1742.70, 13.20, 0.00, 0.00, 90.00);
- CreateObject(640, 1487.80, -1742.70, 13.20, 0.00, 0.00, 90.00);
- CreateObject(640, 1490.60, -1742.70, 13.20, 0.00, 0.00, 90.00);
- CreateObject(640, 1501.20, -1742.70, 13.20, 0.00, 0.00, 90.00);
- CreateObject(640, 1506.50, -1742.70, 13.20, 0.00, 0.00, 90.00);
- CreateObject(640, 1508.10, -1742.70, 13.20, 0.00, 0.00, 90.00);
- CreateObject(970, 1451.10, -1744.30, 13.10, 0.00, 0.00, 90.00);
- CreateObject(970, 1510.80, -1744.40, 13.10, 0.00, 0.00, 90.00);
- CreateObject(1256, 1451.50, -1744.50, 13.20, 0.00, 0.00, 180.00);
- CreateObject(1256, 1510.40, -1744.50, 13.20, 0.00, 0.00, 0.00);
- CreateObject(640, 1453.81, -1742.70, 13.20, 0.00, 0.00, 90.00);
- CreateObject(1216, 1412.50, -1752.70, 13.20, 0.00, 0.00, 0.00);
- CreateObject(1216, 1411.00, -1752.70, 13.20, 0.00, 0.00, 0.00);
- CreateObject(1216, 1410.04, -1753.50, 13.20, 0.00, 0.00, 90.00);
- CreateObject(1216, 1410.04, -1755.00, 13.20, 0.00, 0.00, 90.00);
- CreateObject(1216, 1547.90, -1752.70, 13.20, 0.00, 0.00, 0.00);
- CreateObject(1216, 1546.20, -1752.70, 13.20, 0.00, 0.00, 0.00);
- CreateObject(1216, 1548.80, -1753.30, 13.20, 0.00, 0.00, 270.00);
- CreateObject(1216, 1548.80, -1755.00, 13.20, 0.00, 0.00, 270.00);
- CreateObject(1223, 1409.70, -1752.30, 12.00, 0.00, 0.00, 315.00);
- CreateObject(1223, 1549.20, -1752.40, 12.00, 0.00, 0.00, 215.00);
- CreateObject(18981, 1512.12, -1609.72, 11.87, 0.00, 90.00, 0.00);
- CreateObject(18981, 1512.14, -1634.67, 11.87, 0.00, 90.00, 0.00);
- CreateObject(18981, 1512.12, -1659.54, 11.87, 0.00, 90.00, 0.00);
- CreateObject(18981, 1512.10, -1684.43, 11.87, 0.00, 90.00, 0.00);
- CreateObject(18981, 1512.10, -1709.04, 11.87, 0.00, 90.00, 0.00);
- CreateObject(18981, 1512.10, -1733.70, 11.87, 0.00, 90.00, 0.00);
- CreateObject(18981, 1487.23, -1609.78, 11.87, 0.00, 90.00, 0.00);
- CreateObject(18981, 1487.23, -1634.47, 11.87, 0.00, 90.00, 0.00);
- CreateObject(18981, 1487.23, -1659.31, 11.87, 0.00, 90.00, 0.00);
- CreateObject(18981, 1487.23, -1684.29, 11.87, 0.00, 90.00, 0.00);
- CreateObject(18981, 1487.25, -1709.22, 11.87, 0.00, 90.00, 0.00);
- CreateObject(18981, 1487.23, -1734.13, 11.87, 0.00, 90.00, 0.00);
- CreateObject(18981, 1462.46, -1609.60, 11.87, 0.00, 90.00, 0.00);
- CreateObject(18981, 1462.52, -1634.58, 11.87, 0.00, 90.00, 0.00);
- CreateObject(18981, 1462.52, -1659.37, 11.87, 0.00, 90.00, 0.00);
- CreateObject(18981, 1462.50, -1684.32, 11.87, 0.00, 90.00, 0.00);
- CreateObject(18981, 1462.52, -1709.19, 11.87, 0.00, 90.00, 0.00);
- CreateObject(18981, 1462.52, -1734.07, 11.87, 0.00, 90.00, 0.00);
- CreateObject(18981, 1438.03, -1609.69, 11.87, 0.00, 90.00, 0.00);
- CreateObject(18981, 1441.99, -1634.33, 11.87, 0.00, 90.00, 0.00);
- CreateObject(18981, 1442.79, -1658.89, 11.87, 0.00, 90.00, 0.00);
- CreateObject(18981, 1438.10, -1683.56, 11.87, 0.00, 90.00, 0.00);
- CreateObject(18981, 1437.64, -1707.52, 11.87, 0.00, 90.00, 0.00);
- CreateObject(18981, 1437.98, -1732.34, 11.87, 0.00, 90.00, 0.00);
- CreateObject(10368, 1479.35, -1678.98, 32.87, 0.00, 0.00, -180.00);
- CreateObject(655, 1520.22, -1723.10, 12.91, 0.00, 0.00, 0.00);
- CreateObject(655, 1438.17, -1723.05, 12.89, 0.00, 0.00, 0.00);
- CreateObject(3511, 1462.22, -1718.38, 12.77, 0.00, 0.00, 0.00);
- CreateObject(3511, 1482.94, -1718.67, 13.00, 0.00, 0.00, 0.00);
- CreateObject(712, 1515.45, -1699.30, 22.51, 0.00, 0.00, 0.00);
- CreateObject(712, 1515.75, -1678.49, 22.44, 0.00, 0.00, 0.00);
- CreateObject(3511, 1482.92, -1659.16, 12.88, 0.00, 0.00, 0.00);
- CreateObject(3511, 1462.18, -1659.31, 12.80, 0.00, 0.00, 0.00);
- CreateObject(712, 1443.07, -1678.55, 22.47, 0.00, 0.00, 0.00);
- CreateObject(712, 1443.10, -1699.15, 22.45, 0.00, 0.00, 0.00);
- CreateObject(655, 1519.89, -1634.66, 12.88, 0.00, 0.00, 0.00);
- CreateObject(655, 1438.46, -1634.64, 12.84, 0.00, 0.00, 0.00);
- CreateObject(16061, 1485.49, -1602.62, 12.38, 0.00, 0.00, 90.00);
- CreateObject(16061, 1485.50, -1631.74, 12.36, 0.00, 0.00, 90.00);
- CreateObject(6965, 1482.81, -1616.72, 15.99, 0.00, 0.00, 0.00);
- CreateObject(1364, 1461.06, -1631.56, 13.14, 0.00, 0.00, 180.00);
- CreateObject(1364, 1473.99, -1631.56, 13.14, 0.00, 0.00, 180.00);
- CreateObject(1364, 1492.50, -1631.56, 13.14, 0.00, 0.00, 180.00);
- CreateObject(1364, 1503.39, -1631.56, 13.14, 0.00, 0.00, 180.00);
- CreateObject(1364, 1503.63, -1602.17, 13.14, 0.00, 0.00, 0.00);
- CreateObject(1364, 1492.48, -1602.17, 13.14, 0.00, 0.00, 0.00);
- CreateObject(1364, 1476.86, -1602.17, 13.14, 0.00, 0.00, 0.00);
- CreateObject(1364, 1461.43, -1602.17, 13.14, 0.00, 0.00, 0.00);
- CreateObject(3853, 1438.14, -1601.00, 16.17, 0.00, 0.00, 90.00);
- CreateObject(3853, 1520.55, -1600.91, 16.21, 0.00, 0.00, 90.00);
- CreateObject(1257, 1436.48, -1629.19, 13.59, 0.00, 0.00, 0.00);
- CreateObject(1229, 1435.56, -1626.23, 13.85, 0.00, 0.00, 270.00);
- CreateObject(14468, 1481.73, -1602.55, 12.61, 0.00, 0.00, 0.00);
- CreateObject(14468, 1471.47, -1602.49, 12.36, 0.00, 0.00, 0.00);
- CreateObject(14468, 1487.51, -1602.49, 12.36, 0.00, 0.00, 0.00);
- CreateObject(14468, 1496.13, -1602.19, 12.37, 0.00, 0.00, 0.00);
- CreateObject(14468, 1499.87, -1601.89, 12.37, 0.00, 0.00, 0.00);
- CreateObject(14468, 1508.03, -1602.35, 12.37, 0.00, 0.00, 0.00);
- CreateObject(14468, 1465.26, -1602.27, 12.37, 0.00, 0.00, 0.00);
- CreateObject(14468, 1456.79, -1602.19, 12.37, 0.00, 0.00, 0.00);
- CreateObject(14468, 1456.56, -1631.44, 12.37, 0.00, 0.00, 0.00);
- CreateObject(14468, 1464.72, -1631.64, 12.37, 0.00, 0.00, 0.00);
- CreateObject(14468, 1469.88, -1631.47, 12.37, 0.00, 0.00, 0.00);
- CreateObject(14468, 1478.73, -1631.43, 12.37, 0.00, 0.00, 0.00);
- CreateObject(14468, 1482.99, -1631.52, 12.37, 0.00, 0.00, 0.00);
- CreateObject(14468, 1487.65, -1631.53, 12.37, 0.00, 0.00, 0.00);
- CreateObject(14468, 1496.56, -1631.58, 12.37, 0.00, 0.00, 0.00);
- CreateObject(14468, 1499.15, -1631.46, 12.61, 0.00, 0.00, 0.00);
- CreateObject(14468, 1507.32, -1631.65, 12.37, 0.00, 0.00, 0.00);
- CreateObject(8623, 1450.36, -1616.66, 12.36, 0.00, 0.00, 90.00);
- CreateObject(647, 1450.48, -1619.61, 12.36, 0.00, 0.00, 0.00);
- CreateObject(647, 1450.37, -1616.41, 12.67, 0.00, 0.00, 0.00);
- CreateObject(647, 1450.21, -1612.75, 12.36, 0.00, 0.00, 0.00);
- CreateObject(3439, 1450.09, -1610.33, 16.43, 0.00, 0.00, 0.00);
- CreateObject(3439, 1450.37, -1622.71, 16.43, 0.00, 0.00, 0.00);
- CreateObject(1294, 1522.71, -1640.77, 16.84, 0.00, 0.00, 180.00);
- CreateObject(1294, 1522.71, -1656.79, 16.84, 0.00, 0.00, 180.00);
- CreateObject(1294, 1522.71, -1674.98, 16.84, 0.00, 0.00, 180.00);
- CreateObject(1294, 1522.71, -1702.54, 16.84, 0.00, 0.00, 180.00);
- CreateObject(1294, 1486.39, -1725.71, 16.84, 0.00, 0.00, 90.00);
- CreateObject(1294, 1458.80, -1725.71, 16.84, 0.00, 0.00, 90.00);
- CreateObject(1294, 1436.15, -1702.61, 16.84, 0.00, 0.00, 0.00);
- CreateObject(1294, 1436.15, -1675.37, 16.84, 0.00, 0.00, 0.00);
- CreateObject(1294, 1436.15, -1656.06, 16.84, 0.00, 0.00, 0.00);
- CreateObject(1294, 1436.15, -1642.41, 16.84, 0.00, 0.00, 0.00);
- CreateObject(1359, 1438.28, -1633.54, 13.00, 0.00, 0.00, 0.00);
- CreateObject(1359, 1520.39, -1633.62, 13.08, 0.00, 0.00, 0.00);
- CreateObject(8673, 1509.88, -1599.75, 13.81, 0.00, 0.00, 0.00);
- CreateObject(8673, 1489.49, -1599.75, 13.81, 0.00, 0.00, 0.00);
- CreateObject(8673, 1469.06, -1599.75, 13.81, 0.00, 0.00, 0.00);
- CreateObject(8673, 1448.63, -1599.75, 13.81, 0.00, 0.00, 0.00);
- //-----------------[ Novo Bar Exclusivo ]-------------//
- CreateObject(18090,1568.4000244141,-1895.8000488281,15.10000038147,0,0,270);
- CreateObject(2350,1570.6999511719,-1893.8000488281,12.89999961853,0,0,0);
- CreateObject(2350,1569.4000244141,-1893.6999511719,12.89999961853,0,0,0);
- CreateObject(2350,1568.1999511719,-1893.8000488281,12.89999961853,0,0,0);
- CreateObject(2350,1566.6999511719,-1893.9000244141,12.89999961853,0,0,0);
- CreateObject(2350,1565.4000244141,-1893.8000488281,12.89999961853,0,0,0);
- CreateObject(2350,1564.1999511719,-1893.9000244141,12.89999961853,0,0,0);
- CreateObject(2350,1571.6999511719,-1893.6999511719,12.89999961853,0,0,0);
- CreateObject(2350,1572.8000488281,-1893.8000488281,12.89999961853,0,0,0);
- CreateObject(2350,1573.1999511719,-1894.6999511719,12.89999961853,0,0,0);
- CreateObject(2350,1573.3000488281,-1896.3000488281,12.89999961853,0,0,0);
- CreateObject(2350,1573.1999511719,-1895.5,12.89999961853,0,0,0);
- CreateObject(2350,1573.3000488281,-1897.0999755859,12.89999961853,0,0,0);
- CreateObject(2748,1575.1999511719,-1884,13.10000038147,0,0,0);
- CreateObject(2747,1575.4000244141,-1884.8000488281,13,0,0,0);
- CreateObject(2748,1575.3000488281,-1885.8000488281,13.10000038147,0,0,180);
- CreateObject(2748,1575.3000488281,-1887,13.10000038147,0,0,1);
- CreateObject(2747,1575.1999511719,-1888,13,0,0,0);
- CreateObject(2748,1575.1999511719,-1889.3000488281,13.10000038147,0,0,180);
- CreateObject(2799,1574.0999755859,-1892.0999755859,13.10000038147,0,0,0);
- CreateObject(2748,1560.8000488281,-1884.1999511719,13.10000038147,0,0,0);
- CreateObject(2747,1560.8000488281,-1885.3000488281,13,0,0,0);
- CreateObject(2748,1560.8000488281,-1886.1999511719,13.10000038147,0,0,180);
- CreateObject(2748,1560.8000488281,-1887,13.10000038147,0,0,1);
- CreateObject(2747,1560.5999755859,-1888,13,0,0,0);
- CreateObject(2748,1560.8000488281,-1889,13.10000038147,0,0,180);
- CreateObject(2799,1562,-1892,13.10000038147,0,0,0);
- CreateObject(1486,1566.5,-1894.4000244141,13.699999809265,0,0,0);
- CreateObject(1487,1568.3000488281,-1894.4000244141,13.800000190735,0,0,0);
- CreateObject(1487,1565.3000488281,-1894.5,13.800000190735,0,0,0);
- CreateObject(1487,1564.3000488281,-1894.3000488281,13.800000190735,0,0,0);
- CreateObject(1488,1570.1999511719,-1896.8000488281,14.60000038147,0,0,180);
- CreateObject(1487,1569.4000244141,-1894.1999511719,13.800000190735,0,0,0);
- CreateObject(1487,1570.6999511719,-1894.3000488281,13.800000190735,0,0,0);
- CreateObject(1487,1571.4000244141,-1894.4000244141,13.800000190735,0,0,0);
- CreateObject(1487,1572.3000488281,-1894.5999755859,13.800000190735,0,0,0);
- CreateObject(1487,1572.5999755859,-1895.5,13.800000190735,0,0,0);
- CreateObject(1487,1572.9000244141,-1897.0999755859,13.800000190735,0,0,0);
- CreateObject(1487,1573,-1896.3000488281,13.800000190735,0,0,0);
- CreateObject(1488,1566.5,-1896.6999511719,14.699999809265,0,0,180);
- //-------------------[ Banco Exclusivo ]-----------------//
- CreateObject(19379, 1477.89, -1019.65, 20.32, 0.00, 0.00, 90.00);
- CreateObject(19379, 1487.39, -1019.65, 20.32, 0.00, 0.00, 90.00);
- CreateObject(19379, 1487.39, -1019.65, 33.82, 0.00, 0.00, 90.00);
- CreateObject(19379, 1477.89, -1019.65, 33.82, 0.00, 0.00, 90.00);
- CreateObject(3857, 1477.08, -1019.61, 26.04, 0.00, 0.00, 45.00);
- CreateObject(3857, 1484.53, -1019.61, 26.04, 0.00, 0.00, 45.00);
- CreateObject(3857, 1491.99, -1019.61, 26.04, 0.00, 0.00, 45.00);
- CreateObject(19379, 1445.89, -1019.65, 20.32, 0.00, 0.00, 90.00);
- CreateObject(19379, 1436.39, -1019.65, 20.32, 0.00, 0.00, 90.00);
- CreateObject(19379, 1445.83, -1019.65, 33.82, 0.00, 0.00, 90.00);
- CreateObject(19379, 1436.33, -1019.65, 33.82, 0.00, 0.00, 90.00);
- CreateObject(3857, 1447.08, -1019.61, 26.04, 0.00, 0.00, 45.00);
- CreateObject(3857, 1439.66, -1019.61, 26.04, 0.00, 0.00, 45.00);
- CreateObject(3857, 1432.21, -1019.61, 26.04, 0.00, 0.00, 45.00);
- CreateObject(19443, 1474.17, -1019.66, 26.96, 0.00, 0.00, 90.00);
- CreateObject(19443, 1491.21, -1019.64, 26.96, 0.00, 0.00, 90.00);
- CreateObject(19443, 1449.75, -1019.63, 26.96, 0.00, 0.00, 90.00);
- CreateObject(19443, 1432.74, -1019.60, 26.96, 0.00, 0.00, 90.00);
- CreateObject(19379, 1468.61, -1019.58, 26.33, 0.00, 0.00, 90.00);
- CreateObject(19379, 1455.97, -1019.54, 26.33, 0.00, 0.00, 90.00);
- CreateObject(19379, 1460.54, -1019.51, 31.39, 0.00, 0.00, 90.00);
- CreateObject(1491, 1460.81, -1019.59, 23.63, 0.00, 0.00, 0.00);
- CreateObject(1491, 1463.79, -1019.58, 23.63, 0.00, 0.00, 180.00);
- CreateObject(19377, 1437.26, -1024.25, 21.91, 21.70, 90.00, 0.00);
- CreateObject(19377, 1445.83, -1024.22, 21.91, 21.70, 90.00, 0.00);
- CreateObject(19377, 1478.40, -1024.20, 21.91, 21.70, 90.00, 0.00);
- CreateObject(19377, 1488.84, -1024.22, 21.91, 21.70, 90.00, 0.00);
- CreateObject(1256, 1434.54, -1023.47, 23.50, 0.00, 0.00, 90.00);
- CreateObject(1256, 1447.73, -1023.43, 23.50, 0.00, 0.00, 90.00);
- CreateObject(1256, 1475.14, -1023.08, 23.50, 0.00, 0.00, 90.00);
- CreateObject(1256, 1490.48, -1022.61, 23.50, 0.00, 0.00, 90.00);
- CreateObject(717, 1432.10, -1023.40, 22.94, 0.00, 0.00, 0.00);
- CreateObject(717, 1450.26, -1023.18, 22.94, 0.00, 0.00, 0.00);
- CreateObject(717, 1472.66, -1022.86, 22.94, 0.00, 0.00, 0.00);
- CreateObject(717, 1492.90, -1022.85, 22.94, 0.00, 0.00, 0.00);
- CreateObject(2727, 1457.06, -1019.76, 25.95, 90.00, 0.00, 0.00);
- //-------------------------[ Prisão ]------------------------------//
- CreateObject(19379,1469.39941406,-1754.00000000,3284.19995117,0.00000000,90.00000000,90.00000000); //object(sfw_boxwest12) (1)
- CreateObject(19379,1479.00000000,-1754.00000000,3284.19995117,0.00000000,90.00000000,90.00000000); //object(sfw_boxwest12) (2)
- CreateObject(1536,1475.69995117,-1748.86303711,3284.30004883,0.00000000,0.00000000,180.00000000); //object(gen_doorext15) (1)
- CreateObject(1536,1472.69921875,-1748.89941406,3284.30004883,0.00000000,0.00000000,0.00000000); //object(gen_doorext15) (2)
- CreateObject(19450,1464.50000000,-1753.59960938,3286.00000000,0.00000000,0.00000000,0.00000000); //object(cs_detrok10) (3)
- CreateObject(19450,1483.79980469,-1753.59960938,3286.00000000,0.00000000,0.00000000,0.00000000); //object(cs_detrok10) (4)
- CreateObject(18070,1474.19921875,-1755.89941406,3284.80004883,0.00000000,0.00000000,179.99450684); //object(gap_counter) (1)
- CreateObject(19379,1479.00000000,-1764.50000000,3284.19995117,0.00000000,90.00000000,90.00000000); //object(sfw_boxwest12) (3)
- CreateObject(19379,1469.39941406,-1764.50000000,3284.19995117,0.00000000,90.00000000,90.00000000); //object(sfw_boxwest12) (4)
- CreateObject(18070,1474.19995117,-1755.80004883,3287.10009766,0.00000000,179.99450684,179.99450684); //object(gap_counter) (3)
- CreateObject(19435,1477.80102539,-1756.59960938,3284.60009766,90.00000000,0.00000000,0.00000000); //object(cs_landbit_58_a) (1)
- CreateObject(19435,1477.80078125,-1755.09960938,3284.60009766,90.00000000,0.00000000,0.00000000); //object(cs_landbit_58_a) (3)
- CreateObject(19435,1476.13903809,-1753.40002441,3284.60009766,90.00000000,90.00000000,0.00000000); //object(cs_landbit_58_a) (4)
- CreateObject(19435,1472.69995117,-1753.40002441,3284.60009766,90.00000000,90.00000000,0.00000000); //object(cs_landbit_58_a) (5)
- CreateObject(19435,1472.26074219,-1753.40039062,3284.60009766,90.00000000,90.00000000,0.00000000); //object(cs_landbit_58_a) (6)
- CreateObject(19435,1470.59960938,-1755.09960938,3284.60009766,90.00000000,0.00000000,0.00000000); //object(cs_landbit_58_a) (7)
- CreateObject(19435,1470.59960938,-1756.59960938,3284.60009766,90.00000000,0.00000000,0.00000000); //object(cs_landbit_58_a) (8)
- CreateObject(19379,1479.00000000,-1754.00000000,3287.69995117,0.00000000,90.00000000,90.00000000); //object(sfw_boxwest12) (5)
- CreateObject(19379,1469.40002441,-1754.00000000,3287.69995117,0.00000000,90.00000000,90.00000000); //object(sfw_boxwest12) (6)
- CreateObject(19435,1477.80102539,-1756.59960938,3287.30004883,90.00000000,0.00000000,0.00000000); //object(cs_landbit_58_a) (9)
- CreateObject(19435,1477.79980469,-1755.09960938,3287.30004883,90.00000000,0.00000000,0.00000000); //object(cs_landbit_58_a) (10)
- CreateObject(19435,1476.09960938,-1753.39941406,3287.30004883,90.00000000,90.00000000,0.00000000); //object(cs_landbit_58_a) (11)
- CreateObject(19435,1472.69921875,-1753.39941406,3287.30004883,90.00000000,90.00000000,0.00000000); //object(cs_landbit_58_a) (12)
- CreateObject(19435,1472.30004883,-1753.40100098,3287.30004883,90.00000000,90.00000000,0.00000000); //object(cs_landbit_58_a) (13)
- CreateObject(19435,1470.59960938,-1755.09960938,3287.30004883,90.00000000,0.00000000,0.00000000); //object(cs_landbit_58_a) (14)
- CreateObject(19435,1470.60095215,-1756.59960938,3287.30004883,90.00000000,0.00000000,0.00000000); //object(cs_landbit_58_a) (15)
- CreateObject(19379,1459.79980469,-1764.50000000,3284.19995117,0.00000000,90.00000000,90.00000000); //object(sfw_boxwest12) (7)
- CreateObject(19379,1488.59960938,-1764.50000000,3284.19995117,0.00000000,90.00000000,90.00000000); //object(sfw_boxwest12) (8)
- CreateObject(19388,1483.79980469,-1763.19921875,3286.00000000,0.00000000,0.00000000,0.00000000); //object(road_sfw15) (1)
- CreateObject(19358,1464.50000000,-1760.00000000,3286.00000000,0.00000000,0.00000000,0.00000000); //object(road_sfw12) (1)
- CreateObject(19431,1465.39941406,-1758.29980469,3286.00000000,0.00000000,0.00000000,270.00000000); //object(cs_landbit_48_a) (3)
- CreateObject(19388,1467.80004883,-1758.30004883,3286.00000000,0.00000000,0.00000000,270.00000000); //object(road_sfw15) (2)
- CreateObject(19358,1471.00000000,-1758.30004883,3286.00000000,0.00000000,0.00000000,90.00000000); //object(road_sfw12) (2)
- CreateObject(19358,1477.39941406,-1758.29980469,3286.00000000,0.00000000,0.00000000,90.00000000); //object(road_sfw12) (3)
- CreateObject(19388,1480.59960938,-1758.29980469,3286.00000000,0.00000000,0.00000000,270.00000000); //object(road_sfw15) (3)
- CreateObject(19358,1483.79980469,-1766.39941406,3286.00000000,0.00000000,0.00000000,0.00000000); //object(road_sfw12) (4)
- CreateObject(19358,1483.79980469,-1760.00000000,3286.00000000,0.00000000,0.00000000,0.00000000); //object(road_sfw12) (5)
- CreateObject(19388,1464.50000000,-1763.19921875,3286.00000000,0.00000000,0.00000000,0.00000000); //object(road_sfw15) (4)
- CreateObject(19358,1464.50000000,-1766.39941406,3286.00000000,0.00000000,0.00000000,0.00000000); //object(road_sfw12) (6)
- CreateObject(19431,1483.00000000,-1768.00000000,3286.00000000,0.00000000,0.00000000,270.00000000); //object(cs_landbit_48_a) (4)
- CreateObject(19358,1479.00000000,-1769.51562500,3286.00000000,0.00000000,0.00000000,0.00000000); //object(road_sfw12) (7)
- CreateObject(19358,1477.39941406,-1768.00000000,3286.00000000,0.00000000,0.00000000,90.00000000); //object(road_sfw12) (8)
- CreateObject(14416,1474.09960938,-1771.00000000,3284.50000000,0.00000000,0.00000000,179.99450684); //object(carter-stairs07) (1)
- CreateObject(19450,1475.79980469,-1772.72900391,3286.00000000,0.00000000,0.00000000,0.00000000); //object(cs_detrok10) (3)
- CreateObject(19450,1472.50000000,-1772.72851562,3286.00000000,0.00000000,0.00000000,0.00000000); //object(cs_detrok10) (3)
- CreateObject(19379,1479.00000000,-1762.79980469,3287.70092773,0.00000000,90.00000000,90.00000000); //object(sfw_boxwest12) (5)
- CreateObject(19379,1469.39941406,-1762.79980469,3287.70092773,0.00000000,90.00000000,90.00000000); //object(sfw_boxwest12) (5)
- CreateObject(19379,1477.29980469,-1778.29980469,3287.69995117,0.00000000,90.00000000,90.00000000); //object(sfw_boxwest12) (5)
- CreateObject(19450,1467.77197266,-1773.00000000,3289.50000000,0.00000000,0.00000000,270.00000000); //object(cs_detrok10) (1)
- CreateObject(19450,1477.30004883,-1768.00000000,3289.50000000,0.00000000,0.00000000,270.00000000); //object(cs_detrok10) (1)
- CreateObject(19450,1480.52697754,-1773.00000000,3289.50000000,0.00000000,0.00000000,270.00000000); //object(cs_detrok10) (1)
- CreateObject(19450,1485.30004883,-1777.90002441,3289.50000000,0.00000000,0.00000000,0.00000000); //object(cs_detrok10) (4)
- CreateObject(19450,1463.00000000,-1777.90002441,3289.50000000,0.00000000,0.00000000,0.00000000); //object(cs_detrok10) (4)
- CreateObject(19379,1480.50000000,-1777.89941406,3291.19995117,0.00000000,90.00000000,90.00000000); //object(sfw_boxwest12) (5)
- CreateObject(19379,1470.90002441,-1777.90002441,3291.19995117,0.00000000,90.00000000,90.00000000); //object(sfw_boxwest12) (5)
- CreateObject(19379,1461.29980469,-1777.89941406,3291.19995117,0.00000000,90.00000000,90.00000000); //object(sfw_boxwest12) (5)
- CreateObject(19379,1470.90002441,-1767.40002441,3291.19995117,0.00000000,90.00000000,90.00000000); //object(sfw_boxwest12) (5)
- CreateObject(19450,1472.50000000,-1768.09960938,3289.50000000,0.00000000,0.00000000,0.00000000); //object(cs_detrok10) (4)
- CreateObject(19450,1475.80004883,-1768.09997559,3289.50000000,0.00000000,0.00000000,0.00000000); //object(cs_detrok10) (4)
- CreateObject(19379,1467.69921875,-1778.29980469,3287.69995117,0.00000000,90.00000000,90.00000000); //object(sfw_boxwest12) (5)
- CreateObject(19379,1486.90002441,-1778.30004883,3287.69995117,0.00000000,90.00000000,90.00000000); //object(sfw_boxwest12) (5)
- CreateObject(19450,1467.80004883,-1782.69995117,3289.50000000,0.00000000,0.00000000,270.00000000); //object(cs_detrok10) (1)
- CreateObject(19450,1480.50000000,-1782.69995117,3289.50000000,0.00000000,0.00000000,270.00000000); //object(cs_detrok10) (1)
- CreateObject(19388,1474.09997559,-1782.69995117,3289.50000000,0.00000000,0.00000000,270.00000000); //object(road_sfw15) (5)
- CreateObject(19379,1474.09960938,-1788.79980469,3287.69995117,0.00000000,90.00000000,90.00000000); //object(sfw_boxwest12) (5)
- CreateObject(19450,1478.79980469,-1787.59960938,3289.50000000,0.00000000,0.00000000,0.00000000); //object(cs_detrok10) (4)
- CreateObject(19450,1469.39941406,-1787.59960938,3289.50000000,0.00000000,0.00000000,0.00000000); //object(cs_detrok10) (4)
- CreateObject(19379,1474.09960938,-1788.39941406,3291.19995117,0.00000000,90.00000000,90.00000000); //object(sfw_boxwest12) (5)
- CreateObject(19431,1483.00000000,-1758.29980469,3286.00000000,0.00000000,0.00000000,270.00000000); //object(cs_landbit_48_a) (6)
- CreateObject(19431,1474.09997559,-1786.40002441,3289.50000000,0.00000000,0.00000000,180.00000000); //object(cs_landbit_48_a) (7)
- CreateObject(19431,1474.81298828,-1785.59997559,3289.50000000,0.00000000,0.00000000,90.00000000); //object(cs_landbit_48_a) (8)
- CreateObject(19388,1477.19995117,-1785.59997559,3289.50000000,0.00000000,0.00000000,270.00000000); //object(road_sfw15) (6)
- CreateObject(19431,1474.09960938,-1791.19921875,3289.50000000,0.00000000,0.00000000,179.99450684); //object(cs_landbit_48_a) (9)
- CreateObject(19358,1474.09960938,-1788.79980469,3289.50000000,0.00000000,0.00000000,0.00000000); //object(road_sfw12) (19)
- CreateObject(19431,1478.80004883,-1793.19995117,3289.50000000,0.00000000,0.00000000,179.99450684); //object(cs_landbit_48_a) (11)
- CreateObject(19388,1474.19921875,-1758.29980469,3286.00000000,0.00000000,0.00000000,270.00000000); //object(road_sfw15) (3)
- CreateObject(19358,1485.40002441,-1768.00000000,3286.00000000,0.00000000,0.00000000,90.00000000); //object(road_sfw12) (7)
- CreateObject(19358,1485.40002441,-1759.30004883,3286.00000000,0.00000000,0.00000000,90.00000000); //object(road_sfw12) (7)
- CreateObject(19358,1487.00000000,-1766.40002441,3286.00000000,0.00000000,0.00000000,0.00000000); //object(road_sfw12) (4)
- CreateObject(19388,1487.00000000,-1763.19995117,3286.00000000,0.00000000,0.00000000,0.00000000); //object(road_sfw15) (1)
- CreateObject(19358,1487.00000000,-1760.00000000,3286.00000000,0.00000000,0.00000000,0.00000000); //object(road_sfw12) (5)
- CreateObject(19379,1498.19995117,-1764.50000000,3284.19995117,0.00000000,90.00000000,90.00000000); //object(sfw_boxwest12) (8)
- CreateObject(19379,1507.80004883,-1764.50000000,3284.19995117,0.00000000,90.00000000,90.00000000); //object(sfw_boxwest12) (8)
- CreateObject(19379,1488.59997559,-1754.00000000,3284.19995117,0.00000000,90.00000000,90.00000000); //object(sfw_boxwest12) (8)
- CreateObject(19379,1498.19995117,-1754.00000000,3284.19995117,0.00000000,90.00000000,90.00000000); //object(sfw_boxwest12) (8)
- CreateObject(19379,1507.80004883,-1754.00000000,3284.19995117,0.00000000,90.00000000,90.00000000); //object(sfw_boxwest12) (8)
- CreateObject(19447,1487.09997559,-1756.80004883,3286.00000000,0.00000000,0.00000000,0.00000000); //object(cs_detrok13) (1)
- CreateObject(19385,1487.09997559,-1763.19995117,3286.00000000,0.00000000,0.00000000,0.00000000); //object(sfw_boxwest02) (1)
- CreateObject(19447,1492.00000000,-1769.69921875,3286.00000000,0.00000000,0.00000000,270.00000000); //object(cs_detrok13) (2)
- CreateObject(19355,1488.79980469,-1761.50000000,3286.00000000,0.00000000,0.00000000,90.00000000); //object(cs_landbit_12) (1)
- CreateObject(19355,1488.80004883,-1764.90002441,3286.00000000,0.00000000,0.00000000,90.00000000); //object(cs_landbit_12) (2)
- CreateObject(19385,1492.00000000,-1761.50000000,3286.00000000,0.00000000,0.00000000,90.00000000); //object(sfw_boxwest02) (2)
- CreateObject(19447,1490.39941406,-1756.59960938,3286.00000000,0.00000000,0.00000000,0.00000000); //object(cs_detrok13) (3)
- CreateObject(19385,1495.19921875,-1761.50000000,3286.00000000,0.00000000,0.00000000,90.00000000); //object(sfw_boxwest02) (6)
- CreateObject(19385,1498.39941406,-1761.50000000,3286.00000000,0.00000000,0.00000000,90.00000000); //object(sfw_boxwest02) (7)
- CreateObject(19385,1501.59997559,-1761.50000000,3286.00000000,0.00000000,0.00000000,90.00000000); //object(sfw_boxwest02) (8)
- CreateObject(19447,1493.59997559,-1756.69995117,3286.00000000,0.00000000,0.00000000,0.00000000); //object(cs_detrok13) (4)
- CreateObject(19447,1496.80004883,-1756.59997559,3286.00000000,0.00000000,0.00000000,0.00000000); //object(cs_detrok13) (5)
- CreateObject(19447,1500.09997559,-1756.59997559,3286.00000000,0.00000000,0.00000000,0.00000000); //object(cs_detrok13) (6)
- CreateObject(19447,1503.30004883,-1756.69995117,3286.00000000,0.00000000,0.00000000,0.00000000); //object(cs_detrok13) (7)
- CreateObject(19447,1503.29980469,-1766.29980469,3286.00000000,0.00000000,0.00000000,0.00000000); //object(cs_detrok13) (8)
- CreateObject(19385,1492.00000000,-1764.90002441,3286.00000000,0.00000000,0.00000000,90.00000000); //object(sfw_boxwest02) (9)
- CreateObject(19385,1495.19921875,-1764.89941406,3286.00000000,0.00000000,0.00000000,90.00000000); //object(sfw_boxwest02) (10)
- CreateObject(19385,1498.40002441,-1764.90002441,3286.00000000,0.00000000,0.00000000,90.00000000); //object(sfw_boxwest02) (11)
- CreateObject(19385,1501.59997559,-1764.90002441,3286.00000000,0.00000000,0.00000000,90.00000000); //object(sfw_boxwest02) (12)
- CreateObject(19447,1487.09960938,-1769.59960938,3286.00000000,0.00000000,0.00000000,0.00000000); //object(cs_detrok13) (9)
- CreateObject(19447,1501.59997559,-1769.69995117,3286.00000000,0.00000000,0.00000000,270.00000000); //object(cs_detrok13) (10)
- CreateObject(19447,1490.40002441,-1769.80004883,3286.00000000,0.00000000,0.00000000,0.00000000); //object(cs_detrok13) (11)
- CreateObject(19447,1493.59997559,-1769.80004883,3286.00000000,0.00000000,0.00000000,0.00000000); //object(cs_detrok13) (12)
- CreateObject(19447,1496.79980469,-1769.79980469,3286.00000000,0.00000000,0.00000000,0.00000000); //object(cs_detrok13) (13)
- CreateObject(19447,1500.00000000,-1769.80004883,3286.00000000,0.00000000,0.00000000,0.00000000); //object(cs_detrok13) (14)
- CreateObject(19447,1492.00000000,-1757.09997559,3286.00000000,0.00000000,0.00000000,270.00000000); //object(cs_detrok13) (15)
- CreateObject(19447,1501.59960938,-1757.09960938,3286.00000000,0.00000000,0.00000000,270.00000000); //object(cs_detrok13) (16)
- CreateObject(19379,1488.59960938,-1764.50000000,3287.69995117,0.00000000,90.00000000,90.00000000); //object(sfw_boxwest12) (8)
- CreateObject(19379,1498.19995117,-1764.50000000,3287.69995117,0.00000000,90.00000000,90.00000000); //object(sfw_boxwest12) (8)
- CreateObject(19379,1507.79980469,-1764.50000000,3287.69995117,0.00000000,90.00000000,90.00000000); //object(sfw_boxwest12) (8)
- CreateObject(19379,1507.80004883,-1754.00000000,3287.69995117,0.00000000,90.00000000,90.00000000); //object(sfw_boxwest12) (8)
- CreateObject(19379,1498.19995117,-1754.00000000,3287.69995117,0.00000000,90.00000000,90.00000000); //object(sfw_boxwest12) (8)
- CreateObject(19379,1488.59997559,-1754.00000000,3287.69995117,0.00000000,90.00000000,90.00000000); //object(sfw_boxwest12) (8)
- CreateObject(19450,1459.59997559,-1759.19995117,3286.00000000,0.00000000,0.00000000,270.00000000); //object(cs_detrok10) (1)
- CreateObject(19450,1459.69921875,-1768.00000000,3286.00000000,0.00000000,0.00000000,270.00000000); //object(cs_detrok10) (1)
- CreateObject(19450,1454.90002441,-1763.19995117,3286.00000000,0.00000000,0.00000000,0.00000000); //object(cs_detrok10) (3)
- CreateObject(19379,1459.80004883,-1764.50000000,3287.69995117,0.00000000,90.00000000,90.00000000); //object(sfw_boxwest12) (7)
- CreateObject(2008,1474.69995117,-1754.30004883,3284.48999023,0.00000000,0.00000000,0.00000000); //object(officedesk1) (1)
- CreateObject(2008,1472.59997559,-1754.30004883,3284.48999023,0.00000000,0.00000000,0.00000000); //object(officedesk1) (2)
- CreateObject(2607,1471.40002441,-1755.90002441,3284.89990234,0.00000000,0.00000000,270.00000000); //object(polce_desk2) (1)
- CreateObject(2007,1486.40002441,-1759.90002441,3284.30004883,0.00000000,0.00000000,0.00000000); //object(filing_cab_nu01) (1)
- CreateObject(2007,1485.40002441,-1759.90002441,3284.30004883,0.00000000,0.00000000,0.00000000); //object(filing_cab_nu01) (2)
- CreateObject(2007,1484.39941406,-1759.89941406,3284.30004883,0.00000000,0.00000000,0.00000000); //object(filing_cab_nu01) (3)
- CreateObject(2162,1471.81005859,-1758.09997559,3284.38500977,0.00000000,0.00000000,180.00000000); //object(med_office_unit_1) (1)
- CreateObject(2606,1473.19995117,-1754.40002441,3287.00000000,6.50000000,0.00000000,0.00000000); //object(cj_police_counter2) (1)
- CreateObject(2606,1475.19995117,-1754.40002441,3287.00000000,6.49841309,0.00000000,0.00000000); //object(cj_police_counter2) (3)
- CreateObject(2162,1476.69995117,-1754.19995117,3284.38500977,0.00000000,0.00000000,312.74450684); //object(med_office_unit_1) (2)
- CreateObject(1811,1483.19995117,-1752.40002441,3284.89990234,0.00000000,0.00000000,0.00000000); //object(med_din_chair_5) (1)
- CreateObject(1811,1483.19921875,-1753.19921875,3284.89990234,0.00000000,0.00000000,0.00000000); //object(med_din_chair_5) (2)
- CreateObject(1811,1483.19995117,-1754.00000000,3284.89990234,0.00000000,0.00000000,0.00000000); //object(med_din_chair_5) (3)
- CreateObject(1811,1483.19995117,-1754.80004883,3284.89990234,0.00000000,0.00000000,0.00000000); //object(med_din_chair_5) (4)
- CreateObject(1892,1472.90002441,-1749.50000000,3284.30004883,0.00000000,0.00000000,0.00000000); //object(security_gatsh) (1)
- CreateObject(1892,1474.50000000,-1749.50000000,3284.30004883,0.00000000,0.00000000,0.00000000); //object(security_gatsh) (2)
- CreateObject(2111,1482.69995117,-1750.90002441,3284.69995117,0.00000000,0.00000000,0.00000000); //object(low_dinning_5) (1)
- CreateObject(2816,1482.59997559,-1751.19995117,3285.11010742,0.00000000,0.00000000,0.00000000); //object(gb_bedmags01) (1)
- CreateObject(14401,1453.30004883,-1747.40002441,3284.60009766,0.00000000,0.00000000,180.00000000); //object(bench1) (1)
- CreateObject(14401,1443.09960938,-1773.59960938,3284.60009766,0.00000000,0.00000000,269.99450684); //object(bench1) (2)
- CreateObject(1502,1464.43945312,-1762.41503906,3284.23999023,0.00000000,0.00000000,270.00000000); //object(gen_doorint04) (1)
- CreateObject(14782,1461.30004883,-1759.69995117,3285.30004883,0.00000000,0.00000000,0.00000000); //object(int3int_boxing30) (1)
- CreateObject(14782,1455.69995117,-1760.00000000,3285.30004883,0.00000000,0.00000000,90.00000000); //object(int3int_boxing30) (4)
- CreateObject(2846,1456.09997559,-1760.59997559,3284.30004883,0.00000000,0.00000000,0.00000000); //object(gb_bedclothes05) (1)
- CreateObject(2614,1474.15002441,-1768.12500000,3289.50000000,0.00000000,0.00000000,0.00000000); //object(cj_us_flag) (1)
- CreateObject(2007,1463.00000000,-1767.40002441,3284.30004883,0.00000000,0.00000000,180.00000000); //object(filing_cab_nu01) (3)
- CreateObject(2007,1462.00000000,-1767.40002441,3284.30004883,0.00000000,0.00000000,179.99450684); //object(filing_cab_nu01) (3)
- CreateObject(2007,1461.00000000,-1767.40002441,3284.30004883,0.00000000,0.00000000,179.99450684); //object(filing_cab_nu01) (3)
- CreateObject(2400,1464.40002441,-1764.59997559,3284.39990234,0.00000000,0.00000000,270.00000000); //object(cj_sports_wall01) (1)
- CreateObject(2689,1464.00000000,-1765.09997559,3285.69995117,0.00000000,0.00000000,270.00000000); //object(cj_hoodie_2) (1)
- CreateObject(2704,1464.09997559,-1765.69995117,3285.69995117,0.00000000,0.00000000,270.00000000); //object(cj_hoodie_3) (1)
- CreateObject(19358,1482.19995117,-1769.51599121,3286.00000000,0.00000000,0.00000000,0.00000000); //object(road_sfw12) (7)
- CreateObject(14416,1480.59997559,-1772.80004883,3281.10009766,0.00000000,0.00000000,359.99450684); //object(carter-stairs07) (1)
- CreateObject(19358,1482.19995117,-1769.59997559,3282.50000000,0.00000000,0.00000000,0.00000000); //object(road_sfw12) (7)
- CreateObject(19358,1482.19995117,-1772.80004883,3282.50000000,0.00000000,0.00000000,0.00000000); //object(road_sfw12) (7)
- CreateObject(19358,1482.19995117,-1772.69995117,3286.00000000,0.00000000,0.00000000,0.00000000); //object(road_sfw12) (7)
- CreateObject(19358,1479.00000000,-1769.59997559,3282.50000000,0.00000000,0.00000000,0.00000000); //object(road_sfw12) (7)
- CreateObject(19358,1479.00000000,-1772.80004883,3282.50000000,0.00000000,0.00000000,0.00000000); //object(road_sfw12) (7)
- CreateObject(19358,1479.00000000,-1772.69995117,3286.00000000,0.00000000,0.00000000,0.00000000); //object(road_sfw12) (7)
- CreateObject(14416,1480.50000000,-1779.09997559,3277.60009766,0.00000000,0.00000000,359.98901367); //object(carter-stairs07) (1)
- CreateObject(19358,1482.19995117,-1776.00000000,3282.50000000,0.00000000,0.00000000,0.00000000); //object(road_sfw12) (7)
- CreateObject(19358,1479.00000000,-1776.00000000,3282.50000000,0.00000000,0.00000000,0.00000000); //object(road_sfw12) (7)
- CreateObject(19358,1482.19995117,-1775.90002441,3286.00000000,0.00000000,0.00000000,0.00000000); //object(road_sfw12) (7)
- CreateObject(19358,1479.00000000,-1775.90002441,3286.00000000,0.00000000,0.00000000,0.00000000); //object(road_sfw12) (7)
- CreateObject(19358,1480.59960938,-1777.50000000,3282.50000000,0.00000000,0.00000000,90.00000000); //object(road_sfw12) (7)
- CreateObject(19358,1480.59997559,-1777.50000000,3286.00000000,0.00000000,0.00000000,90.00000000); //object(road_sfw12) (7)
- CreateObject(19370,1480.50000000,-1769.59960938,3287.69995117,0.00000000,90.00000000,0.00000000); //object(freight_sfw15) (1)
- CreateObject(19370,1480.50000000,-1772.79980469,3287.69799805,0.00000000,90.00000000,0.00000000); //object(freight_sfw15) (2)
- CreateObject(19370,1480.59960938,-1776.00000000,3287.69799805,0.00000000,90.00000000,0.00000000); //object(freight_sfw15) (3)
- CreateObject(14416,1480.50000000,-1780.30004883,3277.60009766,0.00000000,0.00000000,359.98901367); //object(carter-stairs07) (1)
- CreateObject(1536,1479.09997559,-1777.43701172,3280.80004883,0.00000000,0.00000000,0.00000000); //object(gen_doorext15) (2)
- CreateObject(1536,1482.09997559,-1777.40002441,3280.80004883,0.00000000,0.00000000,180.00000000); //object(gen_doorext15) (2)
- CreateObject(1811,1464.00000000,-1777.80004883,3288.39990234,0.00000000,0.00000000,90.00000000); //object(med_din_chair_5) (5)
- CreateObject(1811,1464.90002441,-1777.80004883,3288.39990234,0.00000000,0.00000000,90.00000000); //object(med_din_chair_5) (6)
- CreateObject(1811,1465.80004883,-1777.80004883,3288.39990234,0.00000000,0.00000000,90.00000000); //object(med_din_chair_5) (7)
- CreateObject(1811,1466.69995117,-1777.80004883,3288.39990234,0.00000000,0.00000000,90.00000000); //object(med_din_chair_5) (9)
- CreateObject(1811,1467.59997559,-1777.80004883,3288.39990234,0.00000000,0.00000000,90.00000000); //object(med_din_chair_5) (10)
- CreateObject(1811,1467.59997559,-1776.09997559,3288.39990234,0.00000000,0.00000000,90.00000000); //object(med_din_chair_5) (11)
- CreateObject(1811,1466.69995117,-1776.09997559,3288.39990234,0.00000000,0.00000000,90.00000000); //object(med_din_chair_5) (12)
- CreateObject(1811,1465.80004883,-1776.09997559,3288.39990234,0.00000000,0.00000000,90.00000000); //object(med_din_chair_5) (13)
- CreateObject(1811,1464.90002441,-1776.09997559,3288.39990234,0.00000000,0.00000000,90.00000000); //object(med_din_chair_5) (14)
- CreateObject(1811,1464.00000000,-1776.09997559,3288.39990234,0.00000000,0.00000000,90.00000000); //object(med_din_chair_5) (15)
- CreateObject(1811,1467.59997559,-1774.59997559,3288.39990234,0.00000000,0.00000000,90.00000000); //object(med_din_chair_5) (16)
- CreateObject(1811,1466.69995117,-1774.59997559,3288.39990234,0.00000000,0.00000000,90.00000000); //object(med_din_chair_5) (17)
- CreateObject(1811,1465.90002441,-1774.59997559,3288.39990234,0.00000000,0.00000000,90.00000000); //object(med_din_chair_5) (18)
- CreateObject(1811,1465.00000000,-1774.59997559,3288.39990234,0.00000000,0.00000000,90.00000000); //object(med_din_chair_5) (19)
- CreateObject(1811,1464.09997559,-1774.59997559,3288.39990234,0.00000000,0.00000000,90.00000000); //object(med_din_chair_5) (20)
- CreateObject(3077,1466.80004883,-1781.80004883,3287.80004883,0.00000000,0.00000000,0.00000000); //object(nf_blackboard) (1)
- CreateObject(14532,1464.09960938,-1781.19921875,3288.80004883,0.00000000,0.00000000,349.99694824); //object(tv_stand_driv) (1)
- CreateObject(19358,1470.50000000,-1774.69995117,3289.50000000,0.00000000,0.00000000,0.00000000); //object(road_sfw12) (7)
- CreateObject(19388,1470.50000000,-1777.90002441,3289.50000000,0.00000000,0.00000000,0.00000000); //object(road_sfw15) (1)
- CreateObject(19358,1470.50000000,-1781.09997559,3289.50000000,0.00000000,0.00000000,0.00000000); //object(road_sfw12) (7)
- CreateObject(2357,1471.59960938,-1787.69921875,3288.19995117,0.00000000,0.00000000,270.00000000); //object(dunc_dinning) (1)
- CreateObject(1714,1513.09997559,-1837.50000000,3216.69995117,0.00000000,0.00000000,0.00000000); //object(kb_swivelchair1) (1)
- CreateObject(1714,1471.59997559,-1790.69995117,3287.80004883,0.00000000,0.00000000,180.00000000); //object(kb_swivelchair1) (2)
- CreateObject(1671,1470.40002441,-1788.90002441,3288.19995117,0.00000000,0.00000000,90.00000000); //object(swivelchair_a) (1)
- CreateObject(1671,1470.40002441,-1787.69995117,3288.19995117,0.00000000,0.00000000,90.00000000); //object(swivelchair_a) (2)
- CreateObject(1671,1470.40002441,-1786.50000000,3288.19995117,0.00000000,0.00000000,90.00000000); //object(swivelchair_a) (4)
- CreateObject(1671,1472.90002441,-1788.90002441,3288.19995117,0.00000000,0.00000000,270.00000000); //object(swivelchair_a) (5)
- CreateObject(1671,1472.90002441,-1787.69995117,3288.19995117,0.00000000,0.00000000,270.00000000); //object(swivelchair_a) (7)
- CreateObject(1671,1472.90002441,-1786.50000000,3288.19995117,0.00000000,0.00000000,270.00000000); //object(swivelchair_a) (9)
- CreateObject(14532,1470.09960938,-1791.59960938,3288.80004883,0.00000000,0.00000000,337.99438477); //object(tv_stand_driv) (1)
- CreateObject(1671,1475.19995117,-1790.40002441,3288.19995117,0.00000000,0.00000000,180.00000000); //object(swivelchair_a) (10)
- CreateObject(2165,1478.19995117,-1790.09997559,3287.80004883,0.00000000,0.00000000,270.00000000); //object(med_office_desk_1) (1)
- CreateObject(2166,1477.19995117,-1788.09997559,3287.80004883,0.00000000,0.00000000,270.00000000); //object(med_office_desk_2) (1)
- CreateObject(2173,1474.69995117,-1789.50000000,3287.80004883,0.00000000,0.00000000,0.00000000); //object(med_office_desk_3) (1)
- CreateObject(1671,1477.29980469,-1790.69921875,3288.19995117,0.00000000,0.00000000,90.00000000); //object(swivelchair_a) (11)
- CreateObject(1671,1475.09997559,-1788.50000000,3288.19995117,0.00000000,0.00000000,358.24450684); //object(swivelchair_a) (12)
- CreateObject(2186,1476.59997559,-1773.59997559,3287.80004883,0.00000000,0.00000000,0.00000000); //object(photocopier_1) (1)
- CreateObject(2612,1474.22302246,-1790.40002441,3289.60009766,0.00000000,0.00000000,90.00000000); //object(police_nb2) (1)
- CreateObject(2611,1474.22399902,-1787.80004883,3289.62011719,0.00000000,0.00000000,90.00000000); //object(police_nb1) (1)
- CreateObject(1502,1476.45996094,-1785.61999512,3287.73510742,0.00000000,0.00000000,0.00000000); //object(gen_doorint04) (1)
- CreateObject(2165,1479.19995117,-1775.59997559,3287.80004883,0.00000000,0.00000000,90.00000000); //object(med_office_desk_1) (2)
- CreateObject(2165,1479.30004883,-1778.50000000,3287.80004883,0.00000000,0.00000000,90.00000000); //object(med_office_desk_1) (3)
- CreateObject(2165,1479.40002441,-1781.50000000,3287.80004883,0.00000000,0.00000000,90.00000000); //object(med_office_desk_1) (4)
- CreateObject(2165,1482.30004883,-1775.59997559,3287.80004883,0.00000000,0.00000000,90.00000000); //object(med_office_desk_1) (5)
- CreateObject(2165,1482.40002441,-1778.50000000,3287.80004883,0.00000000,0.00000000,90.00000000); //object(med_office_desk_1) (6)
- CreateObject(2165,1482.50000000,-1781.50000000,3287.80004883,0.00000000,0.00000000,90.00000000); //object(med_office_desk_1) (7)
- CreateObject(1671,1483.19995117,-1775.00000000,3288.19995117,0.00000000,0.00000000,270.00000000); //object(swivelchair_a) (13)
- CreateObject(1671,1480.19995117,-1775.00000000,3288.19995117,0.00000000,0.00000000,270.00000000); //object(swivelchair_a) (14)
- CreateObject(1671,1483.30004883,-1778.00000000,3288.19995117,0.00000000,0.00000000,270.00000000); //object(swivelchair_a) (15)
- CreateObject(1671,1483.50000000,-1781.00000000,3288.19995117,0.00000000,0.00000000,270.00000000); //object(swivelchair_a) (16)
- CreateObject(1671,1480.40002441,-1781.09997559,3288.19995117,0.00000000,0.00000000,270.00000000); //object(swivelchair_a) (17)
- CreateObject(1671,1480.19995117,-1778.00000000,3288.19995117,0.00000000,0.00000000,270.00000000); //object(swivelchair_a) (18)
- CreateObject(2186,1474.79980469,-1786.19921875,3287.80004883,0.00000000,0.00000000,0.00000000); //object(photocopier_1) (2)
- CreateObject(2007,1471.19995117,-1773.69995117,3287.80004883,0.00000000,0.00000000,90.00000000); //object(filing_cab_nu01) (3)
- CreateObject(2007,1471.19995117,-1774.69995117,3287.80004883,0.00000000,0.00000000,90.00000000); //object(filing_cab_nu01) (3)
- CreateObject(2007,1471.19995117,-1775.69995117,3287.80004883,0.00000000,0.00000000,90.00000000); //object(filing_cab_nu01) (3)
- CreateObject(2166,1471.90002441,-1779.09997559,3287.80004883,0.00000000,0.00000000,270.00000000); //object(med_office_desk_2) (2)
- CreateObject(2165,1472.90002441,-1781.09997559,3287.80004883,0.00000000,0.00000000,270.00000000); //object(med_office_desk_1) (8)
- CreateObject(1714,1471.69995117,-1781.69995117,3287.80004883,0.00000000,0.00000000,89.99450684); //object(kb_swivelchair1) (3)
- CreateObject(1800,1492.69995117,-1760.80004883,3284.30004883,0.00000000,0.00000000,0.00000000); //object(low_bed_1) (1)
- CreateObject(1800,1495.90002441,-1760.80004883,3284.30004883,0.00000000,0.00000000,0.00000000); //object(low_bed_1) (2)
- CreateObject(1800,1499.19995117,-1760.80004883,3284.30004883,0.00000000,0.00000000,0.00000000); //object(low_bed_1) (3)
- CreateObject(1800,1502.40002441,-1760.80004883,3284.30004883,0.00000000,0.00000000,0.00000000); //object(low_bed_1) (4)
- CreateObject(1800,1491.00000000,-1770.59997559,3284.30004883,0.00000000,0.00000000,0.00000000); //object(low_bed_1) (5)
- CreateObject(1800,1494.19995117,-1770.50000000,3284.30004883,0.00000000,0.00000000,0.00000000); //object(low_bed_1) (6)
- CreateObject(1800,1497.40002441,-1770.50000000,3284.30004883,0.00000000,0.00000000,0.00000000); //object(low_bed_1) (7)
- CreateObject(1800,1500.59997559,-1770.59997559,3284.30004883,0.00000000,0.00000000,0.00000000); //object(low_bed_1) (8)
- CreateObject(2738,1500.59997559,-1766.09997559,3284.89990234,0.00000000,0.00000000,90.00000000); //object(cj_toilet_bs) (1)
- CreateObject(2738,1497.30004883,-1766.09997559,3284.89990234,0.00000000,0.00000000,90.00000000); //object(cj_toilet_bs) (2)
- CreateObject(2738,1494.09997559,-1766.09997559,3284.89990234,0.00000000,0.00000000,90.00000000); //object(cj_toilet_bs) (3)
- CreateObject(2738,1490.90002441,-1766.09997559,3284.89990234,0.00000000,0.00000000,90.00000000); //object(cj_toilet_bs) (4)
- CreateObject(2738,1491.00000000,-1759.90002441,3284.89990234,0.00000000,0.00000000,90.00000000); //object(cj_toilet_bs) (5)
- CreateObject(2738,1494.09997559,-1760.00000000,3284.89990234,0.00000000,0.00000000,90.00000000); //object(cj_toilet_bs) (6)
- CreateObject(2738,1497.30004883,-1760.00000000,3284.89990234,0.00000000,0.00000000,90.00000000); //object(cj_toilet_bs) (7)
- CreateObject(2738,1500.59997559,-1759.90002441,3284.89990234,0.00000000,0.00000000,90.00000000); //object(cj_toilet_bs) (8)
- CreateObject(2524,1500.69995117,-1758.59997559,3284.30004883,0.00000000,0.00000000,90.00000000); //object(cj_b_sink4) (1)
- CreateObject(2524,1497.40002441,-1758.69995117,3284.30004883,0.00000000,0.00000000,90.00000000); //object(cj_b_sink4) (2)
- CreateObject(2524,1494.19995117,-1758.80004883,3284.30004883,0.00000000,0.00000000,90.00000000); //object(cj_b_sink4) (3)
- CreateObject(2524,1491.00000000,-1758.90002441,3284.30004883,0.00000000,0.00000000,90.00000000); //object(cj_b_sink4) (4)
- CreateObject(2524,1493.00000000,-1767.59997559,3284.30004883,0.00000000,0.00000000,270.00000000); //object(cj_b_sink4) (5)
- CreateObject(2524,1496.19995117,-1767.59997559,3284.30004883,0.00000000,0.00000000,270.00000000); //object(cj_b_sink4) (6)
- CreateObject(2524,1499.40002441,-1767.59997559,3284.30004883,0.00000000,0.00000000,270.00000000); //object(cj_b_sink4) (7)
- CreateObject(2524,1502.69995117,-1767.59997559,3284.30004883,0.00000000,0.00000000,270.00000000); //object(cj_b_sink4) (8)
- CreateObject(2007,1493.00000000,-1760.59997559,3284.30004883,0.00000000,0.00000000,270.00000000); //object(filing_cab_nu01) (3)
- CreateObject(2007,1496.19995117,-1760.50000000,3284.30004883,0.00000000,0.00000000,270.00000000); //object(filing_cab_nu01) (3)
- CreateObject(2007,1499.50000000,-1760.40002441,3284.30004883,0.00000000,0.00000000,270.00000000); //object(filing_cab_nu01) (3)
- CreateObject(2007,1502.69995117,-1760.30004883,3284.30004883,0.00000000,0.00000000,270.00000000); //object(filing_cab_nu01) (3)
- CreateObject(2007,1502.69995117,-1766.30004883,3284.30004883,0.00000000,0.00000000,270.00000000); //object(filing_cab_nu01) (3)
- CreateObject(2007,1499.40002441,-1766.30004883,3284.30004883,0.00000000,0.00000000,270.00000000); //object(filing_cab_nu01) (3)
- CreateObject(2007,1496.19995117,-1766.30004883,3284.30004883,0.00000000,0.00000000,270.00000000); //object(filing_cab_nu01) (3)
- CreateObject(2007,1493.00000000,-1766.30004883,3284.30004883,0.00000000,0.00000000,270.00000000); //object(filing_cab_nu01) (3)
- CreateObject(19450,1467.59997559,-1768.00097656,3286.00000000,0.00000000,0.00000000,270.00000000); //object(cs_detrok10) (1)
- CreateObject(1811,1472.30004883,-1758.90002441,3284.89990234,0.00000000,0.00000000,90.00000000); //object(med_din_chair_5) (2)
- CreateObject(1811,1471.50000000,-1758.90002441,3284.89990234,0.00000000,0.00000000,90.00000000); //object(med_din_chair_5) (2)
- CreateObject(1811,1470.69995117,-1758.90002441,3284.89990234,0.00000000,0.00000000,90.00000000); //object(med_din_chair_5) (2)
- CreateObject(1811,1469.90002441,-1758.90002441,3284.89990234,0.00000000,0.00000000,90.00000000); //object(med_din_chair_5) (2)
- CreateObject(18608,1473.50000000,-1763.19995117,3288.50000000,0.00000000,0.00000000,270.00000000); //object(counts_lights01) (1)
- CreateObject(18608,1452.09997559,-1763.80004883,3288.50000000,0.00000000,0.00000000,270.00000000); //object(counts_lights01) (2)
- CreateObject(18608,1474.80004883,-1756.40002441,3288.50000000,0.00000000,0.00000000,270.00000000); //object(counts_lights01) (3)
- CreateObject(18608,1470.90002441,-1750.90002441,3288.50000000,0.00000000,0.00000000,270.00000000); //object(counts_lights01) (4)
- CreateObject(18608,1474.69995117,-1777.80004883,3292.19995117,0.00000000,0.00000000,270.00000000); //object(counts_lights01) (5)
- CreateObject(18608,1464.09997559,-1786.69995117,3292.19995117,0.00000000,0.00000000,270.00000000); //object(counts_lights01) (6)
- CreateObject(18608,1483.89941406,-1788.89941406,3292.19995117,0.00000000,0.00000000,270.00000000); //object(counts_lights01) (7)
- CreateObject(18608,1492.80004883,-1763.19995117,3288.50000000,0.00000000,0.00000000,270.00000000); //object(counts_lights01) (8)
- CreateObject(1886,1465.09997559,-1757.59997559,3287.69995117,8.49990845,0.25277710,139.71264648); //object(shop_sec_cam) (1)
- CreateObject(1886,1483.40002441,-1757.80004883,3287.50000000,8.49792480,0.25268555,219.70764160); //object(shop_sec_cam) (2)
- CreateObject(1886,1502.69995117,-1764.40002441,3287.80004883,12.49789429,0.25598145,243.68652344); //object(shop_sec_cam) (3)
- CreateObject(1886,1465.19921875,-1767.50000000,3287.80004883,8.49792480,0.25268555,123.70056152); //object(shop_sec_cam) (4)
- CreateObject(19431,1469.40002441,-1793.19995117,3289.50000000,0.00000000,0.00000000,179.99450684); //object(cs_landbit_48_a) (11)
- CreateObject(19431,1474.09960938,-1792.79980469,3289.50000000,0.00000000,0.00000000,179.99450684); //object(cs_landbit_48_a) (11)
- CreateObject(19404,1471.69995117,-1793.50000000,3289.50000000,0.00000000,0.00000000,270.00000000); //object(boigagr_sfw) (1)
- CreateObject(19431,1474.09997559,-1793.50000000,3289.50000000,0.00000000,0.00000000,90.00000000); //object(cs_landbit_48_a) (11)
- CreateObject(19431,1469.30004883,-1793.50000000,3289.50000000,0.00000000,0.00000000,90.00000000); //object(cs_landbit_48_a) (11)
- CreateObject(19404,1476.50000000,-1793.50000000,3289.50000000,0.00000000,0.00000000,270.00000000); //object(boigagr_sfw) (2)
- CreateObject(19431,1478.90002441,-1793.50000000,3289.50000000,0.00000000,0.00000000,90.00000000); //object(cs_landbit_48_a) (11)
- CreateObject(4108,1480.50000000,-1805.90002441,3287.89990234,0.00000000,0.00000000,270.00000000); //object(roads01b_lan) (1)
- CreateObject(717,1477.09997559,-1805.90002441,3284.10009766,0.00000000,0.00000000,92.00000000); //object(sm_bevhiltreepv) (1)
- CreateObject(717,1486.59997559,-1805.80004883,3284.10009766,0.00000000,0.00000000,91.99951172); //object(sm_bevhiltreepv) (2)
- CreateObject(717,1496.59997559,-1805.69995117,3284.10009766,0.00000000,0.00000000,91.99951172); //object(sm_bevhiltreepv) (3)
- CreateObject(717,1508.80004883,-1805.59997559,3284.10009766,0.00000000,0.00000000,91.99951172); //object(sm_bevhiltreepv) (4)
- CreateObject(717,1520.59997559,-1805.50000000,3284.10009766,0.00000000,0.00000000,91.99951172); //object(sm_bevhiltreepv) (5)
- CreateObject(717,1467.80004883,-1805.90002441,3284.10009766,0.00000000,0.00000000,91.99951172); //object(sm_bevhiltreepv) (6)
- CreateObject(717,1457.09997559,-1805.59997559,3284.10009766,0.00000000,0.00000000,91.99951172); //object(sm_bevhiltreepv) (7)
- CreateObject(717,1445.30004883,-1805.19995117,3284.10009766,0.00000000,0.00000000,91.99951172); //object(sm_bevhiltreepv) (8)
- CreateObject(717,1434.90002441,-1805.30004883,3284.10009766,0.00000000,0.00000000,91.99951172); //object(sm_bevhiltreepv) (9)
- CreateObject(717,1421.90002441,-1805.69995117,3284.10009766,0.00000000,0.00000000,92.00000000); //object(sm_bevhiltreepv) (10)
- CreateObject(6199,1450.69995117,-1831.09997559,3295.89990234,0.00000000,0.00000000,4.75000000); //object(gaz27_law) (1)
- CreateObject(6199,1500.59997559,-1831.30004883,3295.89990234,0.00000000,0.00000000,4.74609375); //object(gaz27_law) (2)
- CreateObject(6364,1551.59997559,-1819.50000000,3308.19995117,0.00000000,0.00000000,68.00000000); //object(sunset07_law2) (1)
- CreateObject(6364,1568.69995117,-1845.80004883,3308.19995117,0.00000000,0.00000000,82.99987793); //object(sunset07_law2) (2)
- CreateObject(6391,1403.59997559,-1822.80004883,3327.60009766,0.00000000,0.00000000,97.00000000); //object(sanclifft05_law2) (1)
- CreateObject(3858,1474.50000000,-1793.50000000,3290.69995117,0.00000000,0.00000000,225.00000000); //object(ottosmash1) (1)
- CreateObject(3858,1474.50000000,-1793.50000000,3290.69995117,0.00000000,0.00000000,44.50000000); //object(ottosmash1) (2)
- CreateObject(2559,1468.90002441,-1749.30004883,3285.50000000,0.00000000,0.00000000,0.00000000); //object(curtain_1_open) (1)
- CreateObject(2559,1477.00000000,-1793.00000000,3289.00000000,0.00000000,0.00000000,179.99450684); //object(curtain_1_open) (2)
- CreateObject(4150,1484.90002441,-1741.19995117,3284.19995117,0.00000000,0.00000000,270.00000000); //object(roads14_lan) (1)
- CreateObject(19358,1482.19995117,-1748.80004883,3286.00000000,0.00000000,0.00000000,90.00000000); //object(road_sfw12) (3)
- CreateObject(19404,1479.00000000,-1748.80004883,3286.00000000,0.00000000,0.00000000,270.00000000); //object(boigagr_sfw) (3)
- CreateObject(19358,1475.80004883,-1748.80004883,3286.00000000,0.00000000,0.00000000,90.00000000); //object(road_sfw12) (3)
- CreateObject(19358,1472.59997559,-1748.80004883,3286.00000000,0.00000000,0.00000000,90.00000000); //object(road_sfw12) (3)
- CreateObject(19404,1469.40002441,-1748.80004883,3286.00000000,0.00000000,0.00000000,270.00000000); //object(boigagr_sfw) (4)
- CreateObject(19358,1466.19995117,-1748.80004883,3286.00000000,0.00000000,0.00000000,90.00000000); //object(road_sfw12) (3)
- CreateObject(3858,1474.19995117,-1748.80004883,3285.30004883,0.00000000,0.00000000,44.99462891); //object(ottosmash1) (3)
- CreateObject(3858,1474.19995117,-1748.80004883,3285.30004883,0.00000000,0.00000000,224.99450684); //object(ottosmash1) (4)
- CreateObject(2559,1472.19921875,-1793.00000000,3289.00000000,0.00000000,0.00000000,179.99450684); //object(curtain_1_open) (3)
- CreateObject(2559,1478.50000000,-1749.30004883,3285.50000000,0.00000000,0.00000000,0.00000000); //object(curtain_1_open) (4)
- CreateObject(4186,1454.90002441,-1689.09997559,3291.30004883,0.00000000,0.00000000,270.00000000); //object(pershingsq2_lan) (1)
- CreateObject(3985,1516.50000000,-1689.09997559,3283.80004883,0.00000000,0.00000000,270.00000000); //object(pershingsq1_lan) (1)
- CreateObject(713,1441.19995117,-1707.30004883,3281.10009766,0.00000000,0.00000000,0.00000000); //object(veg_bevtree1) (1)
- CreateObject(713,1527.69995117,-1710.80004883,3281.80004883,0.00000000,0.00000000,0.00000000); //object(veg_bevtree1) (2)
- CreateObject(713,1482.80004883,-1693.69995117,3285.30004883,0.00000000,0.00000000,0.00000000); //object(veg_bevtree1) (3)
- CreateObject(4016,1585.30004883,-1717.90002441,3292.10009766,0.00000000,0.00000000,270.00000000); //object(fighotbase_lan) (1)
- CreateObject(4006,1490.50000000,-1642.59997559,3304.50000000,0.00000000,0.00000000,270.00000000); //object(eastcolumb1_lan) (1)
- CreateObject(4008,1558.19995117,-1651.80004883,3292.00000000,0.00000000,0.00000000,272.00000000); //object(decoblok1_lan) (1)
- CreateObject(4005,1433.40002441,-1656.80004883,3297.80004883,0.00000000,0.00000000,270.00000000); //object(decoblok2_lan) (1)
- CreateObject(3980,1370.80004883,-1719.80004883,3294.00000000,0.00000000,0.00000000,270.00000000); //object(lacityhall1_lan) (1)
- CreateObject(4163,1415.80004883,-1678.50000000,3284.30004883,0.00000000,0.00000000,270.00000000); //object(roads24_lan) (1)
- CreateObject(4002,1360.50000000,-1717.69995117,3326.60009766,0.00000000,0.00000000,270.00000000); //object(lacityhall2_lan) (1)
- CreateObject(713,1422.19995117,-1669.09997559,3255.60009766,28.00000000,0.00000000,114.00000000); //object(veg_bevtree1) (4)
- //------------------[ Portões da DP/PM ]---------------------//
- //Portão
- door0 = CreateObject(1495,1487.00000000,-1762.42504883,3284.23608398,0.00000000,0.00000000,270.00000000); //object(gen_doorext01) (1)
- door1 = CreateObject(1495,1483.79003906,-1762.42504883,3284.23608398,0.00000000,0.00000000,270.00000000); //object(gen_doorext01) (2)
- door2 = CreateObject(1495,1479.85998535,-1758.31994629,3284.23388672,0.00000000,0.00000000,0.00000000); //object(gen_doorext01) (2)
- door3 = CreateObject(1495,1467.06701660,-1758.31994629,3284.23388672,0.00000000,0.00000000,0.00000000); //object(gen_doorext01) (2)
- //Cellas
- cell0 = CreateObject(1567,1491.21484375,-1764.90002441,3284.25048828,0.00000000,0.00000000,0.00000000); //object(gen_wardrobe) (2)
- cell1 = CreateObject(1567,1494.41210938,-1764.90002441,3284.25048828,0.00000000,0.00000000,0.00000000); //object(gen_wardrobe) (3)
- cell2 = CreateObject(1567,1497.61132812,-1764.90002441,3284.25048828,0.00000000,0.00000000,0.00000000); //object(gen_wardrobe) (4)
- cell3 = CreateObject(1567,1500.81445312,-1764.90002441,3284.25048828,0.00000000,0.00000000,0.00000000); //object(gen_wardrobe) (6)
- cell4 = CreateObject(1567,1500.81994629,-1761.51000977,3284.25048828,0.00000000,0.00000000,0.00000000); //object(gen_wardrobe) (7)
- cell5 = CreateObject(1567,1491.22094727,-1761.50000000,3284.25048828,0.00000000,0.00000000,0.00000000); //object(gen_wardrobe) (8)
- cell6 = CreateObject(1567,1494.41894531,-1761.51000977,3284.25048828,0.00000000,0.00000000,0.00000000); //object(gen_wardrobe) (9)
- cell7 = CreateObject(1567,1497.61999512,-1761.51000977,3284.25048828,0.00000000,0.00000000,0.00000000); //object(gen_wardrobe) (10)
- //------------( Settimer )-------------
- supercam = SetTimer("ActionCamera", 1, 1);
- SetTimer("UpTime",3600000,true);//3600000 - 1 Hora
- Hacker = SetTimer("Henrique",1,1);
- SetTimer("hora",1000,1);
- checkgastimer = SetTimer("TempoGasolina", TimerGAS, 1);
- TempoVelo = SetTimer("Velocimetro",1,1);
- Loop(i,MAX_PLAYERS)
- {
- //----------------[ Velocimetro ]----------------//
- Speed[i] = TextDrawCreate(500.000000, 370.000000,"_");
- TextDrawUseBox(Speed[i],0);
- TextDrawBoxColor(Speed[i],0x00000065);
- TextDrawTextSize(Speed[i],633.000000, -19.000000);
- TextDrawAlignment(Speed[i],0);
- TextDrawBackgroundColor(Speed[i],0x000000FF);
- TextDrawFont(Speed[i],1);
- TextDrawLetterSize(Speed[i],0.270000, 1.000000);
- TextDrawColor(Speed[i],0xFFFFFFFF);
- TextDrawSetOutline(Speed[i],1);
- TextDrawSetProportional(Speed[i],1);
- TextDrawSetShadow(Speed[i],1);
- //------------[ Faixa Preta ]--------------//
- Faixa0[i] = TextDrawCreate(641.000000, 2.000000, "~n~n~n~");
- TextDrawBackgroundColor(Faixa0[i], 255);
- TextDrawFont(Faixa0[i], 1);
- TextDrawLetterSize(Faixa0[i], 1.009999, 5.499997);
- TextDrawColor(Faixa0[i], -1);
- TextDrawSetOutline(Faixa0[i], 0);
- TextDrawSetProportional(Faixa0[i], 1);
- TextDrawSetShadow(Faixa0[i], 4);
- TextDrawUseBox(Faixa0[i], 1);
- TextDrawBoxColor(Faixa0[i], 255);
- TextDrawTextSize(Faixa0[i], -4.000000, 6.000000);
- Faixa1[i] = TextDrawCreate(678.000000, 347.000000, "~n~n~n~");
- TextDrawBackgroundColor(Faixa1[i], 255);
- TextDrawFont(Faixa1[i], 1);
- TextDrawLetterSize(Faixa1[i], 1.009999, 5.499997);
- TextDrawColor(Faixa1[i], -1);
- TextDrawSetOutline(Faixa1[i], 0);
- TextDrawSetProportional(Faixa1[i], 1);
- TextDrawSetShadow(Faixa1[i], 4);
- TextDrawUseBox(Faixa1[i], 1);
- TextDrawBoxColor(Faixa1[i], 255);
- TextDrawTextSize(Faixa1[i], -4.000000, 6.000000);
- //---------------[ Text Draw ao Morrer ]-----------------//
- Textdraw0[i] = TextDrawCreate(650.000000, 2.000000, "_");
- TextDrawBackgroundColor(Textdraw0[i], 255);
- TextDrawFont(Textdraw0[i], 1);
- TextDrawLetterSize(Textdraw0[i], 1.100000, 50.000000);
- TextDrawColor(Textdraw0[i], -1);
- TextDrawSetOutline(Textdraw0[i], 0);
- TextDrawSetProportional(Textdraw0[i], 1);
- TextDrawSetShadow(Textdraw0[i], 1);
- TextDrawUseBox(Textdraw0[i], 1);
- TextDrawBoxColor(Textdraw0[i], -16776961);
- TextDrawTextSize(Textdraw0[i], -10.000000, 60.000000);
- Textdraw2[i] = TextDrawCreate(314.000000, 205.000000, "Voce Morreu...");
- TextDrawAlignment(Textdraw2[i], 2);
- TextDrawBackgroundColor(Textdraw2[i], 255);
- TextDrawFont(Textdraw2[i], 1);
- TextDrawLetterSize(Textdraw2[i], 1.000000, 4.000000);
- TextDrawColor(Textdraw2[i], -1);
- TextDrawSetOutline(Textdraw2[i], 0);
- TextDrawSetProportional(Textdraw2[i], 1);
- TextDrawSetShadow(Textdraw2[i], 1);
- }
- return 1;
- }
- public ImprimirInformacoes()
- {
- print("\n(=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=)");
- print("\n\nCaregando\n");
- VerificarPasta("Logs");
- CriarLogs();
- VerificarPasta("Banidos");
- VerificarPasta("Banidos/Contas");
- VerificarPasta("Admins");
- VerificarArquivo("Fodidos.txt");
- VerificarArquivo("Admins.adm");
- VerificarArquivo("Helpers.hel");
- VerificarArquivo("Vips.vip");
- VerificarPasta("Contas");
- print("\nEuro RPG Carregado com sucesso.\n");
- print("\nUse /la para ajuda.");
- print("Bom Jogo :D\n\n");
- print("(=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=)");
- return 1;
- }
- public VerificarPasta(pasta[])
- {
- format(String, sizeof(String), "EuroRPG/%s/verificacao",pasta);
- DOF2_CreateFile(String);
- if(DOF2_FileExists(String))
- {
- printf("Pasta '%s' Encontrada e carregada com sucesso.", pasta);
- }
- else if(!DOF2_FileExists(String))
- {
- printf("Pasta '%s' Não encontrada.", pasta);
- }
- DOF2_RemoveFile(String);
- return 1;
- }
- public VerificarArquivo(arquivo[])
- {
- format(String, sizeof(String), "EuroRPG/%s", arquivo);
- if(DOF2_FileExists(String))
- {
- printf("Arquivo '%s' Encontrado e carregado com sucesso.", arquivo);
- return 1;
- }
- else if(!DOF2_FileExists(String))
- {
- printf("Arquivo '%s' não encontrado. O FS o criou automaticamente.", arquivo);
- DOF2_CreateFile(String);
- return 1;
- }
- return 1;
- }
- public OnGameModeExit()
- {
- for(new i = 0; i < MAX_PLAYERS; ++i)
- {
- SalvarDados(i);
- }
- SalvarBancoDasOrgs();
- KillTimer(TempoSequestrar);
- KillTimer(TempoVelo);
- KillTimer(Hacker);
- KillTimer(supercam);
- KillTimer(checkgastimer);
- DOF2_Exit();
- for(new playerid = 0; playerid < MAX_PLAYERS; playerid++)
- {
- TextDrawHideForAll(Speed[playerid]);
- TextDrawDestroy(Speed[playerid]);
- }
- return 1;
- }
- public OnPlayerConnect(playerid)
- {
- TextDrawShowForPlayer(playerid, Faixa0[playerid]);
- TextDrawShowForPlayer(playerid, Faixa1[playerid]);
- if(strfind(Nome(playerid),"clock$",true) != -1) Ban(playerid);
- if(strfind(Nome(playerid),"prn",true) != -1) Ban(playerid);
- if(strfind(Nome(playerid),"Carl",true) != -1) Ban(playerid);
- if(strfind(Nome(playerid),"con",true) != -1) Ban(playerid);
- if(strfind(Nome(playerid),"SgtPepper",true) != -1) Ban(playerid);
- if(strfind(Nome(playerid),"Pepe",true) != -1) Ban(playerid);
- if(strfind(Nome(playerid),"nul",true) != -1) Ban(playerid);
- if(strfind(Nome(playerid),"Pepno",true) != -1) Ban(playerid);
- if(strfind(Nome(playerid),"Pepsi",true) != -1) Ban(playerid);
- if(strfind(Nome(playerid),"Rocky",true) != -1) Ban(playerid);
- if(strfind(Nome(playerid),"Carl",true) != -1) Ban(playerid);
- if(strfind(Nome(playerid),"Vino_Toro",true) != -1) Ban(playerid);
- if(strfind(Nome(playerid),"Zoquete",true) != -1) Ban(playerid);
- if(strfind(Nome(playerid),"AquilesBrinco",true) != -1) Ban(playerid);
- if(strfind(Nome(playerid),"Azucar",true) != -1) Ban(playerid);
- if(strfind(Nome(playerid),"Manfrey",true) != -1) Ban(playerid);
- if(strfind(Nome(playerid),"Papirola",true) != -1) Ban(playerid);
- if(strfind(Nome(playerid),"[ViP]Labrik",true) != -1)Ban(playerid);
- if(strfind(Nome(playerid),"Sony",true) != -1) Ban(playerid);
- if(strfind(Nome(playerid),"Pacman",true) != -1) Ban(playerid);
- if(strfind(Nome(playerid),"Batman",true) != -1)Ban(playerid);
- if(strfind(Nome(playerid),"aux",true) != -1) Ban(playerid);
- if(strfind(Nome(playerid),"com1",true) != -1) Ban(playerid);
- if(strfind(Nome(playerid),"com2",true) != -1) Ban(playerid);
- if(strfind(Nome(playerid),"com3",true) != -1) Ban(playerid);
- if(strfind(Nome(playerid),"com4",true) != -1) Ban(playerid);
- if(strfind(Nome(playerid),"com5",true) != -1) Ban(playerid);
- if(strfind(Nome(playerid),"com6",true) != -1) Ban(playerid);
- if(strfind(Nome(playerid),"com7",true) != -1) Ban(playerid);
- if(strfind(Nome(playerid),"com8",true) != -1) Ban(playerid);
- if(strfind(Nome(playerid),"com9",true) != -1) Ban(playerid);
- if(strfind(Nome(playerid),"lpt1",true) != -1) Ban(playerid);
- if(strfind(Nome(playerid),"lpt2",true) != -1) Ban(playerid);
- if(strfind(Nome(playerid),"lpt3",true) != -1) Ban(playerid);
- if(strfind(Nome(playerid),"lpt4",true) != -1) Ban(playerid);
- if(strfind(Nome(playerid),"lpt5",true) != -1) Ban(playerid);
- if(strfind(Nome(playerid),"lpt6",true) != -1) Ban(playerid);
- if(strfind(Nome(playerid),"lpt8",true) != -1) Ban(playerid);
- if(strfind(Nome(playerid),"lpt9",true) != -1) Ban(playerid);
- Pergunta[playerid] = "Nenhuma";
- SetTimerEx("TocarSom", 1000, false, "i", playerid);
- PlayersOnline++;
- PlayerDados[playerid][Logado] = false;
- PlayerDados[playerid][Admin] = 0;
- PlayerDados[playerid][Helper] = false;
- PlayerDados[playerid][Vip] = false;
- PlayerDados[playerid][Sexo] = 0;
- Pagamento[playerid] = 0;
- NoFuel[playerid] = 0;
- PlayerDados[playerid][Organizacao] = 0;
- InviteOffer[playerid] = 999;
- TextShow[playerid] = false;
- PlayerDados[playerid][Emprego] = 0;
- pBarreira[playerid] = 0;
- pBarreira2[playerid] = 0;
- pBarreira3[playerid] = 0;
- pBarreira4[playerid] = 0;
- pBarreira5[playerid] = 0;
- Amarradoo[playerid] = 0;
- ArmadeChoque[playerid] = 0; BaterCartao[playerid] = 0; JogadorImo[playerid] = 0; JogadorImoTempo[playerid] = 0;
- pBancoDasOrgs[playerid] = 0; Algemado[playerid] = 0;
- PlayerDados[playerid][Cargo] = 0;
- PlayerDados[playerid][Respeito] = 0;
- SetPlayerSkin(playerid,PlayerDados[playerid][pSkin]);
- SetPlayerWantedLevel(playerid, PlayerDados[playerid][Procurado]);
- SetPlayerScore(playerid, PlayerDados[playerid][pLevel]);
- PlayerDados[playerid][pSkin] = GetPlayerSkin(playerid);
- VariosEmpregos[playerid] = 0;
- PlayerDados[playerid][Tutorial] = false;
- new strConta[80];
- new Ip[25];
- for(new t = 0; t < 100; ++t)
- {
- SendClientMessage(playerid, -1, " ");
- }
- format(strConta, sizeof(strConta), "EuroRPG/Banidos/Contas/%s.txt", Nome(playerid));
- if(DOF2_FileExists(strConta))
- {
- format(String, sizeof(String), "{FFFFFF}Você está banido deste servidor!\n\n Dados do Banimento:\n\n{45F75A}Admin: {FFFFFF}%s \n{45F75A}Motivo: {FFFFFF}%s", DOF2_GetString(strConta, "Admin"), DOF2_GetString(strConta, "Motivo"));
- format(String, sizeof(String), "%s\n{45F75A}Data: {FFFFFF}%d/%d/%d \n{45F75A}Hora: {FFFFFF}%d:%d", String, DOF2_GetInt(strConta, "Dia"), DOF2_GetInt(strConta, "Mes"), DOF2_GetInt(strConta, "Ano"), DOF2_GetInt(strConta, "Hora"), DOF2_GetInt(strConta, "Minuto"));
- ShowPlayerDialog(playerid, DIALOG_BANIDO, DIALOG_STYLE_MSGBOX, "Banido!", String, "Fechar", "");
- return 1;
- }
- GetPlayerIp(playerid, Ip, 25);
- if(strcmp(Ip ,"255.255.255.255", true) == 0)
- {
- Ban(playerid);
- }
- //----------------[ Mapa Icones ]----------------//
- SetPlayerMapIcon(playerid,56,1481.3912,-1772.4340,15.3327, 56, 0xFF0000FF);// Icone Prefeitura !
- SetPlayerMapIcon(playerid,36,1411.5503,-1699.5452,13.5395, 36, 0xFF0000FF);// Icone Centro de Licença !
- SetPlayerMapIcon(playerid,30,1555.3458,-1675.6226,16.1953, 30, 0xFF0000FF);//Icone da DP
- //-------------------[ Remover Objectos ]---------------//
- RemoveBuildingForPlayer(playerid, 4024, 1479.8672, -1790.3984, 56.0234, 0.25);
- RemoveBuildingForPlayer(playerid, 4044, 1481.1875, -1785.0703, 22.3828, 0.25);
- RemoveBuildingForPlayer(playerid, 4057, 1479.5547, -1693.1406, 19.5781, 0.25);
- RemoveBuildingForPlayer(playerid, 1527, 1448.2344, -1755.8984, 14.5234, 0.25);
- RemoveBuildingForPlayer(playerid, 4210, 1479.5625, -1631.4531, 12.0781, 0.25);
- RemoveBuildingForPlayer(playerid, 713, 1457.9375, -1620.6953, 13.4531, 0.25);
- RemoveBuildingForPlayer(playerid, 713, 1496.8672, -1707.8203, 13.4063, 0.25);
- RemoveBuildingForPlayer(playerid, 1283, 1430.1719, -1719.4688, 15.6250, 0.25);
- RemoveBuildingForPlayer(playerid, 1226, 1451.6250, -1727.6719, 16.4219, 0.25);
- RemoveBuildingForPlayer(playerid, 4002, 1479.8672, -1790.3984, 56.0234, 0.25);
- RemoveBuildingForPlayer(playerid, 3980, 1481.1875, -1785.0703, 22.3828, 0.25);
- RemoveBuildingForPlayer(playerid, 4003, 1481.0781, -1747.0313, 33.5234, 0.25);
- RemoveBuildingForPlayer(playerid, 1226, 1467.9844, -1727.6719, 16.4219, 0.25);
- RemoveBuildingForPlayer(playerid, 1226, 1485.1719, -1727.6719, 16.4219, 0.25);
- RemoveBuildingForPlayer(playerid, 1280, 1468.9844, -1713.5078, 13.4531, 0.25);
- RemoveBuildingForPlayer(playerid, 1231, 1479.6953, -1716.7031, 15.6250, 0.25);
- RemoveBuildingForPlayer(playerid, 1226, 1505.1797, -1727.6719, 16.4219, 0.25);
- RemoveBuildingForPlayer(playerid, 1280, 1488.7656, -1713.7031, 13.4531, 0.25);
- RemoveBuildingForPlayer(playerid, 1289, 1504.7500, -1711.8828, 13.5938, 0.25);
- RemoveBuildingForPlayer(playerid, 1258, 1445.0078, -1704.7656, 13.6953, 0.25);
- RemoveBuildingForPlayer(playerid, 1226, 1433.7109, -1702.3594, 16.4219, 0.25);
- RemoveBuildingForPlayer(playerid, 1226, 1433.7109, -1676.6875, 16.4219, 0.25);
- RemoveBuildingForPlayer(playerid, 1258, 1445.0078, -1692.2344, 13.6953, 0.25);
- RemoveBuildingForPlayer(playerid, 1226, 1433.7109, -1656.2500, 16.4219, 0.25);
- RemoveBuildingForPlayer(playerid, 1226, 1433.7109, -1636.2344, 16.4219, 0.25);
- RemoveBuildingForPlayer(playerid, 712, 1445.8125, -1650.0234, 22.2578, 0.25);
- RemoveBuildingForPlayer(playerid, 1226, 1433.7109, -1619.0547, 16.4219, 0.25);
- RemoveBuildingForPlayer(playerid, 1283, 1443.2031, -1592.9453, 15.6250, 0.25);
- RemoveBuildingForPlayer(playerid, 673, 1457.7266, -1710.0625, 12.3984, 0.25);
- RemoveBuildingForPlayer(playerid, 620, 1461.6563, -1707.6875, 11.8359, 0.25);
- RemoveBuildingForPlayer(playerid, 1280, 1468.9844, -1704.6406, 13.4531, 0.25);
- RemoveBuildingForPlayer(playerid, 700, 1463.0625, -1701.5703, 13.7266, 0.25);
- RemoveBuildingForPlayer(playerid, 1231, 1479.6953, -1702.5313, 15.6250, 0.25);
- RemoveBuildingForPlayer(playerid, 673, 1457.5547, -1697.2891, 12.3984, 0.25);
- RemoveBuildingForPlayer(playerid, 1280, 1468.9844, -1694.0469, 13.4531, 0.25);
- RemoveBuildingForPlayer(playerid, 1231, 1479.3828, -1692.3906, 15.6328, 0.25);
- RemoveBuildingForPlayer(playerid, 4186, 1479.5547, -1693.1406, 19.5781, 0.25);
- RemoveBuildingForPlayer(playerid, 620, 1461.1250, -1687.5625, 11.8359, 0.25);
- RemoveBuildingForPlayer(playerid, 700, 1463.0625, -1690.6484, 13.7266, 0.25);
- RemoveBuildingForPlayer(playerid, 641, 1458.6172, -1684.1328, 11.1016, 0.25);
- RemoveBuildingForPlayer(playerid, 625, 1457.2734, -1666.2969, 13.6953, 0.25);
- RemoveBuildingForPlayer(playerid, 1280, 1468.9844, -1682.7188, 13.4531, 0.25);
- RemoveBuildingForPlayer(playerid, 712, 1471.4063, -1666.1797, 22.2578, 0.25);
- RemoveBuildingForPlayer(playerid, 1231, 1479.3828, -1682.3125, 15.6328, 0.25);
- RemoveBuildingForPlayer(playerid, 625, 1458.2578, -1659.2578, 13.6953, 0.25);
- RemoveBuildingForPlayer(playerid, 712, 1449.8516, -1655.9375, 22.2578, 0.25);
- RemoveBuildingForPlayer(playerid, 1231, 1477.9375, -1652.7266, 15.6328, 0.25);
- RemoveBuildingForPlayer(playerid, 1280, 1479.6094, -1653.2500, 13.4531, 0.25);
- RemoveBuildingForPlayer(playerid, 625, 1457.3516, -1650.5703, 13.6953, 0.25);
- RemoveBuildingForPlayer(playerid, 625, 1454.4219, -1642.4922, 13.6953, 0.25);
- RemoveBuildingForPlayer(playerid, 1280, 1467.8516, -1646.5938, 13.4531, 0.25);
- RemoveBuildingForPlayer(playerid, 1280, 1472.8984, -1651.5078, 13.4531, 0.25);
- RemoveBuildingForPlayer(playerid, 1280, 1465.9375, -1639.8203, 13.4531, 0.25);
- RemoveBuildingForPlayer(playerid, 1231, 1466.4688, -1637.9609, 15.6328, 0.25);
- RemoveBuildingForPlayer(playerid, 625, 1449.5938, -1635.0469, 13.6953, 0.25);
- RemoveBuildingForPlayer(playerid, 1280, 1467.7109, -1632.8906, 13.4531, 0.25);
- RemoveBuildingForPlayer(playerid, 1232, 1465.8906, -1629.9766, 15.5313, 0.25);
- RemoveBuildingForPlayer(playerid, 1280, 1472.6641, -1627.8828, 13.4531, 0.25);
- RemoveBuildingForPlayer(playerid, 1280, 1479.4688, -1626.0234, 13.4531, 0.25);
- RemoveBuildingForPlayer(playerid, 3985, 1479.5625, -1631.4531, 12.0781, 0.25);
- RemoveBuildingForPlayer(playerid, 4206, 1479.5547, -1639.6094, 13.6484, 0.25);
- RemoveBuildingForPlayer(playerid, 1232, 1465.8359, -1608.3750, 15.3750, 0.25);
- RemoveBuildingForPlayer(playerid, 1229, 1466.4844, -1598.0938, 14.1094, 0.25);
- RemoveBuildingForPlayer(playerid, 1226, 1451.3359, -1596.7031, 16.4219, 0.25);
- RemoveBuildingForPlayer(playerid, 1226, 1471.3516, -1596.7031, 16.4219, 0.25);
- RemoveBuildingForPlayer(playerid, 1280, 1488.7656, -1704.5938, 13.4531, 0.25);
- RemoveBuildingForPlayer(playerid, 700, 1494.2109, -1694.4375, 13.7266, 0.25);
- RemoveBuildingForPlayer(playerid, 1280, 1488.7656, -1693.7344, 13.4531, 0.25);
- RemoveBuildingForPlayer(playerid, 620, 1496.9766, -1686.8516, 11.8359, 0.25);
- RemoveBuildingForPlayer(playerid, 641, 1494.1406, -1689.2344, 11.1016, 0.25);
- RemoveBuildingForPlayer(playerid, 1280, 1488.7656, -1682.6719, 13.4531, 0.25);
- RemoveBuildingForPlayer(playerid, 712, 1480.6094, -1666.1797, 22.2578, 0.25);
- RemoveBuildingForPlayer(playerid, 712, 1488.2266, -1666.1797, 22.2578, 0.25);
- RemoveBuildingForPlayer(playerid, 1280, 1486.4063, -1651.3906, 13.4531, 0.25);
- RemoveBuildingForPlayer(playerid, 1280, 1491.3672, -1646.3828, 13.4531, 0.25);
- RemoveBuildingForPlayer(playerid, 1280, 1493.1328, -1639.4531, 13.4531, 0.25);
- RemoveBuildingForPlayer(playerid, 1280, 1486.1797, -1627.7656, 13.4531, 0.25);
- RemoveBuildingForPlayer(playerid, 1280, 1491.2188, -1632.6797, 13.4531, 0.25);
- RemoveBuildingForPlayer(playerid, 1232, 1494.4141, -1629.9766, 15.5313, 0.25);
- RemoveBuildingForPlayer(playerid, 1232, 1494.3594, -1608.3750, 15.3750, 0.25);
- RemoveBuildingForPlayer(playerid, 1226, 1488.5313, -1596.7031, 16.4219, 0.25);
- RemoveBuildingForPlayer(playerid, 1229, 1498.0547, -1598.0938, 14.1094, 0.25);
- RemoveBuildingForPlayer(playerid, 1288, 1504.7500, -1705.4063, 13.5938, 0.25);
- RemoveBuildingForPlayer(playerid, 1287, 1504.7500, -1704.4688, 13.5938, 0.25);
- RemoveBuildingForPlayer(playerid, 1286, 1504.7500, -1695.0547, 13.5938, 0.25);
- RemoveBuildingForPlayer(playerid, 1285, 1504.7500, -1694.0391, 13.5938, 0.25);
- RemoveBuildingForPlayer(playerid, 673, 1498.9609, -1684.6094, 12.3984, 0.25);
- RemoveBuildingForPlayer(playerid, 625, 1504.1641, -1662.0156, 13.6953, 0.25);
- RemoveBuildingForPlayer(playerid, 625, 1504.7188, -1670.9219, 13.6953, 0.25);
- RemoveBuildingForPlayer(playerid, 620, 1503.1875, -1621.1250, 11.8359, 0.25);
- RemoveBuildingForPlayer(playerid, 673, 1501.2813, -1624.5781, 12.3984, 0.25);
- RemoveBuildingForPlayer(playerid, 673, 1498.3594, -1616.9688, 12.3984, 0.25);
- RemoveBuildingForPlayer(playerid, 1226, 1504.8906, -1596.7031, 16.4219, 0.25);
- RemoveBuildingForPlayer(playerid, 712, 1508.4453, -1668.7422, 22.2578, 0.25);
- RemoveBuildingForPlayer(playerid, 625, 1505.6953, -1654.8359, 13.6953, 0.25);
- RemoveBuildingForPlayer(playerid, 625, 1508.5156, -1647.8594, 13.6953, 0.25);
- RemoveBuildingForPlayer(playerid, 625, 1513.2734, -1642.4922, 13.6953, 0.25);
- RemoveBuildingForPlayer(playerid, 1258, 1510.8906, -1607.3125, 13.6953, 0.25);
- RemoveBuildingForPlayer(playerid, 1226, 1524.8281, -1721.6328, 16.4219, 0.25);
- RemoveBuildingForPlayer(playerid, 1226, 1524.8281, -1705.2734, 16.4219, 0.25);
- RemoveBuildingForPlayer(playerid, 1229, 1524.2188, -1693.9688, 14.1094, 0.25);
- RemoveBuildingForPlayer(playerid, 1226, 1524.8281, -1688.0859, 16.4219, 0.25);
- RemoveBuildingForPlayer(playerid, 1229, 1524.2188, -1673.7109, 14.1094, 0.25);
- RemoveBuildingForPlayer(playerid, 1226, 1524.8281, -1668.0781, 16.4219, 0.25);
- RemoveBuildingForPlayer(playerid, 1226, 1524.8281, -1647.6406, 16.4219, 0.25);
- RemoveBuildingForPlayer(playerid, 1226, 1524.8281, -1621.9609, 16.4219, 0.25);
- RemoveBuildingForPlayer(playerid, 1226, 1525.3828, -1611.1563, 16.4219, 0.25);
- RemoveBuildingForPlayer(playerid, 1283, 1528.9531, -1605.8594, 15.6250, 0.25);
- //------------------// Novo BAR !
- RemoveBuildingForPlayer(playerid, 642, 1561.7969, -1894.7578, 13.7578, 0.25);
- RemoveBuildingForPlayer(playerid, 643, 1561.8203, -1894.7188, 12.8672, 0.25);
- RemoveBuildingForPlayer(playerid, 625, 1566.1797, -1893.1016, 13.2109, 0.25);
- RemoveBuildingForPlayer(playerid, 625, 1573.4531, -1893.1016, 13.2109, 0.25);
- RemoveBuildingForPlayer(playerid, 642, 1573.9766, -1894.8281, 13.7578, 0.25);
- RemoveBuildingForPlayer(playerid, 643, 1574.0000, -1894.7891, 12.8672, 0.25);
- RemoveBuildingForPlayer(playerid, 642, 1561.7969, -1889.8906, 13.7578, 0.25);
- RemoveBuildingForPlayer(playerid, 643, 1561.8203, -1889.8594, 12.8672, 0.25);
- RemoveBuildingForPlayer(playerid, 625, 1566.1797, -1887.3438, 13.2109, 0.25);
- RemoveBuildingForPlayer(playerid, 642, 1561.6250, -1884.8672, 13.7578, 0.25);
- RemoveBuildingForPlayer(playerid, 643, 1561.6484, -1884.8281, 12.8672, 0.25);
- RemoveBuildingForPlayer(playerid, 625, 1573.4531, -1887.3438, 13.2109, 0.25);
- RemoveBuildingForPlayer(playerid, 643, 1574.0000, -1889.9453, 12.8672, 0.25);
- RemoveBuildingForPlayer(playerid, 642, 1573.9766, -1889.9844, 13.7578, 0.25);
- RemoveBuildingForPlayer(playerid, 642, 1574.0156, -1884.9531, 13.7578, 0.25);
- RemoveBuildingForPlayer(playerid, 643, 1574.0391, -1884.9219, 12.8672, 0.25);
- //--------------------------//
- if(DOF2_IsSet("EuroRPG/Banidos/Ips.txt", Ip))
- {
- format(String, sizeof(String), "{FFFFFF} Seu IP está banido deste Servidor!\n\nDados:\nIP:%s\n%s", Ip, DOF2_GetString("EuroRPG/Banidos/Ips.txt", Ip));
- ShowPlayerDialog(playerid, DIALOG_BANIDO, DIALOG_STYLE_MSGBOX, "Banido!", String, "Fechar", "");
- return 1;
- }
- if(DOF2_IsSet("EuroRPG/Fodidos.txt", Ip))
- {
- SetTimerEx("FoderSpawn", 1000, false, "i", playerid);
- return 1;
- }
- format(String, sizeof(String), "{00FFFF}%s {FFFFFF}Conectou ao servidor", Nome(playerid));
- SendClientMessageToAll(VERDE_CLARO, String);
- format(StringContas, sizeof(StringContas), "EuroRPG/Contas/%s.txt", Nome(playerid));
- #if (USAR_TEXT == 1) && (USAR_SISTEMA_REGISTRO == 1)
- TextFundo(playerid);
- #endif
- #if USAR_SISTEMA_REGISTRO == 1
- if(!DOF2_FileExists(StringContas))
- {
- SetPlayerCameraPos(playerid,1460.0, -1324.0, 287.2);
- SetPlayerCameraLookAt(playerid,1374.5, -1291.1, 239.0);
- Camera[playerid] = 1;
- CameraX[playerid] = 1460.0;
- CameraY[playerid] = -1324.0;
- CameraZ[playerid] = 287.2;
- format(String, sizeof(String), "{FFFFFF}Conta: {FF0000}%s\n{FFFFFF}Não {FF0000}Registrada.\n\n{FFFFFF}Digite uma senha para se {FF0000}Registrar\n{FFFFFF}Em nosso Banco de Dados.", Nome(playerid));
- ShowPlayerDialog(playerid, DIALOG_REGISTRO, DIALOG_STYLE_PASSWORD, "{1EB2FC}Registrando...", String, "Registrar", "Sair");
- return 1;
- }
- else
- {
- #if AUTO_LOGIN == true
- new ip[25];
- GetPlayerIp(playerid, ip, sizeof ip);
- if(strcmp(ip, DOF2_GetString(StringContas, "IP"), true) == 0) {
- PlayerDados[playerid][Matou] = DOF2_GetInt(StringContas, "Matou");
- PlayerDados[playerid][Morreu] = DOF2_GetInt(StringContas, "Morreu");
- PlayerDados[playerid][Sexo] = DOF2_GetInt(StringContas, "Sexo");
- PlayerDados[playerid][Organizacao] = DOF2_GetInt(StringContas, "Organizacao");
- PlayerDados[playerid][Emprego] = DOF2_GetInt(StringContas, "Emprego");
- PlayerDados[playerid][Cargo] = DOF2_GetInt(StringContas, "Cargo");
- new str[50];
- format(str, 50, "EuroRPG/Admins/%s.sav", Nome(playerid));
- if(DOF2_FileExists(str)) {
- if(DOF2_IsSet(str, "Admin")) {
- PlayerDados[playerid][Admin] = DOF2_GetInt(str, "Admin");
- }
- if(DOF2_IsSet(str, "Helper")) {
- PlayerDados[playerid][Helper] = DOF2_GetBool(str, "Helper");
- }
- if(DOF2_IsSet(str, "Vip")) {
- PlayerDados[playerid][Vip] = DOF2_GetBool(str, "Vip");
- }
- }
- PlayerDados[playerid][Advertencias] = DOF2_GetInt(StringContas, "Advertencias");
- PlayerDados[playerid][Respeito] = DOF2_GetInt(StringContas, "Respeito");
- GivePlayerMoney(playerid, DOF2_GetInt(StringContas, "Grana"));
- GetPlayerSkin(playerid, DOF2_GetInt(StringContas, "pSkin"));
- SetPlayerWantedLevel(playerid, DOF2_GetInt(StringContas, "Procurado"));
- SetPlayerScore(playerid, DOF2_GetInt(StringContas, "pLevel"));
- PlayerDados[playerid][Preso] = DOF2_GetInt(StringContas, "Preso");
- PlayerDados[playerid][Motorista] = DOF2_GetInt(StringContas, "Motorista");
- SendClientMessage(playerid, VERDE_CLARO, "Você foi logado altomaticamente através de seu IP.");
- #if USAR_TEXT == 1
- TextDrawDestroy(Inicio[playerid]);
- #endif
- if(PlayerDados[playerid][Admin] > 0)
- {
- format(String, sizeof(String), "Logado de Admin Nível {FF0000}%d", PlayerDados[playerid][Admin]);
- SendClientMessage(playerid, AZUL_CLARO, String);
- format(String, sizeof(String), "~w~Admin ~g~%s ~y~Online", Nome(playerid));
- GameTextForAll(String, 1000, 1);
- PlayerDados[playerid][Trabalhando] = true;
- SendClientMessage(playerid, AZUL_CLARO, "Você está trabalhando, para jogar use /jogar");
- SetPlayerSkin(playerid, 211);
- SetPlayerColor(playerid, COR_ROSA);
- SetPlayerHealth(playerid, 999999);
- }
- return 1;
- }
- #endif
- SetPlayerCameraPos(playerid,1460.0, -1324.0, 287.2);
- SetPlayerCameraLookAt(playerid,1374.5, -1291.1, 239.0);
- Camera[playerid] = 1;
- CameraX[playerid] = 1460.0;
- CameraY[playerid] = -1324.0;
- CameraZ[playerid] = 287.2;
- format(String, sizeof(String), "{FFFFFF}Conta: {FF0000}%s\n{FFFFFF}Conta {FF0000}Registrada.\n\n{FFFFFF}Digite sua senha para {FF0000}Logar", Nome(playerid));
- ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_PASSWORD, "{FC14E9}Logando...", String, "Logar", "Sair");
- return 1;
- }
- #else
- return 1;
- #endif
- }
- public FoderSpawn(playerid)
- {
- SetSpawnInfo(playerid, 0, 0, 107.2300,1920.6311,18.5208, 0, 0, 0, 0, 0, 0, 0);
- SpawnPlayer(playerid);
- SetPlayerWorldBounds(ID, 337.5694,101.5826,1940.9759,1798.7453);
- TogglePlayerControllable(ID, false);
- Msg(playerid, VERMELHO, "Você foi fodido por um admin! Agora aguente!");
- return 1;
- }
- public OnPlayerDisconnect(playerid, reason)
- {
- new Motivo[20];
- if(reason == 0) Motivo = "Queda de conexão";
- if(reason == 1) Motivo = "Conta própria";
- if(reason == 2) Motivo = "Kickado/Banido";
- format(String, sizeof(String), "{289E08}O Jogador {39F505}%s{289E08} Desconectou do servidor. (%s)", Nome(playerid), Motivo);
- MsgAll(-1, String);
- if(GetarDado(playerid, Admin) > 0)
- {
- format(String, sizeof(String), "~w~Admin ~g~%s ~r~Offline", Nome(playerid));
- GameTextForAll(String, 1000, 1);
- }
- if(pBarreira[playerid] != 0)
- {
- DestruirBarreira(playerid);
- }
- PlayersOnline--;
- SalvarDados(playerid);
- DOF2_Exit();
- return 1;
- }
- public FecharEnquete()
- {
- new StrEnquete[256];
- Enquete[Criada] = false;
- format(StrEnquete, 256, "Enquete %s Fechada.", Enquete[Titulo]);
- SendClientMessageToAll(ROSA, StrEnquete);
- format(StrEnquete, 256, "Votos Sim: %d", Enquete[VotoSim]);
- SendClientMessageToAll(ROSA_CHOQUE, StrEnquete);
- format(StrEnquete, 256, "Voto Não: %d", Enquete[VotoNao]);
- SendClientMessageToAll(ROSA_CHOQUE, StrEnquete);
- if(Enquete[VotoSim] > Enquete[VotoNao])
- {
- SendClientMessageToAll(ROSA, "\nO Sim Venceu.");
- return 1;
- }
- if(Enquete[VotoNao] > Enquete[VotoSim])
- {
- SendClientMessageToAll(ROSA, "\nO Nao Venceu.");
- return 1;
- }
- return 1;
- }
- public OnPlayerSpawn(playerid)
- {
- TextDrawHideForPlayer(playerid,Textdraw0[playerid]);
- TextDrawHideForPlayer(playerid,Textdraw2[playerid]);
- SetPlayerInterior(playerid,0);
- SetPlayerVirtualWorld(playerid,0);
- //---------------[ Skin dos Empregos ]------------//
- if(PlayerDados[playerid][Emprego] == 0 || PlayerDados[playerid][Emprego] == 1 || PlayerDados[playerid][Emprego] == 2)
- {
- SetPlayerSkin(playerid,PlayerDados[playerid][pSkin]);
- }
- //------------[ Cor de Admin ]---------//
- if(PlayerDados[playerid][Trabalhando] == true)
- {
- SetPlayerColor(playerid, 0x24E9FFFF);
- }
- if(PlayerDados[playerid][Afk] == true)
- {
- SetPlayerColor(playerid, PRETO);
- }
- if(PlayerDados[playerid][Afk] == false)
- {
- SetPlayerColor(playerid, BRANCO);
- }
- //--------------[ Cor das Orgs ]------------//
- if(PlayerDados[playerid][Organizacao] == 0)
- {
- SetPlayerColor(playerid, BRANCO);
- }
- if(PlayerDados[playerid][Organizacao] == 1)
- {
- SetPlayerColor(playerid, COR_BALLAS);
- }
- if(PlayerDados[playerid][Organizacao] == 2)
- {
- SetPlayerColor(playerid, COR_PM);
- }
- //----------[ Spawn de Org ]---------//
- if(PlayerDados[playerid][Organizacao] == 0)
- {
- SetPlayerHealth(playerid, 100);
- SetPlayerPos(playerid, 1722.5750,-1631.1670,20.2145);
- SetPlayerInterior(playerid,0);
- }
- else if(PlayerDados[playerid][Organizacao] == 1)
- {
- SetPlayerHealth(playerid, 100);
- SetPlayerArmour(playerid, 50);
- SetPlayerPos(playerid, 2004.9247,-1127.5710,25.3749);
- SetPlayerInterior(playerid,0);
- }
- else if(PlayerDados[playerid][Organizacao] == 2)
- {
- SetPlayerHealth(playerid, 100);
- SetPlayerArmour(playerid, 50);
- SetPlayerPos(playerid, 1474.5262,-1756.2471,3285.2859);
- SetPlayerInterior(playerid, 5);
- }
- //-----------------------------------------------//
- if(DOF2_IsSet("EuroRPG/Admins.adm", Nome(playerid)))
- {
- PlayerDados[playerid][Admin] = DOF2_GetInt("EuroRPG/Admins.adm", Nome(playerid));
- }
- if(DOF2_IsSet("EuroRPG/Helpers.hel", Nome(playerid)))
- {
- SetarDado(playerid, Helper, DOF2_GetBool("EuroRPG/Helpers.hel", Nome(playerid)));
- }
- if(DOF2_IsSet("EuroRPG/Vips.vip", Nome(playerid)))
- {
- SetarDado(playerid, Vip, DOF2_GetBool("EuroRPG/vips.vip", Nome(playerid)));
- }
- format(StringContas, sizeof(StringContas), "EuroRPG/Contas/%s.txt", Nome(playerid));
- #if SPAWNAR_HQ == 1
- #endif
- SetTimerEx("VerificarPreso", 1000, false, "i", playerid);
- ResetPlayerWeapons(playerid);
- #if USAR_SISTEMA_REGISTRO == 0
- if(!DOF2_FileExists(StringContas))
- {
- DOF2_CreateFile(StringContas);
- DOF2_SetInt(StringContas, "pLevel", 0);
- DOF2_SetInt(StringContas, "Respeito", 0);
- DOF2_SetInt(StringContas, "Matou", 0);
- DOF2_SetInt(StringContas, "Morreu", 0);
- DOF2_SetInt(StringContas, "Grana", 0);
- DOF2_SetInt(StringContas, "pSkin", 0);
- DOF2_SetInt(StringContas, "Advertencias", 0);
- DOF2_SetInt(StringContas, "Preso", 0);
- DOF2_SetInt(StringContas, "Motorista", 0);
- DOF2_SetInt(StringContas, "Sexo", 0);
- DOF2_SetInt(StringContas, "Organizacao", 0);
- DOF2_SetInt(StringContas, "Cargo", 0);
- DOF2_SetInt(StringContas, "Emprego", 0);
- DOF2_SetInt(StringContas, "Procurado", 0);
- PlayerDados[playerid][Logado] = true;
- }
- if(DOF2_FileExists(StringContas))
- {
- PlayerDados[playerid][Matou] = DOF2_GetInt(StringContas, "Matou");
- PlayerDados[playerid][Morreu] = DOF2_GetInt(StringContas, "Morreu");
- PlayerDados[playerid][Sexo] = DOF2_GetInt(StringContas, " Sexo");
- PlayerDados[playerid][Organizacao] = DOF2_GetInt(StringContas, "Organizacao");
- PlayerDados[playerid][Cargo] = DOF2_GetInt(StringContas, "Cargo");
- PlayerDados[playerid][Emprego] = DOF2_GetInt(StringContas, "Emprego");
- if(DOF2_IsSet("EuroRPG/Admins.adm", Nome(playerid)))
- {
- PlayerDados[playerid][Admin] = DOF2_GetInt("EuroRPG/Admins.adm", Nome(playerid));
- }
- PlayerDados[playerid][Advertencias] = DOF2_GetInt(StringContas, "Advertencias");
- PlayerDados[playerid][Respeito] = DOF2_GetInt(StringContas, "Respeito");
- GivePlayerMoney(playerid, DOF2_GetInt(StringContas, "Grana"));
- GetPlayerSkin(playerid, DOF2_GetInt(StringContas, "pSkin"));
- SetPlayerWantedLevel(playerid, DOF2_GetInt(StringContas, "Procurado"));
- SetPlayerScore(playerid, DOF2_GetInt(StringContas, "pLevel"));
- PlayerDados[playerid][Preso] = DOF2_GetInt(StringContas, "Preso");
- PlayerDados[playerid][Motorista] = DOF2_GetInt(StringContas, "Motorista");
- if(DOF2_IsSet("EuroRPG/Helpers.hel", Nome(playerid)))
- {
- PlayerDados[playerid][Helper] = DOF2_GetBool("EuroRPG/Vips.vip", Nome(playerid));
- }
- if(DOF2_IsSet("EuroRPG/Vips.vip", Nome(playerid)))
- {
- PlayerDados[playerid][Vip] = DOF2_GetBool("EuroRPG/Vips.vip", Nome(playerid));
- }
- if((PlayerDados[playerid][Admin] > 0) && (PlayerDados[playerid][Logado] == false))
- {
- PlayerDados[playerid][Logado] = true;
- format(String, sizeof(String), "Logado de Admin Nível %d", PlayerDados[playerid][Admin]);
- SendClientMessage(playerid, AZUL_CLARO, String);
- format(String, sizeof(String), "~w~Admin ~g~%s ~y~Online", Nome(playerid));
- GameTextForAll(String, 1000, 1);
- PlayerDados[playerid][Trabalhando] = true;
- SendClientMessage(playerid, AZUL_CLARO, "Você está trabalhando, para jogar use /jogar");
- SetPlayerColor(playerid, COR_ROSA);
- SetPlayerHealth(playerid, 999999);
- }
- }
- #endif
- return 0;
- }
- public OnPlayerUpdate(playerid)
- {
- new arquivo[34], playername[MAX_PLAYER_NAME];
- GetPlayerName(playerid, playername, sizeof(playername));
- format(arquivo, sizeof(arquivo), "EuroRPG/Organizacao/%s.txt", playername);
- if(DOF2_FileExists(arquivo))
- {
- DOF2_SetInt(arquivo, "Organizacao", PlayerDados[playerid][Organizacao]);
- DOF2_SetInt(arquivo, "Cargo", PlayerDados[playerid][Cargo]);
- }
- else
- {
- DOF2_CreateFile(arquivo);
- DOF2_SetInt(arquivo, "Organizacao", PlayerDados[playerid][Organizacao]);
- DOF2_SetInt(arquivo, "Cargo", PlayerDados[playerid][Cargo]);
- }
- return 1;
- }
- public EnviarMsgHack(playerid)
- {
- MsgHack[playerid] = false;
- return 1;
- }
- public VerificarPreso(playerid)
- {
- if(PlayerDados[playerid][Preso] > 0)
- {
- SetPlayerPos(ID, 264.6288,77.5742,1001.0391);
- SetPlayerInterior(ID, 6);
- SendClientMessage(playerid, VERMELHO, "Seu Tempo de Cadeia ainda não acabou!");
- TimerPreso = SetTimerEx("TempoPreso", 1000, true, "i", playerid);
- }
- return 1;
- }
- public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
- {
- if(Sequestrado[playerid] == 1)
- {
- PutPlayerInVehicle(playerid, GetPlayerVehicleID(playerid), GetPlayerVehicleSeat(playerid));
- }
- return 0;
- }
- public OnPlayerDeath(playerid, killerid, reason)
- {
- TextDrawShowForPlayer(playerid,Textdraw0[playerid]); //fara aparecer a texdraw
- TextDrawShowForPlayer(playerid,Textdraw2[playerid]); //fara aparecer a texdraw
- sleep2(1); //fara o cara esperar 10 segundos
- SetPlayerSkin(playerid,PlayerDados[playerid][pSkin]);
- PlayerDados[playerid][Morreu]++;
- PlayerDados[killerid][Matou]++;
- format(StringContas, sizeof(StringContas), "EuroRPG/Contas/%s.txt", Nome(playerid));
- if(DOF2_IsSet("EuroRPG/Admins.adm", Nome(playerid)))
- {
- PlayerDados[playerid][Admin] = DOF2_GetInt("EuroRPG/Admins.adm", Nome(playerid));
- }
- KillTimer(TimerKit);
- return 0;
- }
- public OnPlayerClickPlayer(playerid, clickedplayerid, source)
- {
- IdClicado[playerid] = clickedplayerid;
- NomeClicado[playerid] = Nome(clickedplayerid);
- if(!(NivelRequerido(playerid, 1))) return 1;
- format(String, 60, "Opções de Admin sobre %s", NomeClicado[playerid]);
- ShowPlayerDialog(playerid, DIALOG_OPCOES, DIALOG_STYLE_LIST, String , "{F5F50C}Kickar\n{F5180C}Banir\n{0CF50C}Advertir\n{FF05F7}Trazer\n{FF05F7}Ir\n{14C9C9}Particular\n{0C8CF5}Status", "Avançar", "Fechar");
- return 1;
- }
- public OnPlayerText(playerid, text[])
- {
- new str2[256];
- if((strfind(text, "7777", true) != -1) || (strfind(text, "7788", true) != -1) || (strfind(text, "189.", true) != -1) || (strfind(text, "187.", true) != -1) || (strfind(text, "185.", true) != -1) || (strfind(text, "7575", true) != -1) || (strfind(text, "75.", true) != -1))
- {
- MensagemFormatadaParaTodos(AZUL_CLARO, "O Jogador {FB0000}%s{00C2EC} Foi Banido por divulgar IP.\r\n", Nome(playerid));
- EscreverLog("EuroRPG/Logs/Banidos.log", String);
- format(String, sizeof(String), "EuroRPG/Banidos/Contas/%s.txt", Nome(playerid));
- getdate(Ano, Mes, Dia);
- gettime(Hora, Minuto, Segundo);
- DOF2_CreateFile(String);
- DOF2_SetString(String, "Admin", "Admin automatico");
- DOF2_SetString(String, "Motivo", "Divulgação de IP");
- DOF2_SetInt(String, "Ano", Ano);
- DOF2_SetInt(String, "Mes", Mes);
- DOF2_SetInt(String, "Dia", Dia);
- DOF2_SetInt(String, "Hora", Hora);
- DOF2_SetInt(String, "Minuto", Minuto);
- Kick(playerid);
- }
- //----------------[ Anti Fala Preso ]---------------//
- /*if(strfind(text,"/", true) == 0 || PlayerDados[playerid][Preso] == 0)
- {
- SendClientMessage(playerid, -1, "Ta preso nao pode digitar isso");
- return 0;
- }*/
- //-----------------[ Anti Flood ]----------------//
- if(Flood[playerid] > GetTickCount())
- {
- SendClientMessage(playerid,BRANCO,"{FF0000}ERRO: {FFFFFF}Você Só pode falar de 5 á 5 segundos");
- return 0;
- }
- Flood[playerid] = GetTickCount() + 5000;
- //----------------[ Anti IP ]--------------//
- for(new i = 0; i != MAX_PLAYERS; i++)
- {
- if(text[i] == Ips[i][i])
- {
- return 0;
- }
- }
- format(String, sizeof(String), "EuroRPG/Teleportes/%s.txt", text);
- if(DOF2_FileExists(String))
- {
- format(str2, sizeof(str2), "O Jogador %s foi para o 'te %s' [Teleporte Criado pelo Admin: %s] (para ir basta digitar as palavras entre aspas)", Nome(playerid), DOF2_GetString(String, "Comando"), DOF2_GetString(String, "Admin"));
- SendClientMessageToAll(AMARELO, str2);
- SetPlayerPos(playerid, DOF2_GetFloat(String, "X"), DOF2_GetFloat(String, "Y"), DOF2_GetFloat(String, "Z"));
- return 0;
- }
- if(PlayerDados[playerid][Calado] == true)
- {
- SendClientMessage(playerid, BRANCO, "Você Está calado e não pode falar!");
- return 0;
- }
- #if DESTAQUE_ADMINS == 1
- if(GetarDado(playerid, Admin) > 1)
- {
- if(GetarDado(playerid, Disfarcado) == true)
- {
- format(String, sizeof(String), "%s: %s", Nome(playerid), text);
- MsgAll(GetPlayerColor(playerid), String);
- return 0;
- }
- format(String, sizeof(String), "%s: %s", Nome(playerid), text);
- MsgAll(GetPlayerColor(playerid), String);
- return 0;
- }
- #endif
- return 1;
- }
- public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
- {
- //------------------[ Dialog de Convite ]-------------------//
- if(dialogid == 30)
- {
- new playername[MAX_PLAYER_NAME], string[128];
- GetPlayerName(playerid, playername, sizeof(playername));
- if(response == 0)
- {
- format(string, sizeof(string), "{00FFFF}%s {FFFFFF}rejeitou seu Convite.", playername);
- SendClientMessage(GetPVarInt(playerid, "QuemConvidou"), AZUL, string);
- SendClientMessage(playerid, BRANCO, "Você rejeitou o Convite.");
- DeletePVar(playerid, "OrgConvidado");
- DeletePVar(playerid, "QuemConvidou");
- }
- if(response == 1)
- {
- if(InviteOffer[playerid] < 999)
- {
- if(IsPlayerConnected(InviteOffer[playerid]))
- {
- if(PlayerDados[InviteOffer[playerid]][Organizacao] == 1) { PlayerDados[playerid][Cargo] = 6; ChosenSkin[playerid] = 282; SetPlayerSkin(playerid, 203); }// Ballas
- if(PlayerDados[InviteOffer[playerid]][Organizacao] == 2) { PlayerDados[playerid][Cargo] = 6; ChosenSkin[playerid] = 282; SetPlayerSkin(playerid, 282); }//PM
- PlayerDados[playerid][Organizacao] = GetPVarInt(playerid, "OrgConvidado");
- PlayerDados[playerid][Cargo] = 1;
- format(string, sizeof(string), "{00FFFF}%s {FFFFFF}Aceitou seu Convite.", playername);
- SendClientMessage(GetPVarInt(playerid, "QuemConvidou"), BRANCO, string);
- format(string, sizeof(string), "{00FFFF}%s {FFFFFF}é o mais novo membro da Organização.", playername);
- SendFamilyMessage(PlayerDados[playerid][Organizacao], GetPlayerColor(playerid), string);
- SendClientMessage(playerid, BRANCO, "Você aceitou o {00FFFF}Convite.");
- ShowPlayerDialog(playerid,85,DIALOG_STYLE_MSGBOX, "{FF8C00}Euro RPG", "{FFFFFF}Você ira poder escolher as skin's que mostrará no dialog\nAs Skin's são {00FFFF}Especial {FFFFFF}pra cada organização\nAs Skin's tem que ser devido a Org\nPara {00FFFF}Continuar {FFFFFF}ou {00FFFF}Escolher {FFFFFF}sua Skin Click em {00FFFF}'Proximo'", "Proximo", "");
- Controle(playerid, 0);
- SetPlayerSkin(playerid, ChosenSkin[playerid]);
- SelecionarChar[playerid] = 1;
- SelecionarCarrinha[playerid] = PlayerDados[playerid][Cargo];
- SelecionarCarrinha[playerid] = PlayerDados[playerid][Cargo];
- DeletePVar(playerid, "OrgConvidado");
- DeletePVar(playerid, "QuemConvidou");
- SpawnPlayer(playerid);
- }
- }
- }
- }
- //------------------------[ Sistema de Cofre de Orgs ]-------------------//
- if(dialogid == 94)
- {
- if(!response) return 1;
- if(response >= 1)
- {
- new string[128];
- new org = PlayerDados[playerid][Organizacao];
- if(listitem == 0)// Dinheiro
- {
- format(string,sizeof(string),"{FFFFFF}O Saldo da Sua Organização é de {FF0000}R$%d\n{FFFFFF}O que você deseja fazer ?",BancoDasOrgs[org][pDinheiro]);
- ShowPlayerDialog(playerid, 110, DIALOG_STYLE_MSGBOX, "{FF0000}Cofre da Organização", string, "Sacar", "Depositar");
- return 1;
- }
- if(listitem == 1)// Equipar
- {
- format(string,sizeof(string),"Equipamento da Org, {FF0000}%s {FFFFFF}Gostaria de Equipar",Nome(playerid));
- ShowPlayerDialog(playerid, 114, DIALOG_STYLE_MSGBOX, "Cofre da Organização", string, "Equipar", "Cancelar");
- return 1;
- }
- }
- }
- if(dialogid == 110)
- {
- new string[128];
- new org = PlayerDados[playerid][Organizacao];
- if(response == 0)
- {
- format(string,sizeof(string),"{FFFFFF}O Saldo da Sua Organização é de {FF0000}R$%d\n{FFFFFF}Quantos você deseja Depositar ?",BancoDasOrgs[org][pDinheiro]);
- ShowPlayerDialog(playerid, 111, DIALOG_STYLE_INPUT, "{FF0000}Cofre da Organização", string, "Depositar", "Cancelar");
- return 1;
- }
- if(response >= 1)
- {
- format(string,sizeof(string),"{FFFFFF}O Saldo da Sua Organização é de {FF0000}R$%d\n{FFFFFF}Quantos você deseja Sacar ?",BancoDasOrgs[org][pDinheiro]);
- ShowPlayerDialog(playerid, 112, DIALOG_STYLE_INPUT, "{FF0000}Cofre da Organização", string, "Sacar", "Cancelar");
- return 1;
- }
- return 1;
- }
- if(dialogid == 114)
- {
- new string[128];
- if(response == 0)
- {
- return 0;
- }
- if(response >= 1)
- {
- ResetPlayerWeapons(playerid);
- GivePlayerWeapon(playerid, 24, 200);
- GivePlayerWeapon(playerid, 30, 200);
- GivePlayerWeapon(playerid, 29, 200);
- GivePlayerWeapon(playerid, 25, 200);
- GivePlayerWeapon(playerid, 5, 1);
- GivePlayerWeapon(playerid, 1, 1);
- //SetPlayerArmour(playerid, 100);
- SetPlayerHealth(playerid, 100);
- format(string, sizeof(string), "{FF0000}%s {FFFFFF}Acabou de equipar no Cofre da Org !", Nome(playerid));
- }
- return 1;
- }
- if(dialogid == 111)
- {
- if(response >= 1)
- {
- new string[128];
- new org = PlayerDados[playerid][Organizacao];
- new depgrana = strval(inputtext);
- if(GetPlayerMoney(playerid) < depgrana)
- {
- SendClientMessage(playerid,-1,"Você não tem {FF0000}tudo isso!");
- Controle(playerid, 1);
- return 1;
- }
- if(depgrana > 0)
- {
- if(GetPlayerMoney(playerid) >= depgrana)
- {
- GivePlayerMoney(playerid, -depgrana);
- DepositarGranaOrg(org,depgrana);
- format(string,sizeof(string),"{FFFFFF}Você Depositou {FF0000}R$%d, {FFFFFF}O Novo Saldo é de {FF0000}R$%d",depgrana,BancoDasOrgs[org][pDinheiro]);
- SendClientMessage(playerid,-1,string);
- Controle(playerid, 1);
- return 1;
- }
- }
- return 1;
- }
- return 1;
- }
- if(dialogid == 112)
- {
- if(response >= 1)
- {
- new string[50];
- new org = PlayerDados[playerid][Organizacao];
- new sacgrana = strval(inputtext);
- if(sacgrana > BancoDasOrgs[org][pDinheiro])
- {
- SendClientMessage(playerid,-1,"Sua Organização não tem {00FFFF}tudo isso!");
- Controle(playerid, 1);
- return 1;
- }
- if(PlayerDados[playerid][Cargo] < 5 && PlayerDados[playerid][Cargo] < 6)
- {
- SendClientMessage(playerid,-1,"Somente {00FFFF}Líder e Sub-Líder {FFFFFF}Podem Sacar Dinheiro");
- Controle(playerid, 1);
- return 1;
- }
- if(sacgrana > 0)
- {
- if(sacgrana <= BancoDasOrgs[org][pDinheiro])
- {
- GivePlayerMoney(playerid, sacgrana);
- SacarGranaOrg(org,sacgrana);
- format(string,sizeof(string),"Você Sacou {00FFFF}R$%d, {FFFFFF}o Novo Saldo é de {00FFFF}R$%d",sacgrana,BancoDasOrgs[org][pDinheiro]);
- SendClientMessage(playerid,-1,string);
- Controle(playerid, 1);
- return 1;
- }
- }
- return 1;
- }
- return 1;
- }
- //--------------------------//
- if(dialogid == 90)
- {
- if(response == 0)
- {
- Kick(playerid);
- SendClientMessage(playerid, -1, "Você foi kikado por Não aceitar o Sequestro !");
- //Caso não confirme o Assalto !
- }
- if(response == 1)
- {
- if(IsPlayerConnected(playerid))
- {
- new string[110];
- format(string, sizeof(string), "{00FFFF}%s {FFFFFF}Aceitou seu assalto e pagou {00FFFF}R$ 1000.", Nome(ID));
- SendClientMessage(playerid, -1, string);
- SetPlayerWantedLevel(playerid,GetPlayerWantedLevel(playerid)+1);
- GivePlayerMoney(ID, -1000);
- GivePlayerMoney(playerid, 1000);
- format(string, sizeof(string), "{FFFFFF}Você aceitou um assalto de {00FFFF}%s {FFFFFF}e pagou {00FFFF}R$ 1000", Nome(playerid));
- SendClientMessage(playerid, -1, string);
- ClearAnimations(ID);
- ClearAnimations(ID);
- }
- }
- }
- //---------------------[ Centro de Licencas ]--------------//
- if(dialogid == 91)
- {
- Controle(playerid, 1);
- if(response == 0)
- {
- return 1;
- }
- switch(listitem)
- {
- case 0:
- {
- if(GetPlayerMoney(playerid) < 500) return SendClientMessage(playerid, -1,"Você não tem {FF0000}R$ 500 {FFFFFF}Para comprar Licença de Motorista !");
- Controle(playerid, 1);
- GivePlayerMoney(playerid,-500);
- PlayerDados[playerid][Motorista] = 1;
- SendClientMessage(playerid, -1,"Comprou Licença de {FF0000}Motorista !");
- }
- }
- }
- //----------------------[ /Convidar em dialog ]-----------------//
- if(dialogid == 85)
- {
- if(response == 0)
- {
- SpawnPlayer(playerid);
- PlayerDados[playerid][pSkin] = ChosenSkin[playerid];
- SelecionarCarrinha[playerid] = 0;
- }
- if(response == 1)
- {
- switch (SelecionarCarrinha[playerid])
- {
- case 1: //Groove Street ( Org 1)
- {
- if(SelecionarChar[playerid] == 1) { SetPlayerSkin(playerid, 102); SelecionarChar[playerid] = 2; ChosenSkin[playerid] = 102; }
- else if(SelecionarChar[playerid] == 2) { SetPlayerSkin(playerid, 103); SelecionarChar[playerid] = 3; ChosenSkin[playerid] = 103; }
- else if(SelecionarChar[playerid] == 3) { SetPlayerSkin(playerid, 104); SelecionarChar[playerid] = 1; ChosenSkin[playerid] = 104; }
- ShowPlayerDialog(playerid,85,DIALOG_STYLE_MSGBOX, "{FF8C00}Euro RPG", "{FFFFFF}Aperte {00FFFF}'Proximo' {FFFFFF}pra Procurar as Skin's\nQuando escolher e so Aperte {00FFFF}'Confirmar'", "Proximo", "Confirma");
- }
- case 2: //Policia Militar (Org 2)
- {
- if(SelecionarChar[playerid] == 1) { SetPlayerSkin(playerid, 280); SelecionarChar[playerid] = 2; ChosenSkin[playerid] = 280; }
- else if(SelecionarChar[playerid] == 2) { SetPlayerSkin(playerid, 281); SelecionarChar[playerid] = 3; ChosenSkin[playerid] = 281; }
- else if(SelecionarChar[playerid] == 3) { SetPlayerSkin(playerid, 282); SelecionarChar[playerid] = 4; ChosenSkin[playerid] = 282; }
- else if(SelecionarChar[playerid] == 4) { SetPlayerSkin(playerid, 265); SelecionarChar[playerid] = 5; ChosenSkin[playerid] = 265; }
- else if(SelecionarChar[playerid] == 5) { SetPlayerSkin(playerid, 267); SelecionarChar[playerid] = 6; ChosenSkin[playerid] = 267; }
- else if(SelecionarChar[playerid] == 6) { SetPlayerSkin(playerid, 246); SelecionarChar[playerid] = 1; ChosenSkin[playerid] = 246; }
- ShowPlayerDialog(playerid,85,DIALOG_STYLE_MSGBOX, "{FF8C00}Euro RPG", "{FFFFFF}Aperte {00FFFF}'Proximo' {FFFFFF}pra Procurar as Skin's\nQuando escolher e so Aperte {00FFFF}'Confirmar'", "Proximo", "Confirma");
- }
- }
- }
- }
- //------------------------------------------//
- if(dialogid == 31)
- {
- if(response)
- {
- if (listitem == 0)
- {
- PlayerDados[playerid][Sexo] = 1;
- SendClientMessage(playerid, BRANCO,"• Então Você e {FF0000}Homem {FFFFFF}! •");
- SendClientMessage(playerid, BRANCO,"• Tenha um {FF0000}Bom Jogo ! •");
- GameTextForPlayer(playerid,"~w~] ~g~~h~Seja Bem Vindo ao Servidor Euro ~w~]", 5000, 3);
- GivePlayerMoney(playerid, 1000);
- SetPlayerSkin(playerid, 289);
- SetPlayerScore(playerid, 1);
- TextDrawDestroy(Faixa0[playerid]);
- TextDrawDestroy(Faixa1[playerid]);
- }
- else if (listitem == 1)
- {
- PlayerDados[playerid][Sexo] = 2;
- SendClientMessage(playerid, BRANCO,"• Então Você e {FF0000}Mulher ! •");
- SendClientMessage(playerid, BRANCO,"• Tenha um {FF0000}Bom Jogo ! •");
- GameTextForPlayer(playerid,"~w~] ~g~~h~Seja Bem Vindo ao Servidor Euro ~w~]", 5000, 3);
- GivePlayerMoney(playerid, 1000);
- SetPlayerSkin(playerid, 12);
- SetPlayerScore(playerid, 1);
- TextDrawDestroy(Faixa0[playerid]);
- TextDrawDestroy(Faixa1[playerid]);
- }
- }
- else
- {
- Kick(playerid);
- }
- }
- //--------------------[ Dialog de Emprego ]----------------//
- if(dialogid == 80)
- {
- Controle(playerid, 1);
- Dialog[playerid] = 0;
- if(response == 0)
- {
- return 1;
- }
- switch(listitem)
- {
- case 0:
- {
- ShowPlayerDialog(playerid,81,DIALOG_STYLE_MSGBOX,"{00FFFF}Euro RPG","{FFFFFF}Você ira Virar {FF0000}Detetive, {FFFFFF}Para Continuar Aperte em 'Ok' ","Ok","");
- VariosEmpregos[playerid] = 1;
- Controle(playerid, 1);
- }
- case 1:
- {
- ShowPlayerDialog(playerid,81,DIALOG_STYLE_MSGBOX,"{00FFFF}Euro RPG","{FFFFFF}Você ira Virar {FF0000}Advogado, {FFFFFF}Para Continuar Aperte em 'Ok' ","Ok","");
- VariosEmpregos[playerid] = 2;
- Controle(playerid, 1);
- }
- }
- }
- if(dialogid == 81)
- {
- if(!response)
- {
- VariosEmpregos[playerid] = 0;
- return SendClientMessage(playerid, BRANCO, "Você Cancelou o {FF0000}Emprego !");
- }
- else
- {
- PlayerDados[playerid][Emprego] = VariosEmpregos[playerid];
- SendClientMessage(playerid, BRANCO, "{00FF00}Parabens, {FFFFFF}Aproveite seu Novo Emprego, Mais Informações {00FF00}Use: /ajuda");
- }
- }
- //-----------------[ Ajuda ]----------------//
- if(dialogid == 83)
- {
- new Ajudando[2000];
- if(response)
- {
- if(listitem == 0)
- {
- strcat(Ajudando,"{FF0000}Euro - {FFFFFF}/logar - /abastecer - /rg - /forum - /creditos - /relatorio - /duvida\n");
- strcat(Ajudando,"{FF0000}Euro - {FFFFFF}/orgs - /gps - /setint - /beber");
- }
- if(listitem == 1)
- {
- if(PlayerDados[playerid][Organizacao] == 1)
- {
- strcat(Ajudando,"{FF0000}Ballas Lider - {FFFFFF}/convidar - /promover - /demitir\n");
- strcat(Ajudando,"{FF0000}Ballas Membros - {FFFFFF}/pedircontas - /ang - /sequestrar - /desamarrar - /assaltar\n");
- strcat(Ajudando,"{FF0000}Ballas Membros - {FFFFFF}/barreiragang - /rbarreiragang - /invasao(Anucio'')");
- }
- if(PlayerDados[playerid][Organizacao] == 2)
- {
- strcat(Ajudando,"{FF0000}Comandos Lider - {FFFFFF}/convidar - /promover - /demitir - /pedircontas\n");
- strcat(Ajudando, "{FF0000}Arma De Choque > {FFFFFF}/choque(Pegar Arma de Choque) - /rchoque(Guardar Arma de Choque)\n");
- strcat(Ajudando, "{FF0000}Escudo > {FFFFFF}/escudo(Pegar seu Escudo) - /rescudo(Guardar seu Escudo)\n");
- strcat(Ajudando, "{FF0000}Comandos Membro > {FFFFFF}(/r)adio - /departmento - /megafone - /suspeito - /ficha - /prender\n");
- strcat(Ajudando, "{FF0000}Comandos Membro > {FFFFFF}/batercartao - /procurados - /algemar - /desalgemar - /imo - /reforco\n");
- strcat(Ajudando, "{FF0000}Comandos Membro > {FFFFFF}/revistar /retirarcarteira - /retirararmas /prender (/gov)erno /arrombar (/do)minar\n");
- strcat(Ajudando, "{FF0000}Comandos Membro > {FFFFFF}/desalgemar - /bafometro - /membros - /ronda - /chapeu");
- }
- else
- {
- SendClientMessage(playerid, -1,"Você não Participa de nenhuma Org !");
- }
- }
- if(listitem == 2)
- {
- if(PlayerDados[playerid][Emprego] == 0)
- {
- strcat(Ajudando,"{FF0000}Civil - {FFFFFF}/punheta - /pararpunheta\n");
- strcat(Ajudando,"{FF0000}Você {FFFFFF}é Vagabundo !");
- }
- if(PlayerDados[playerid][Emprego] == 1)
- {
- strcat(Ajudando,"{FF0000}Detetive - {FFFFFF}/procurar");
- }
- if(PlayerDados[playerid][Emprego] == 2)
- {
- strcat(Ajudando,"{FF0000}Advogado - {FFFFFF}/soltar - /presos");
- }
- }
- if(listitem == 3)
- {
- if(PlayerDados[playerid][Vip])
- {
- strcat(Ajudando,"{FF0000}Vip's - {FFFFFF}/kitvip - /v (Chat vip) - /cc(CriarCarro) - /vips(Online's)");
- }
- }
- if(listitem == 4)
- {
- strcat(Ajudando,"{FF0000}Casas - {FFFFFF}/criarcasa - /removercasa - /ircasa - /comprarcasa - /casa - /alugarcasa - /desalugarcasa - /hdepositar\n");
- strcat(Ajudando,"{FF0000}Casas - {FFFFFF}/hretirar - /harma - /htomararma - /verificarseguranca - /bater - /portafechada - /destrancarporta\n");
- strcat(Ajudando,"{FF0000}Casas - {FFFFFF}/hentrar(EntrarCasa) - /hsair(SairCasa) - /pagaraluguel - /hcarro - /encontrarcarro - /hmelhorar \n");
- strcat(Ajudando,"{FF0000}Casas - {FFFFFF}/hdepositarcarro - /harmacarro - /hlevararma - /hestacionar - /hcorcarro - /htelefone\n");
- strcat(Ajudando,"{FF0000}Casas - {FFFFFF}/hatendertelefone - /hmudarspawm - /hroubarcasa - /hdarchave - /hminhacasa - /hretirarcarro\n");
- }
- if(listitem == 5)
- {
- strcat(Ajudando,"{FF0000}Donos e Scripter - {FFFFFF}Scripter : Life_Advanced e American_Style || Mapper : Yuri_Delta");
- return 1;
- }
- ShowPlayerDialog(playerid, Ajudando2, DIALOG_STYLE_MSGBOX, "{FF0000}Euro RPG - {FFFFFF}Ajuda", Ajudando, "Fechar", "");
- return 1;
- }
- }
- //-----------------------------//
- if(dialogid == DIALOG_REGISTRO)
- {
- if(response)
- {
- if(!strlen(inputtext))
- {
- format(String, sizeof(String), "{FFFFFF}Conta: {FF0000}%s\n{FFFFFF}Não {FF0000}Registrada.\n\n{FFFFFF}Digite uma senha para se {FF0000}Registrar\n{FFFFFF}Em nosso Banco de Dados.", Nome(playerid));
- ShowPlayerDialog(playerid, DIALOG_REGISTRO, DIALOG_STYLE_PASSWORD, "{1EB2FC}Registrando...", String, "Registrar", "Sair");
- SendClientMessage(playerid, VERMELHO, "Digite uma senha para se registrar ¬¬");
- return 1;
- }
- format(StringContas, sizeof(StringContas), "EuroRPG/Contas/%s.txt", Nome(playerid));
- DOF2_CreateFile(StringContas);
- DOF2_SetString(StringContas, "Senha", inputtext);
- DOF2_SetInt(StringContas, "Matou", 0);
- DOF2_SetInt(StringContas, "Morreu", 0);
- DOF2_SetInt(StringContas, "Grana", 0);
- DOF2_SetInt(StringContas, "pSkin", 289);
- DOF2_SetInt(StringContas, "pLevel", 0);
- DOF2_SetInt(StringContas, "Respeito", 0);
- DOF2_SetInt(StringContas, "Advertencias", 0);
- DOF2_SetInt(StringContas, "Preso", 0);
- DOF2_SetInt(StringContas, "Motorista", 0);
- DOF2_SetInt(StringContas, "Sexo", 0);
- DOF2_SetInt(StringContas, "Organizacao", 0);
- DOF2_SetInt(StringContas, "Cargo", 0);
- DOF2_SetInt(StringContas, "Emprego", 0);
- DOF2_SetInt(StringContas, "Skin", 0);
- DOF2_SetInt(StringContas, "Procurado", 0);
- SendClientMessage(playerid, AZUL_CLARO, "Registrado Com Sucesso! você foi logado automaticamente");
- ShowPlayerDialog(playerid,BOM,DIALOG_STYLE_MSGBOX, "{FF8C00}Seja Bem Vindo", "\n Presta Muita Atenção no Tutorial Pode Ajudar Muito ...\n", "Avançar", "");
- #if USAR_TEXT == 1
- TextDrawDestroy(Inicio[playerid]);
- #endif
- return 1;
- }
- else
- {
- SendClientMessage(playerid, VERMELHO, "Você não quis se registrar e por isso foi kickado!");
- Kick(playerid);
- return 1;
- }
- }
- if(dialogid == DIALOG_LOGIN)
- {
- if(response)
- {
- if(!strlen(inputtext))
- {
- SetPlayerCameraPos(playerid,1460.0, -1324.0, 287.2);
- SetPlayerCameraLookAt(playerid,1374.5, -1291.1, 239.0);
- Camera[playerid] = 1;
- CameraX[playerid] = 1460.0;
- CameraY[playerid] = -1324.0;
- CameraZ[playerid] = 287.2;
- format(String, sizeof(String), "{FFFFFF}Conta: {FF0000}%s\n{FFFFFF}Conta {FF0000}Registrada.\n\n{FFFFFF}Digite sua senha para {FF0000}Logar", Nome(playerid));
- ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_PASSWORD, "{FC14E9}Logando...", String, "Logar", "Sair");
- SendClientMessage(playerid, VERMELHO, "Digite sua senha para se logar ¬¬");
- return 1;
- }
- format(StringContas, sizeof(StringContas), "EuroRPG/Contas/%s.txt", Nome(playerid));
- if(strcmp(inputtext, DOF2_GetString(StringContas, "Senha"), true))
- {
- format(String, sizeof(String), "{FFFFFF}Conta: {FF0000}%s\n{FFFFFF}Conta {FF0000}Registrada.\n\n{FFFFFF}Digite sua senha para {FF0000}Logar", Nome(playerid));
- ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_PASSWORD, "{FC14E9}Logando...", String, "Logar", "Sair");
- SendClientMessage(playerid, VERMELHO_CLARO, "Senha incorreta!");
- return 1;
- }
- else
- {
- PlayerDados[playerid][Matou] = DOF2_GetInt(StringContas, "Matou");
- PlayerDados[playerid][Morreu] = DOF2_GetInt(StringContas, "Morreu");
- PlayerDados[playerid][Sexo] = DOF2_GetInt(StringContas, "Sexo");
- PlayerDados[playerid][Organizacao] = DOF2_GetInt(StringContas, "Organizacao");
- PlayerDados[playerid][Cargo] = DOF2_GetInt(StringContas, "Cargo");
- PlayerDados[playerid][Emprego] = DOF2_GetInt(StringContas, "Emprego");
- PlayerDados[playerid][pSkin] = DOF2_GetInt(StringContas, "pSkin");
- PlayerDados[playerid][Procurado] = DOF2_GetInt(StringContas, "Procurado");
- PlayerDados[playerid][pLevel] = DOF2_GetInt(StringContas, "pLevel");
- PlayerDados[playerid][Respeito] = DOF2_GetInt(StringContas, "Respeito");
- new str[50];
- format(str, 50, "EuroRPG/Admins/%s.sav", Nome(playerid));
- if(DOF2_FileExists(str)) {
- if(DOF2_IsSet(str, "Admin")) {
- PlayerDados[playerid][Admin] = DOF2_GetInt(str, "Admin");
- }
- if(DOF2_IsSet(str, "Helper")) {
- PlayerDados[playerid][Helper] = DOF2_GetBool(str, "Helper");
- }
- if(DOF2_IsSet(str, "Vip")) {
- PlayerDados[playerid][Vip] = DOF2_GetBool(str, "Vip");
- }
- }
- PlayerDados[playerid][Advertencias] = DOF2_GetInt(StringContas, "Advertencias");
- GivePlayerMoney(playerid, DOF2_GetInt(StringContas, "Grana"));
- SetPlayerSkin(playerid, DOF2_GetInt(StringContas, "pSkin"));
- SetPlayerWantedLevel(playerid, DOF2_GetInt(StringContas, "Procurado"));
- SetPlayerScore(playerid, DOF2_GetInt(StringContas, "pLevel"));
- PlayerDados[playerid][Respeito] = DOF2_GetInt(StringContas, "Respeito");
- PlayerDados[playerid][Preso] = DOF2_GetInt(StringContas, "Preso");
- PlayerDados[playerid][Motorista] = DOF2_GetInt(StringContas, "Motorista");
- SendClientMessage(playerid, VERDE_CLARO, "Logado Com sucesso!");
- ShowPlayerDialog(playerid,BemVindo,DIALOG_STYLE_MSGBOX, "{FF8C00}Seja Bem Vindo", "\n Você Foi logado, So Clicar em {00FFFF}Spawn Bom Jogo ! \n", "Spawn", "");
- #if USAR_TEXT == 1
- TextDrawDestroy(Inicio[playerid]);
- #endif
- if(PlayerDados[playerid][Admin] > 0)
- {
- format(String, sizeof(String), "Logado de Admin Nível %d", PlayerDados[playerid][Admin]);
- SendClientMessage(playerid, AZUL_CLARO, String);
- format(String, sizeof(String), "~w~Admin ~g~%s ~y~Online", Nome(playerid));
- GameTextForAll(String, 1000, 1);
- PlayerDados[playerid][Trabalhando] = true;
- SendClientMessage(playerid, AZUL_CLARO, "Você está trabalhando, para jogar use /jogar");
- SetPlayerColor(playerid, COR_ROSA);
- SetPlayerHealth(playerid, 999999);
- return 1;
- }
- return 1;
- }
- }
- else
- {
- SendClientMessage(playerid, VERMELHO, "Você não quis se Logar e por isso foi kickado!");
- Kick(playerid);
- return 1;
- }
- }
- if(dialogid == DIALOG_BANIDO)
- {
- if(response)
- {
- SendClientMessage(playerid, BRANCO, "Kickado");
- Kick(playerid);
- }
- return 1;
- }
- if(dialogid == DIALOG_ADM)
- {
- if(response)
- {
- format(String, sizeof(String), "O Jogador {1B95E0}%s{00C2EC} é o mais novo admin do server!", Nome(playerid));
- SendClientMessageToAll(AZUL_CLARO, String);
- EscreverLog("EuroRPG/Logs/NovoAdm.log", String);
- SendClientMessage(playerid, VERDE_CLARO, "Use /la para ver seus comandos de Admin.");
- SetarDado(playerid, Admin, nivel);
- DarAdmin(playerid, nivel);
- }
- if(!response)
- {
- format(String, sizeof(String), "O Jogador {1B95E0}%s{00C2EC} recusou ser admin do server!", Nome(playerid));
- SendClientMessageToAll(AZUL_CLARO, String);
- }
- return 1;
- }
- if(dialogid == DIALOG_HELPER)
- {
- if(!response)
- return format(String, sizeof(String), "O Jogador {1B95E0}%s{00C2EC} recusou ser Helper do server.", Nome(playerid)), SendClientMessageToAll(AZUL_CLARO, String);
- format(String, sizeof(String), "O Jogador {1B95E0}%s{00C2EC} é o mais novo Helper do server", Nome(playerid));
- SendClientMessageToAll(AZUL_CLARO, String);
- SendClientMessage(playerid, VERDE_CLARO, "Use /la para ver seus comandos de Helper.");
- SalvarDados(playerid);
- SetarDado(playerid, Helper, true);
- DarHelper(playerid);
- //DOF2_SetBool("EuroRPG/Helpers.hel", Nome(playerid), true);
- return 1;
- }
- if(dialogid == DIALOG_SENHANOVA)
- {
- new StrConta[100];
- format(StrConta,sizeof(StrConta), "EuroRPG/Contas/%s.txt", Nome(playerid));
- if(!strlen(inputtext))
- {
- format(String, sizeof(String), "{D9E01B}Digite uma senha ou clique em Cancelar.\n\n{1BE0AF}Sua senha atual é {1B63E0}'%s'.\n\nDigite sua nova senha abaixo:", DOF2_GetString(StrConta, "Senha"));
- ShowPlayerDialog(playerid, DIALOG_SENHANOVA, DIALOG_STYLE_INPUT, "{1BE084}Nova Senha", String, "Mudar", "Cancelar");
- return 1;
- }
- DOF2_SetString(StrConta, "Senha", inputtext);
- format(String, sizeof(String), "{12FF05}Sua nova senha é {25E01B}'%s'", inputtext);
- SendClientMessage(playerid, -1, String);
- SalvarDados(playerid);
- }
- if(dialogid == DIALOG_OPCOES) {
- switch(listitem) {
- case 0:
- {
- format(String, sizeof String, "Digite o motivo pelo qual quer kickar\no jogador %s (ID: %d)", Nome(IdClicado[playerid]), IdClicado[playerid]);
- ShowPlayerDialog(playerid, DIALOG_KICKAR, DIALOG_STYLE_INPUT, "Kickar", String, "Kickar", "Fechar");
- }
- case 1:
- {
- format(String, sizeof String, "Digite o motivo pelo qual quer banir\no jogador %s (ID: %d)", Nome(IdClicado[playerid]), IdClicado[playerid]);
- ShowPlayerDialog(playerid, DIALOG_BANIR, DIALOG_STYLE_INPUT, "Banir", String, "Banir", "Fechar");
- }
- case 2:
- {
- format(String, sizeof String, "Digite o motivo pelo qual quer advertir\no jogador %s (ID: %d)", Nome(IdClicado[playerid]), IdClicado[playerid]);
- ShowPlayerDialog(playerid, DIALOG_ADVERTIR, DIALOG_STYLE_INPUT, "Advertir", String, "Advertir", "Fechar");
- }
- case 3:
- {
- // new Float:Pos[3];
- GetPlayerPos(playerid, Pos[0], Pos[1], Pos[2]);
- if(IsPlayerInAnyVehicle(IdClicado[playerid]))
- {
- new carroid = GetPlayerVehicleID(IdClicado[playerid]);
- SetVehiclePos(carroid, Pos[0]+2, Pos[1]+2, Pos[2]+2);
- format(String, sizeof(String), "O Admin %s trouxe você até ele!", Nome(playerid));
- SendClientMessage(IdClicado[playerid], AZUL_CLARO, String);
- format(String, sizeof(String), "Você trouxe o jogador %s [ID: %d] até você", Nome(IdClicado[playerid]), IdClicado[playerid]);
- SendClientMessage(playerid, AZUL_CLARO, String);
- return 1;
- }
- SetPlayerPos(IdClicado[playerid], Pos[0]+2, Pos[1]+2, Pos[2]+2);
- format(String, sizeof(String), "O Admin %s trouxe você até ele!", Nome(playerid));
- SendClientMessage(IdClicado[playerid], AZUL_CLARO, String);
- format(String, sizeof(String), "Você trouxe o jogador %s [ID: %d] até você", Nome(IdClicado[playerid]), IdClicado[playerid]);
- SendClientMessage(playerid, AZUL_CLARO, String);
- }
- case 4:
- {
- // new Float:Pos[3];
- GetPlayerPos(IdClicado[playerid], Pos[0], Pos[1], Pos[2]);
- if(IsPlayerInAnyVehicle(playerid))
- {
- new carroid = GetPlayerVehicleID(playerid);
- SetVehiclePos(carroid, Pos[0], Pos[1], Pos[2]);
- format(String, sizeof(String), "O Admin %s veio até você!", Nome(playerid));
- SendClientMessage(IdClicado[playerid], AZUL_CLARO, String);
- format(String, sizeof(String), "Você foi até o Jogador %s [ID: %d]", Nome(IdClicado[playerid]), IdClicado[playerid]);
- SendClientMessage(playerid, AZUL_CLARO, String);
- return 1;
- }
- SetPlayerPos(playerid, Pos[0]+2, Pos[1]+2, Pos[2]+2);
- format(String, sizeof(String), "O Admin %s veio até você!", Nome(playerid));
- SendClientMessage(IdClicado[playerid], AZUL_CLARO, String);
- format(String, sizeof(String), "Você foi até o Jogador %s [ID: %d]", Nome(IdClicado[playerid]), IdClicado[playerid]);
- SendClientMessage(playerid, AZUL_CLARO, String);
- }
- case 5: {
- format(String, sizeof String, "Digite a mensagem particular que deseja enviar\nao jogador %s (ID: %d)", Nome(IdClicado[playerid]), IdClicado[playerid]);
- ShowPlayerDialog(playerid, DIALOG_PART, DIALOG_STYLE_INPUT, "Particular", String, "Enviar", "Fechar");
- }
- case 6: {
- new StringM[500];
- new Fala[5];
- new ip[25];
- if(PlayerDados[ID][Calado] == true) Fala = "Sim";
- if(PlayerDados[ID][Calado] == false) Fala = "Nao";
- GetPlayerIp(ID, ip, 25);
- format(StringM, sizeof(StringM), "{FFFFFF}Dados de {11D41E}%s{FFFFFF}\n\n{11D41E}Matou:{FFFFFF} %d\n{11D41E}Morreu:{FFFFFF} %d\n{11D41E}Grana:{FFFFFF} %d\n{11D41E}Admin Level:{FFFFFF} %d\n{11D41E}Calado:{FFFFFF} %s\n{11D41E}Tempo Preso:{FFFFFF} %d", Nome(ID), PlayerDados[IdClicado[playerid]][Matou], PlayerDados[IdClicado[playerid]][Morreu], GetPlayerMoney(ID), PlayerDados[IdClicado[playerid]][Admin], Fala, PlayerDados[IdClicado[playerid]][Preso]);
- format(StringM, sizeof(StringM), "%s\n{11D41E}Advertencias:{FFFFFF} %d \n{11D41E}IP:{FFFFFF} %s", StringM, PlayerDados[IdClicado[playerid]][Advertencias], ip);
- ShowPlayerDialog(playerid, DIALOG_INFO, DIALOG_STYLE_MSGBOX, "Informações do Player", StringM, "Fechar", "");
- }
- }
- }
- if(dialogid == DIALOG_KICKAR) {
- if(!(response)) {
- format(String, 60, "Opções de Admin sobre %s", NomeClicado[playerid]);
- return ShowPlayerDialog(playerid, DIALOG_OPCOES, DIALOG_STYLE_LIST, String , "{F5F50C}Kickar\n{F5180C}Banir\n{0CF50C}Advertir\n{FF05F7}Trazer\n{FF05F7}Ir\n{14C9C9}Particular\n{0C8CF5}Status", "Avançar", "Fechar");
- }
- if(!(strlen(inputtext))) {
- format(String, sizeof String, "Digite o motivo pelo qual quer kickar\no jogador %s (ID: %d)", Nome(IdClicado[playerid]), IdClicado[playerid]);
- return ShowPlayerDialog(playerid, DIALOG_KICKAR, DIALOG_STYLE_INPUT, "Kickar", String, "Kickar", "Fechar");
- }
- format(String, sizeof(String), "[Euro RPG] O Admin %s Kickou o Jogador %s[ID: %d] pelo motivo: %s\r\n", Nome(playerid), Nome(IdClicado[playerid]), IdClicado[playerid], inputtext);
- SendClientMessageToAll(VERDE_CLARO, String);
- Kickar(ID, Nome(playerid), inputtext);
- EscreverLog("EuroRPG/Logs/Kickados.log", String);
- }
- if(dialogid == DIALOG_BANIR) {
- if(!(response)) {
- format(String, 60, "Opções de Admin sobre %s", NomeClicado[playerid]);
- return ShowPlayerDialog(playerid, DIALOG_OPCOES, DIALOG_STYLE_LIST, String , "{F5F50C}Kickar\n{F5180C}Banir\n{0CF50C}Advertir\n{FF05F7}Trazer\n{FF05F7}Ir\n{14C9C9}Particular\n{0C8CF5}Status", "Avançar", "Fechar");
- }
- if(!(strlen(inputtext))) {
- format(String, sizeof String, "Digite o motivo pelo qual quer banir\no jogador %s (ID: %d)", Nome(IdClicado[playerid]), IdClicado[playerid]);
- return ShowPlayerDialog(playerid, DIALOG_BANIR, DIALOG_STYLE_INPUT, "Banir", String, "Banir", "Fechar");
- }
- format(String, sizeof(String), "[Euro RPG] O Admin %s Baniu o Jogador %s[ID: %d] pelo motivo: %s\r\n", Nome(playerid), Nome(IdClicado[playerid]), IdClicado[playerid], inputtext);
- SendClientMessageToAll(VERDE_CLARO, String);
- EscreverLog("EuroRPG/Logs/Banidos.log", String);
- format(String, sizeof(String), "EuroRPG/Banidos/Contas/%s.txt", Nome(IdClicado[playerid]));
- getdate(Ano, Mes, Dia);
- gettime(Hora, Minuto, Segundo);
- DOF2_CreateFile(String);
- DOF2_SetString(String, "Admin", Nome(playerid));
- DOF2_SetString(String, "Motivo", inputtext);
- DOF2_SetInt(String, "Ano", Ano);
- DOF2_SetInt(String, "Mes", Mes);
- DOF2_SetInt(String, "Dia", Dia);
- DOF2_SetInt(String, "Hora", Hora);
- DOF2_SetInt(String, "Minuto", Minuto);
- Kick(ID);
- }
- if(dialogid == DIALOG_ADVERTIR) {
- if(!(response)) {
- format(String, 60, "Opções de Admin sobre %s", NomeClicado[playerid]);
- return ShowPlayerDialog(playerid, DIALOG_OPCOES, DIALOG_STYLE_LIST, String , "{F5F50C}Kickar\n{F5180C}Banir\n{0CF50C}Advertir\n{FF05F7}Trazer\n{FF05F7}Ir\n{14C9C9}Particular\n{0C8CF5}Status", "Avançar", "Fechar");
- }
- if(!(strlen(inputtext))) {
- format(String, sizeof String, "Digite o motivo pelo qual quer advertir\no jogador %s (ID: %d)", Nome(IdClicado[playerid]), IdClicado[playerid]);
- return ShowPlayerDialog(playerid, DIALOG_KICKAR, DIALOG_STYLE_INPUT, "Advertir", String, "Advertir", "Fechar");
- }
- if(PlayerDados[IdClicado[playerid]][Advertencias] != 3)
- {
- format(String, sizeof(String), "[Euro RPG] O Admin %s Deu uma Advertencia a %s Pelo Motivo: %s\r\n", Nome(playerid), Nome(IdClicado[playerid]), inputtext);
- SendClientMessageToAll(VERMELHO_CLARO, String);
- EscreverLog("EuroRPG/Logs/Advertidos.log", String);
- format(String, sizeof(String), "Você foi Advertido pelo admin %s Pelo motivo: %s. Se for advertido 3 vezes será BANIDO Automaticamente", Nome(playerid), inputtext);
- SendClientMessage(ID, LARANJA, String);
- PlayerDados[ID][Advertencias] += 1;
- }
- if(PlayerDados[IdClicado[playerid]][Advertencias] == 3)
- {
- format(String, sizeof(String), "[Euro RPG] O Admin %s Deu a terceira Advertencia a %s Pelo Motivo: %s e por isso ele foi Banido!", Nome(playerid), Nome(IdClicado[playerid]), inputtext);
- SendClientMessageToAll(VERMELHO_CLARO, String);
- format(String, sizeof(String), "Você foi Advertido pela terceira vez pelo admin %s Pelo motivo: %s. por isso você foi banido!", Nome(playerid), inputtext);
- SendClientMessage(ID, LARANJA, String);
- format(String, sizeof(String), "EuroRPG/Banidos/Contas/%s.txt", Nome(ID));
- getdate(Ano, Mes, Dia);
- gettime(Hora, Minuto, Segundo);
- new IP[25];
- GetPlayerIp(ID, IP, 25);
- DOF2_CreateFile(String);
- DOF2_SetString(String, "Admin", Nome(playerid));
- DOF2_SetString(String, "Motivo", "3° Advertencia");
- DOF2_SetInt(String, "Ano", Ano);
- DOF2_SetInt(String, "Mes", Mes);
- DOF2_SetInt(String, "Dia", Dia);
- DOF2_SetInt(String, "Hora", Hora);
- DOF2_SetInt(String, "Minuto", Minuto);
- Kick(ID);
- }
- }
- if(dialogid == BemVindo)
- {
- if(response == 1)
- {
- SpawnPlayer(playerid);
- Camera[playerid] = 0;
- TextDrawDestroy(Faixa0[playerid]);
- TextDrawDestroy(Faixa1[playerid]);
- return 0;
- }
- else if(response == 0)
- {
- return 0;
- }
- return 0;
- }
- if(dialogid == 27)
- {
- if(PlayerDados[playerid][Colocar] == 0)
- {
- new sexthings[] = "1\tMasculino \n2\tFeminino";
- ShowPlayerDialog(playerid,31,DIALOG_STYLE_LIST,"{0000FF}Seja Bem Vindo, Qual e seu Sexo ?",sexthings,"Ok","Cancelar");
- return 1;
- }
- return 1;
- }
- //--------------------------------( Tutorial )
- if(dialogid == BOM)
- {
- if(response == 1)
- {
- Camera[playerid] = 0;
- InterpolateCameraPos(playerid, 1648.991333, -1506.587768, 70.237091, 1712.693603, -1621.302490, 26.039173, 5000, CAMERA_MOVE);
- InterpolateCameraLookAt(playerid, 1650.572875, -1511.177978, 69.041748, 1716.547241, -1624.255493, 24.843832, 5000, CAMERA_MOVE);
- GameTextForPlayer(playerid,"~w~] ~b~~h~~h~Informacoes ~w~]", 8000, 3);
- ShowPlayerDialog(playerid, 11, DIALOG_STYLE_MSGBOX, "{FF34B3}Informações", "{FFFFFF}Este é um servidor de RPG (Role Play Game), Simulação de vida real.\nVocê não mata ninguém na vida real, não rouba, não faz 'besteiras'.\nSe você for um civil, jogue como um civil. Se for gangster... Ai sim, Poderá matar e roubar.\nNão mate pessoas que não fizeram nada com você.", "Avançar", "");
- return 0;
- }
- else if(response == 0)
- {
- //Kick(playerid);
- return 0;
- }
- return 0;
- }
- if(dialogid == 11)
- {
- if(response == 1)
- {
- InterpolateCameraPos(playerid, 1648.991333, -1506.587768, 70.237091, 1712.693603, -1621.302490, 26.039173, 5000, CAMERA_MOVE);
- InterpolateCameraLookAt(playerid, 1650.572875, -1511.177978, 69.041748, 1716.547241, -1624.255493, 24.843832, 5000, CAMERA_MOVE);
- GameTextForPlayer(playerid,"~w~] ~r~~h~Regras ~w~]", 8000, 3);
- ShowPlayerDialog(playerid, 12, DIALOG_STYLE_MSGBOX, "{FF34B3}Regras", "{FFFFFF}Sempre respeite um adminnistrador ou helper, eles estão fazendo o melhor por você.\nNão abuse da boa vontade de nossos admins e helpers.\nNão peça admin ou helper, e nem peça para que eles aumentem seus cargos.\nNão cause terrorismo, DM, DB, não abuse de BUG's, e nunca use cheater's.", "Avançar", "");
- return 0;
- }
- else if(response == 0)
- {
- Kick(playerid);
- return 0;
- }
- return 0;
- }
- if(dialogid == 12)
- {
- if(response == 1)
- {
- InterpolateCameraPos(playerid, 1648.991333, -1506.587768, 70.237091, 1712.693603, -1621.302490, 26.039173, 5000, CAMERA_MOVE);
- InterpolateCameraLookAt(playerid, 1650.572875, -1511.177978, 69.041748, 1716.547241, -1624.255493, 24.843832, 5000, CAMERA_MOVE);
- GameTextForPlayer(playerid,"~w~] ~g~~h~Comandos ~w~]", 8000, 3);
- ShowPlayerDialog(playerid, 13, DIALOG_STYLE_MSGBOX, "{FF34B3}Comandos", "{FFFFFF}/relatorio - Pede ajuda para um Administrador, /duvida - Esclareça uma dúvida para um helper, /gps - Veja onde ficar os lugares importantes.\n/rg - Ver seus status, /ajuda, /meuskin - Vá até uma binco.\nDigitando /ajuda você todos esses comandos e mais alguns que você utilizará.\nNo /ajuda tem vários outros comandos que podem te ajudar.", "Avançar", "");
- return 0;
- }
- else if(response == 0)
- {
- Kick(playerid);
- return 0;
- }
- return 0;
- }
- if(dialogid == 13)
- {
- if(response == 1)
- {
- GameTextForPlayer(playerid,"~w~$ ~p~Contas ~w~$", 8000, 3);
- ShowPlayerDialog(playerid, 14, DIALOG_STYLE_MSGBOX, "{FF34B3}Contas", "{FFFFFF}Temos conta Vip a partir de R$10,00 (mensal).\nTemos conta VIP Premium a partir de R$15,00 (mensal).\nTemos conta Sócio a partir de R$25,00 (mensal).\nEm nosso forum está todos os benefícios, use: /forum.", "Avançar", "");
- InterpolateCameraPos(playerid, 1648.991333, -1506.587768, 70.237091, 1712.693603, -1621.302490, 26.039173, 5000, CAMERA_MOVE);
- InterpolateCameraLookAt(playerid, 1650.572875, -1511.177978, 69.041748, 1716.547241, -1624.255493, 24.843832, 5000, CAMERA_MOVE);
- return 0;
- }
- else if(response == 0)
- {
- Kick(playerid);
- return 0;
- }
- return 0;
- }
- if(dialogid == 14)
- {
- if(response == 1)
- {
- InterpolateCameraPos(playerid, 1167.816040, -1413.277221, 257.630493, 1568.936279, -1381.132446, 335.658477, 5000, CAMERA_MOVE);
- InterpolateCameraLookAt(playerid, 1172.804565, -1413.483520, 257.899902, 1565.757446, -1377.367187, 334.811035, 5000, CAMERA_MOVE);
- GameTextForPlayer(playerid,"~w~] ~y~Lugares Importantes ~w~]", 8000, 3);
- ShowPlayerDialog(playerid, 15, DIALOG_STYLE_MSGBOX, "{FF34B3}Lugares Importantes", "{FFFFFF}Nosso proximo tópico, mostrará alguns lugares importantes.\nOnde você passará perto o jogo inteiro, e partes fundamentais do servidor.\nComo: Prefeitura, D.E.T.R.A.N, DP, Banco, Binco, Morro, entre outros...\nPreste muita atenção!", "Avançar", "");
- return 0;
- }
- else if(response == 0)
- {
- Kick(playerid);
- return 0;
- }
- return 0;
- }
- if(dialogid == 15)
- {
- if(response == 1)
- {
- InterpolateCameraPos(playerid, 1393.865966, -1588.174560, 81.841621, 1477.733764, -1733.900024, 26.242527, 5000, CAMERA_MOVE);
- InterpolateCameraLookAt(playerid, 1395.725830, -1592.811645, 81.646362, 1477.833251, -1738.754028, 25.047185, 5000, CAMERA_MOVE);
- GameTextForPlayer(playerid,"~w~] ~b~~h~~h~P~r~~h~r~g~~h~e~y~f~p~e~b~~h~~h~i~r~~h~t~g~~h~u~y~r~p~a ~w~]", 8000, 3);
- ShowPlayerDialog(playerid, 16, DIALOG_STYLE_MSGBOX, "{FF34B3}Prefeitura de Los Santos", "{FFFFFF}Neste local, você poderá pegar empregos.\nAqui também será onde o nosso Prefeito ficará quando eleito.", "Avançar", "");
- return 0;
- }
- else if(response == 0)
- {
- Kick(playerid);
- return 0;
- }
- return 0;
- }
- if(dialogid == 16)
- {
- if(response == 1)
- {
- InterpolateCameraPos(playerid, 1027.684814, -1049.232910, 96.898773, 961.219238, -929.241027, 50.036045, 5000, CAMERA_MOVE);
- InterpolateCameraLookAt(playerid, 1025.590454, -1044.952758, 95.384201, 959.452209, -924.652038, 49.131214, 5000, CAMERA_MOVE);
- GameTextForPlayer(playerid,"~w~] ~b~~h~~h~D~w~.~r~~h~E~w~.~g~~h~T~w~.~y~R~w~.~p~A~w~.~b~~h~~h~N ~w~]", 8000, 3);
- ShowPlayerDialog(playerid, 17, DIALOG_STYLE_MSGBOX, "{FF34B3}D.E.T.R.A.N", "{FFFFFF}Neste local, você deverá fazer a prova para tirar sua carteira de motorista.\nAqui você fará a prova, passando no teste terá sua carteira de motorista.", "Avançar", "");
- return 0;
- }
- else if(response == 0)
- {
- Kick(playerid);
- return 0;
- }
- return 0;
- }
- if(dialogid == 17)
- {
- if(response == 1)
- {
- InterpolateCameraPos(playerid, 1505.487548, -1739.100952, 51.548789, 1432.993530, -1705.656982, 18.734588, 5000, CAMERA_MOVE);
- InterpolateCameraLookAt(playerid, 1501.249023, -1737.058837, 49.856334, 1428.392211, -1704.031494, 17.645727, 5000, CAMERA_MOVE);
- GameTextForPlayer(playerid,"~w~] ~b~~h~~h~C~r~~h~e~g~~h~n~y~t~p~r~b~~h~~h~o ~r~~h~d~g~~h~e ~y~L~p~i~b~~h~~h~c~r~~h~e~g~~h~n~y~c~p~a~b~~h~~h~s ~w~]", 8000, 3);
- ShowPlayerDialog(playerid, 18, DIALOG_STYLE_MSGBOX, "{FF34B3}Centro de Lincenças", "{FFFFFF}Neste local, você deverá comprar todas as suas licencas.\nSeja um cidadão comprando suas licencas e respeitando a LEI.", "Avançar", "");
- return 0;
- }
- else if(response == 0)
- {
- Kick(playerid);
- return 0;
- }
- return 0;
- }
- if(dialogid == 18)
- {
- if(response == 1)
- {
- InterpolateCameraPos(playerid, 1374.805786, -1618.235107, 90.054893, 1528.698364, -1673.874633, 27.348447, 5000, CAMERA_MOVE);
- InterpolateCameraLookAt(playerid, 1379.406127, -1619.845092, 88.939361, 1533.369628, -1674.247314, 25.604637, 5000, CAMERA_MOVE);
- GameTextForPlayer(playerid,"~w~] ~b~~h~~h~D~r~~h~e~g~~h~p~y~a~p~r~b~~h~~h~t~r~~h~a~g~~h~m~y~e~p~n~b~~h~~h~t~r~~h~o ~w~]", 8000, 3);
- ShowPlayerDialog(playerid, 19, DIALOG_STYLE_MSGBOX, "{FF34B3}Departamento da Polícia Militar", "{FFFFFF}Neste local, ficarão os policiais de plantão e trabalhando.\nSe não souber como chamar um admin é só vir até aqui que eles vão te ajudar\nDentro dela tem portões onde apenas policias poderão abrir\nBusque por ajuda, ou denuncie crimes aqui !", "Avançar", "");
- return 0;
- }
- else if(response == 0)
- {
- Kick(playerid);
- return 0;
- }
- return 0;
- }
- if(dialogid == 19)
- {
- if(response == 1)
- {
- InterpolateCameraPos(playerid, 1279.005126, -1243.417480, 75.391242, 1194.899047, -1318.225219, 23.343704, 5000, CAMERA_MOVE);
- InterpolateCameraLookAt(playerid, 1275.234130, -1246.097412, 73.494636, 1190.260253, -1318.888671, 21.599893, 5000, CAMERA_MOVE);
- GameTextForPlayer(playerid,"~w~] ~b~~h~~h~H~r~~h~o~g~~h~s~y~p~p~i~b~~h~~h~t~r~~h~a~g~~h~l ~w~]", 8000, 3);
- ShowPlayerDialog(playerid, 20, DIALOG_STYLE_MSGBOX, "{FF34B3}Hospital da (SA-MU)", "{FFFFFF}Neste local, você irá se curar de qualquer doença.\nAqui fica a SA-MU, caso precise de um médico, USE: /servico samu.", "Avançar", "");
- return 0;
- }
- else if(response == 0)
- {
- Kick(playerid);
- return 0;
- }
- return 0;
- }
- if(dialogid == 20)
- {
- if(response == 1)
- {
- InterpolateCameraPos(playerid, 1401.717163, -1615.851440, 64.898704, 1352.706298, -1742.841430, 16.659206, 4999, CAMERA_MOVE);
- InterpolateCameraLookAt(playerid, 1399.545532, -1620.221679, 63.809844, 1352.290771, -1747.787353, 16.055217, 4999, CAMERA_MOVE);
- GameTextForPlayer(playerid,"~w~] ~b~~h~~h~M~r~~h~e~g~~h~r~y~c~p~a~b~~h~~h~d~r~~h~o ~w~]", 8000, 3);
- ShowPlayerDialog(playerid, 21, DIALOG_STYLE_MSGBOX, "{FF34B3}Mercado (24/7)", "{FFFFFF}Neste local, você poderá comprar todos seus acessórios.\nAqui você poderá comprar celular, créditos, agenda, entre outros.", "Avançar", "");
- return 0;
- }
- else if(response == 0)
- {
- Kick(playerid);
- return 0;
- }
- return 0;
- }
- if(dialogid == 21)
- {
- if(response == 1)
- {
- InterpolateCameraPos(playerid, 1593.100341, -1073.655273, 79.886085, 1461.601074, -1031.489135, 28.334873, 5000, CAMERA_MOVE);
- InterpolateCameraLookAt(playerid, 1588.701171, -1071.739746, 78.479545, 1462.224609, -1026.528930, 28.248939, 5000, CAMERA_MOVE);
- GameTextForPlayer(playerid,"~w~$ ~b~~h~~h~B~r~~h~a~g~~g~n~y~c~p~o ~b~~h~~h~M~r~~h~u~g~~h~n~y~i~p~c~b~~h~~h~i~r~~h~p~g~~h~a~y~l ~w~$", 8000, 3);
- ShowPlayerDialog(playerid, 22, DIALOG_STYLE_MSGBOX, "{FF34B3}Banco Municipal", "{FFFFFF}Neste local, você pode transferir sua grana, aumentar, sacar, depositar( também há caixas eletrônicos com essas funções ).\nComo na vida real, banco aqui é feito para pagamentos, juros, saques, salários, etc...\nDica: Mantenha o máximo de grana em sua conta, pois a cada pagamento( PayDay ) os juros vão ser maiores.", "Avançar", "");
- return 0;
- }
- else if(response == 0)
- {
- Kick(playerid);
- return 0;
- }
- return 0;
- }
- if(dialogid == 22)
- {
- if(response == 1)
- {
- InterpolateCameraPos(playerid, 2191.590332, -1594.208740, 55.740154, 2243.482177, -1657.302124, 21.500234, 6000, CAMERA_MOVE);
- InterpolateCameraLookAt(playerid, 2194.101562, -1598.249877, 54.202960, 2243.523681, -1661.852294, 19.427959, 6000, CAMERA_MOVE);
- GameTextForPlayer(playerid,"~w~] ~b~~h~~h~B~r~~h~i~g~~h~n~y~c~p~o ~w~]", 8000, 3);
- ShowPlayerDialog(playerid, 23, DIALOG_STYLE_MSGBOX, "{FF34B3}Binco (Loja de Roupas)", "{FFFFFF}Neste local, você poderá mudar sua roupa ( skin ) para um que você goste.\nCada roupa ( skin ) que você escolher, será cobrado uma grana\nÉ só você entrar e digitar /meuskin [ ID da SKIN ] que irá mudar !", "Avançar", "");
- return 0;
- }
- else if(response == 0)
- {
- Kick(playerid);
- return 0;
- }
- return 0;
- }
- if(dialogid == 23)
- {
- if(response == 1)
- {
- InterpolateCameraPos(playerid, 1279.203857, -1224.265625, 63.254173, 1351.626708, -1275.595214, 25.590328, 5500, CAMERA_MOVE);
- InterpolateCameraLookAt(playerid, 1283.009399, -1227.148803, 61.769111, 1356.130004, -1276.559204, 23.643236, 5500, CAMERA_MOVE);
- GameTextForPlayer(playerid,"~w~] ~b~~h~~h~A~r~~h~m~g~~h~m~y~u ~p~N~b~~h~~h~a~r~~h~t~g~~h~i~y~o~p~n ~w~]", 8000, 3);
- ShowPlayerDialog(playerid, 24, DIALOG_STYLE_MSGBOX, "{FF34B3}Ammu Nation (Loja de Roupas)", "{FFFFFF}Neste local, você poderá comprar armas.\nAmmu Nation é para pessoas comprar armas sómente com licencas.\nUse suas armas sómente em legítima defesa, caso contrário, será preso.", "Avançar", "");
- return 0;
- }
- else if(response == 0)
- {
- Kick(playerid);
- return 0;
- }
- return 0;
- }
- if(dialogid == 24)
- {
- if(response == 1)
- {
- GameTextForPlayer(playerid,"~w~] ~b~~h~~h~M~r~~h~o~g~~h~r~y~r~p~o ~w~]", 8000, 3);
- ShowPlayerDialog(playerid, 25, DIALOG_STYLE_MSGBOX, "{FF34B3}Morro", "{FFFFFF}Neste local, é onde vão ocorrer muitas guerras entre gangs.\nPois querem dominar o morro ou por território de trafico!\nMuitas vezes é invadido pela B.O.P.E/Policia Civil/Policia Militar\nNão fique de bobeira no morro, pode ser vitima de bala perdida !", "Avançar", "");
- InterpolateCameraPos(playerid, 2239.716308, -1222.620971, 118.563636, 2165.385253, -1015.811584, 70.473403, 5000, CAMERA_MOVE);
- InterpolateCameraLookAt(playerid, 2238.660156, -1217.895874, 117.315261, 2163.491943, -1011.197875, 70.114334, 5000, CAMERA_MOVE);
- return 0;
- }
- else if(response == 0)
- {
- Kick(playerid);
- return 0;
- }
- return 0;
- }
- if(dialogid == 25)
- {
- if(response == 1)
- {
- InterpolateCameraPos(playerid, 1419.806884, -1459.233398, 149.731658, 1722.459838, -1621.930297, 25.961692, 5000, CAMERA_MOVE);
- InterpolateCameraLookAt(playerid, 1423.763305, -1461.779418, 148.039199, 1723.578857, -1626.317260, 23.839773, 5000, CAMERA_MOVE);
- GameTextForPlayer(playerid,"~y~] ~b~~h~~h~F~r~~h~I~g~~h~M ~y~]", 8000, 3);
- ShowPlayerDialog(playerid, 26, DIALOG_STYLE_MSGBOX, "{FF34B3}Finalizando", "{FFFFFF}Nunca peça Administrador ou Helper.\n{FFFFFF}Nós sabemos quando você merecerá.\nSe você tiver um /RG, poste em nosso forum.\n{FFFFFF}Use: /forum pra mais informações\nTenha um {FF0000}excelente jogo!", "Avançar", "");
- return 0;
- }
- else if(response == 0)
- {
- Kick(playerid);
- return 0;
- }
- return 0;
- }
- if(dialogid == 26)
- {
- if(response == 1)
- {
- SpawnPlayer(playerid);
- ShowPlayerDialog(playerid, 27, DIALOG_STYLE_MSGBOX, "{FF34B3}Bom Jogo", "{FFFFFF}Criado por {FF0000}Life_Advanced {FFFFFF}e {FF0000}American_Style", "Owna", "");
- return 0;
- }
- return 0;
- }
- //--------------------------------//
- if(dialogid == DIALOG_PART) {
- if(!(response)) {
- format(String, 60, "Opções de Admin sobre %s", NomeClicado[playerid]);
- return ShowPlayerDialog(playerid, DIALOG_OPCOES, DIALOG_STYLE_LIST, String , "{F5F50C}Kickar\n{F5180C}Banir\n{0CF50C}Advertir\n{FF05F7}Trazer\n{FF05F7}Ir\n{14C9C9}Particular\n{0C8CF5}Status", "Avançar", "Fechar");
- }
- if(!(strlen(inputtext))) {
- format(String, sizeof String, "Digite a mensagem particular que deseja enviar\nao jogador %s (ID: %d)", Nome(IdClicado[playerid]), IdClicado[playerid]);
- return ShowPlayerDialog(playerid, DIALOG_PART, DIALOG_STYLE_INPUT, "Particular", String, "Enviar", "Fechar");
- }
- format(String, sizeof(String), "Particular de {E0D01B}%s{FFFF00}: %s", Nome(playerid), inputtext);
- Msg(IdClicado[playerid], AMARELO, String);
- format(String, sizeof(String), "Particular enviada com sucesso para %s", Nome(ID));
- Msg(playerid, AMARELO, String);
- }
- if(dialogid == DIALOG_IPS1) {
- if(!(response))
- return 0;
- ShowPlayerDialog(playerid, DIALOG_IPS2, DIALOG_STYLE_MSGBOX, "Ips dos jogadores conectados:", Ips2, "Fechar", "Voltar");
- }
- if(dialogid == DIALOG_IPS2) {
- if(!(response))
- ShowPlayerDialog(playerid, DIALOG_IPS1, DIALOG_STYLE_MSGBOX, "Ips dos jogadores conectados:", Ips2, "Proximo", "Fechar");
- else
- return 0;
- }
- return 0;
- }
- //--------------[ Inicios dos Comandos ]-----------------//
- #if USAR_SISTEMA_VIP == 1
- CMD:v(playerid, params[])
- {
- new t[128];
- if(PlayerDados[playerid][Vip] == false) return SendClientMessage(playerid, BRANCO, "Você não é um jogador VIP!");
- if(sscanf(params, "s", t)) return MensagemDupla(playerid, "[Euro RPG] Use /v [texto]", "Use o comando para enviar uma mensagem a todos os vips online.");
- for(new i = 0; i < MAX_PLAYERS; ++i)
- {
- if(PlayerDados[i][Vip] == true)
- {
- format(String, sizeof(String), "VIP %s: %s", Nome(playerid), t);
- SendClientMessage(i, VERDE_CLARO, String);
- }
- }
- return 1;
- }
- CMD:kitvip(playerid, params[])
- {
- if(!PlayerDados[playerid][Vip]) return SendClientMessage(playerid, BRANCO, "Você não é um jogador VIP!");
- MensagemFormatadaParaTodos(AMARELO, "O Jogador %s pegou um KitVip", Nome(playerid));
- ResetPlayerWeapons(playerid);
- GivePlayerWeapon(playerid, 4, 1); //FACA
- GivePlayerWeapon(playerid, 16, 200); //GRANADA
- GivePlayerWeapon(playerid, 24, 300); //DESERT EAGLE
- GivePlayerWeapon(playerid, 25, 300);
- GivePlayerWeapon(playerid, 29, 500); //MP5
- GivePlayerWeapon(playerid, 30, 500); //AK-47
- GivePlayerWeapon(playerid, 34, 200); //SNIPER
- PlayerDados[playerid][PegouKit] = true;
- TimerKit = SetTimerEx("LiberarKit", 30*1000, false, "i", playerid);
- return 1;
- }
- CMD:vips(playerid, params[])
- {
- new IsVip;
- SendClientMessage(playerid, VERDE_CLARO, "Vips Online:");
- for(new i = 0; i < MAX_PLAYERS; ++i)
- {
- if(PlayerDados[i][Vip])
- {
- format(String, sizeof(String), "%s", Nome(i));
- SendClientMessage(playerid, BRANCO, String);
- IsVip++;
- }
- }
- if(IsVip == 0)
- {
- SendClientMessage(playerid, CINZA, "Nenhum VIP online.");
- }
- IsVip = 0;
- return 1;
- }
- CMD:cc(playerid, params[])
- {
- new
- Carro,
- Cor1,
- Cor2;
- if(!PlayerDados[playerid][Vip]) return SendClientMessage(playerid, BRANCO, "Você precisa ser Vip para usar este comando!");
- if(sscanf(params, "iii", Carro, Cor1, Cor2)) return SendClientMessage(playerid, CINZA, "[Euro RPG] Use /cc [ID] [cor1] [cor2]"), SendClientMessage(playerid, CINZA, "Use o comando para criar um veiculo VIP.");
- new Float:X,
- Float:Y,
- Float:X1,
- Float:Y1,
- Float:Z,
- Float:A;
- PosicaoFrentePlayer(playerid, X, Y, 3);
- GetPlayerPos(playerid, X1, Y1, Z);
- GetPlayerFacingAngle(playerid, A);
- DestroyVehicle(CarroDono[playerid]);
- CarroDono[playerid] = CreateVehicle(Carro, X, Y, Z, A+90, Cor1, Cor2, 15);
- format(String, sizeof(String), "Carro VIP de {FFFF00}%s", Nome(playerid));
- DonoCarro[playerid] = Create3DTextLabel(String, VERDE_CLARO, X, Y, Z+1, 30, 0, 1);
- Attach3DTextLabelToVehicle(DonoCarro[playerid], CarroDono[playerid], 0, 0, 0);
- PutPlayerInVehicle(playerid, CarroDono[playerid], 0);
- return 1;
- }
- #endif
- CMD:sim(playerid, params[])
- {
- if(Enquete[Criada] == false) return SendClientMessage(playerid, CINZA, "Nenhuma enquete aberta!");
- Enquete[VotoSim]++;
- SendClientMessage(playerid, AMARELO, "Voto computado com sucesso.");
- return 1;
- }
- CMD:nao(playerid, params[])
- {
- if(Enquete[Criada] == false) return SendClientMessage(playerid, CINZA, "Nenhuma enquete aberta!");
- Enquete[VotoNao]++;
- SendClientMessage(playerid, AMARELO, "Voto computado com sucesso.");
- return 1;
- }
- CMD:relatorio(playerid, params[])
- {
- new Texto[128];
- if(sscanf(params, "s", Texto)) return SendClientMessage(playerid, BRANCO, "[Euro RPG] Use /relatorio [texto] para mandar uma mensagem para os admins online");
- new strel[256];
- format(strel, sizeof(strel), "Relatorio de %s: %s\r\n", Nome(playerid), Texto);
- EscreverLog("EuroRPG/Logs/Relatorios.log", strel);
- if(PlayerDados[playerid][Vip] == true)
- {
- for(new i = 0; i < MAX_PLAYERS; i++)
- {
- if((PlayerDados[i][Admin] > 0) || (PlayerDados[i][Helper]))
- {
- format(String, sizeof(String), "Relatorio VIP de %s [ID: %d]: %s", Nome(playerid), playerid, Texto);
- SendClientMessage(i, VERDE, String);
- }
- }
- SendClientMessage(playerid, VERDE, "Seu relatorio VIP foi enviado com sucesso!");
- return 1;
- }
- for(new i = 0; i < MAX_PLAYERS; i++)
- {
- if((PlayerDados[i][Admin] > 0) || (PlayerDados[i][Helper]))
- {
- format(String, sizeof(String), "Relatorio de %s [ID: %d]: %s", Nome(playerid), playerid, Texto);
- SendClientMessage(i, AMARELO, String);
- }
- }
- SendClientMessage(playerid, AMARELO, "Seu relatorio foi enviado com sucesso!");
- return 1;
- }
- CMD:admins(playerid, params[])
- {
- new IsAdmin;
- SendClientMessage(playerid, ROSA, "Admin Online:");
- new Online[10];
- for(new i = 0; i < MAX_PLAYERS; i++)
- {
- if(IsPlayerConnected(i)) {
- if(PlayerDados[i][Admin] > 0)
- {
- if(PlayerDados[i][Escondido] == false) {
- if(PlayerDados[i][Admin] == 1) AdminNivel = "Moderador";
- if(PlayerDados[i][Admin] == 2) AdminNivel = "Admin Iniciante";
- if(PlayerDados[i][Admin] == 3) AdminNivel = "Admin Geral";
- if(PlayerDados[i][Admin] == 4) AdminNivel = "Sub Dono";
- if(PlayerDados[i][Admin] == 5) AdminNivel = "Dono";
- if(PlayerDados[i][Trabalhando] == true) AdminTrabalhando = "Trabalhando";
- if(PlayerDados[i][Trabalhando] == false) AdminTrabalhando = "Jogando";
- if(PlayerDados[i][Afk] == true) Online = "AFK";
- if(PlayerDados[i][Afk] == false) Online = "Online";
- format(String, sizeof(String), "%s | %s | %s | %s", Nome(i), AdminNivel, AdminTrabalhando, Online);
- SendClientMessage(playerid, LARANJA, String);
- IsAdmin ++;
- }
- }
- }
- }
- if(IsAdmin == 0)
- {
- SendClientMessage(playerid, CINZA, "Nenhum Admin Online!");
- }
- IsAdmin = 0;
- SendClientMessage(playerid, CINZA, "Use /helpers");
- return 1;
- }
- //SÓ VAI FUNCIONAR O SEGUINTE COMANDO SE VC USAR O SISTEMA DE REGISTRO DO FS
- #if USAR_SISTEMA_REGISTRO == 1
- CMD:mudarsenha(playerid, params[])
- {
- new StrConta[100];
- format(StrConta,sizeof(StrConta), "EuroRPG/Contas/%s.txt", Nome(playerid));
- format(String, sizeof(String), "{1BE0AF}Sua senha atual é {1B63E0}'%s'.\n\nDigite sua nova senha abaixo:", DOF2_GetString(StrConta, "Senha"));
- ShowPlayerDialog(playerid, DIALOG_SENHANOVA, DIALOG_STYLE_INPUT, "{1BE084}Nova Senha", String, "Mudar", "Cancelar");
- return 1;
- }
- #endif
- CMD:helpers(playerid, params[])
- {
- new IsHelper;
- new Online[10];
- SendClientMessage(playerid, VERDE, "Helpers Online:");
- for(new i = 0; i < MAX_PLAYERS; i++)
- {
- if(PlayerDados[i][Helper])
- {
- if(PlayerDados[i][Trabalhando] == true) AdminTrabalhando = "Trabalhando";
- if(PlayerDados[i][Trabalhando] == false) AdminTrabalhando = "Jogando";
- if(PlayerDados[i][Afk] == true) Online = "AFK";
- if(PlayerDados[i][Afk] == false) Online = "Online";
- format(String, sizeof(String), "%s | %s | %s", Nome(i), AdminTrabalhando, Online);
- SendClientMessage(playerid, VERDE_CLARO, String);
- IsHelper ++;
- }
- }
- if(IsHelper == 0)
- {
- SendClientMessage(playerid, CINZA, "Nenhum Helper Online!");
- }
- IsHelper = 0;
- return 1;
- }
- CMD:duvida(playerid, params[]) {
- new texto[100];
- if(sscanf(params, "s", texto))
- return MensagemDupla(playerid, "Use /duvida [pergunta]", "Use o comando para enviar uma duvida aos Helpers online.");
- Pergunta[playerid] = texto;
- Loop(i, MAX_PLAYERS) {
- if(IsPlayerConnected(i)) {
- if(GetarDado(i, Helper) == true) {
- MsgFormat(playerid, AMARELO, "Duvida de %s: %s. Use /responder", Nome(playerid), texto);
- }
- }
- }
- return 1;
- }
- CMD:responder(playerid, params[]) {
- if(GetarDado(playerid, Helper) == false)
- return Msg(playerid, CINZA, "Você precisa ser helper para usar esse comando.");
- new texto[128];
- if(sscanf(params, "us", ID, texto))
- return MensagemDupla(playerid, "[Euro RPG] Use /responder [playerid] [resposta]", "Use o comando para responder uma /duvida.");
- if(strcmp(Pergunta[ID], "Nenhuma", true) == 0)
- return Msg(playerid, CINZA, "O jogador não fez nenhuma pergunta.");
- format(String, sizeof String, "Resposta do Helper %s da sua pergunta: %s", Nome(playerid), Pergunta[ID]);
- Msg(ID, AMARELO, String);
- format(String, sizeof String, "%s", texto);
- Msg(ID, AMARELO, String);
- MsgFormat(playerid, VERDE_CLARO, "Resposta enviada com sucesso para %s [ID: %d]", Nome(ID), ID);
- Pergunta[ID] = "Nenhuma";
- return 1;
- }
- CMD:id(playerid, params[]) {
- new name[24];
- if(sscanf(params, "s", name))
- return MensagemDupla(playerid, "[Euro RPG] Use /id [Nome]", "Use o comando para saber o ID de um player através do seu nome.");
- new total = 0;
- Loop(i, MAX_PLAYERS) {
- if(IsPlayerConnected(i)) {
- if(strfind(Nome(i), name, true) != -1) {
- format(String, 50, "ID: %d - NOME: %s", i, Nome(i));
- Msg(playerid, VERDE_CLARO, String);
- total ++;
- }
- }
- }
- if(total == 0)
- Msg(playerid, CINZA, "Nenhum jogador encontrado com esse nome.");
- return 1;
- }
- CMD:temposair(playerid, params[])
- {
- if(PlayerDados[playerid][Preso] < 1) return SendClientMessage(playerid, CINZA, "[Euro RPG] Você não está preso para usar este comando");
- format(String, sizeof(String), "Faltam %d Segundos para você ficar livre!", PlayerDados[playerid][Preso]);
- SendClientMessage(playerid, VERDE_CLARO, String);
- return 1;
- }
- CMD:la(playerid, params[])
- {
- new Ajuda[1500];
- if((PlayerDados[playerid][Admin] == 0) && (PlayerDados[playerid][Helper] == false)) return SendClientMessage(playerid, BRANCO, "Você precisa ser admin ou helper para usar este comando!");
- if(PlayerDados[playerid][Helper])//HELPER
- {
- strcat(Ajuda,"{FFFFFF}Helper\n{FFEA03}/Jogar - /Trabalhar - /Servico - /Ir - /Trazer - /Particular - /Players\n/Afk - /SairAfk - /Responder\n\n");
- }
- if(PlayerDados[playerid][Admin] > 0)//NIVEL 1
- {
- strcat(Ajuda, "{FFFFFF}Nivel 1\n{4CFA1B}/desbugar - /Jogar - /Trabalhar - /Servico - /InfoPlayer - /Verip - /Avisar - /Destrancarcarros\n/Kickar - /Tapa - /Assistir - /pAssistir - /Texto - /a - /Particular\n/Players - /Afk - /SairAfk - /Contagem - /PortaoAdm - /LimparChat\n\n");
- }//20
- if(PlayerDados[playerid][Admin] > 1)//NIVEL 2
- {
- strcat(Ajuda, "{FFFFFF}Nivel 2\n{0C9E05}/SetarInterior - /Banir - /Desbanir - /Advertir - /Ir - /Trazer\n/Congelar - /Descongelar - /Dararma - /Desarmar - /CriarCarro\n/Respawn - /DestruirCarro - /Calar - /Liberar - /SetarVida - /SetarColete\n/ForcarCarro - /ForcarSkin - /Jetpack - /TrazerTodos - /MoverPlayer - /PosPlayer\n/Versao - /Blindar - /Desblindar\n\n");
- }//22
- if(PlayerDados[playerid][Admin] > 2)//NIVEL 3
- {
- strcat(Ajuda, "{FFFFFF}Nivel 3\n{11CFCF}/Prender - /tirarcadeia - /SetarSkin - /SetarNome - /SetarCor\n/Clima - /GodMode - /Ejetar - /Falar - /Crash - /SetarPontos\n/SetarPos - /VerPos - /Barril - /dBarris - /BanirIP - /DesbanirIP\n/Tempo - /AtivarMsgs - /DesativarMsgs\n/Enquete - /Disfarce - /SairDisfarce - /KickSecreto - /BanSecreto - /SetarVW\n\n");
- }//23
- if(PlayerDados[playerid][Admin] > 3)//NIVEL 4
- {
- strcat(Ajuda, "{FFFFFF}Nivel 4\n{1170CF}/DesarmarTodos - /ChatFalso - /Invisivel\n/Visivel - /InteriorTodos - /IPs - /CongelarTodos\n/DescongelarTodos - /MatarTodos - /DarVip - /TirarVip - \n/FoderPlayer - /DEntradas - /Resetar - /CriarIcone - /DestruirIcone - \verificar\n\n");
- }//17
- if(PlayerDados[playerid][Admin] > 4)//NIVEL 5
- {
- strcat(Ajuda, "{FFFFFF}Nivel 5\n{FA0505}/tiraradmin - /CriarTeleporte - /DarAdmin\n/SetarGravidade - /DarHelper - /TirarHelper - /SetarAdmin - /TrancarServer\n/DestrancarServer\n\n");
- }//11 = 93
- ShowPlayerDialog(playerid, DIALOG_AL, DIALOG_STYLE_MSGBOX, "Euro RPG - Ajuda", Ajuda, "Fechar", "");
- return 1;
- }
- CMD:limparchat(playerid, params[])
- {
- if(!NivelRequerido(playerid, 1)) return 1;
- for(new t = 0; t < 100; ++t)
- {
- SendClientMessageToAll(-1, " ");
- }
- MensagemFormatadaParaTodos(AZUL_CLARO, "O Admin {1B95E0}%s{00C2EC} limpou o chat.", Nome(playerid));
- return 1;
- }
- CMD:contagem(playerid, params[])
- {
- if(!NivelRequerido(playerid, 1)) return 1;
- if(sscanf(params, "i", time)) return MensagemDupla(playerid, "[Euro RPG] Use /contagem [tempo]", "Use o comando para iniciar uma contagem regressiva.");
- if((time < 1) || (time > 20)) return Msg(playerid, CINZA, "Use no maximo 20 segundos!");
- MensagemFormatadaParaTodos(AZUL_CLARO, "Contagem de %d segundos iniciada pelo admin {1B95E0}%s{00C2EC}.", time, Nome(playerid));
- TimerCont = SetTimer("DiminuirTempo", 1000, true);
- return 1;
- }
- CMD:afk(playerid, params[])
- {
- if((PlayerDados[playerid][Admin] < 1) && (PlayerDados[playerid][Helper] == false)) return SendClientMessage(playerid, BRANCO, "Você precisa ser admin ou helper para usar este comando!");
- if(PlayerDados[playerid][Trabalhando] == false) return Msg(playerid, CINZA, "Você precisa trabalhar para usar o comando. Use /servico.");
- TogglePlayerSpectating(playerid, true);
- SetPlayerHealth(playerid, 99999);
- TogglePlayerControllable(playerid, false);
- PlayerDados[playerid][Afk] = true;
- MensagemFormatadaParaTodos(AZUL_CLARO, "O Admin {1B95E0}%s{00C2EC} Está AFK. Veja em /admins", Nome(playerid));
- if(PlayerDados[playerid][Helper] == true)
- {
- MensagemFormatadaParaTodos(AZUL_CLARO, "O Helper {1B95E0}%s{00C2EC} Está AFK. Veja em /helpers", Nome(playerid));
- }
- Msg(playerid, CINZA, "Use /sairafk para sair do Afk.");
- return 1;
- }
- CMD:sairafk(playerid, params[])
- {
- if((PlayerDados[playerid][Admin] < 1) && (PlayerDados[playerid][Helper] == false)) return SendClientMessage(playerid, BRANCO, "Você precisa ser admin ou helper para usar este comando!");
- if(PlayerDados[playerid][Trabalhando] == false) return Msg(playerid, CINZA, "Você precisa trabalhar para usar o comando. Use /servico.");
- TogglePlayerSpectating(playerid, false);
- SetPlayerHealth(playerid, 99999);
- TogglePlayerControllable(playerid, true);
- PlayerDados[playerid][Afk] = false;
- MensagemFormatadaParaTodos(AZUL_CLARO, "O Admin {1B95E0}%s{00C2EC} não está mais AFK. Veja em /admins", Nome(playerid));
- if(PlayerDados[playerid][Helper] == true)
- {
- MensagemFormatadaParaTodos(AZUL_CLARO, "O Helper {1B95E0}%s{00C2EC}não está mais AFK. Veja em /helpers", Nome(playerid));
- }
- return 1;
- }
- CMD:players(playerid, params[])
- {
- if((PlayerDados[playerid][Admin] < 1) && (PlayerDados[playerid][Helper] == false)) return SendClientMessage(playerid, BRANCO, "Você precisa ser admin ou helper para usar este comando!");
- format(String, sizeof(String), "Players Online: {E0D01B}%d/%d", PlayersOnline, GetMaxPlayers());
- SendClientMessageToAll(AZUL, String);
- return 1;
- }
- CMD:particular(playerid, params[])
- {
- if((PlayerDados[playerid][Admin] < 1) && (PlayerDados[playerid][Helper] == false)) return SendClientMessage(playerid, BRANCO, "Você precisa ser admin ou helper para usar este comando!");
- if(PlayerDados[playerid][Trabalhando] == false) return SendClientMessage(playerid, CINZA, "Você precisa trabalhar para usar o comando. Use /servico.");
- new t[128];
- if(sscanf(params, "us", ID, t)) return MensagemDupla(playerid, "[Euro RPG] Use /particular [ID] [texto]", "Use o comando para mandar uma mensagem particular para um jogador.");
- format(String, sizeof(String), "Particular de {E0D01B}%s{FFFF00}: %s", Nome(playerid), t);
- Msg(ID, AMARELO, String);
- format(String, sizeof(String), "Particular enviada com sucesso para %s", Nome(ID));
- Msg(playerid, AMARELO, String);
- return 1;
- }
- CMD:servico(playerid, params[])
- {
- if((PlayerDados[playerid][Admin] == 0) && (PlayerDados[playerid][Helper] == false)) return SendClientMessage(playerid, BRANCO, "Você precisa ser admin para usar este comando!");
- if((PlayerDados[playerid][Trabalhando] == true))
- {
- PlayerDados[playerid][Trabalhando] = false;
- format(String, sizeof(String), "O Admin {1B95E0}%s{00C2EC} Está Jogando, Agora ele é um Jogador Normal", Nome(playerid));
- if(PlayerDados[playerid][Helper])
- {
- format(String, sizeof(String), "O Helper {1B95E0}%s{00C2EC} Está Jogando, Agora ele é um Jogador Normal", Nome(playerid));
- }
- SendClientMessageToAll(AZUL_CLARO, String);
- SendClientMessage(playerid, BRANCO, "Para voltar a trabalhar use {00FFFF}/servico novamente.");
- SetPlayerSkin(playerid,PlayerDados[playerid][pSkin]);
- SetPlayerColor(playerid, BRANCO);
- SetPlayerHealth(playerid, 100);
- return 1;
- }
- if((PlayerDados[playerid][Trabalhando] == false))
- {
- PlayerDados[playerid][Trabalhando] = true;
- format(String, sizeof(String), "O Admin {1B95E0}%s{00C2EC} Está Trabalhando, Veja em /admins", Nome(playerid));
- if(PlayerDados[playerid][Helper])
- {
- format(String, sizeof(String), "O Helper {1B95E0}%s{00C2EC} Está Trabalhando, Veja em /helpers", Nome(playerid));
- }
- SendClientMessageToAll(AZUL_CLARO, String);
- SendClientMessage(playerid, BRANCO, "Para voltar a jogar use {00FFFF}/servico novamente.");
- SetPlayerSkin(playerid, 211);
- SetPlayerColor(playerid, COR_ROSA);
- SetPlayerHealth(playerid, 999999);
- }
- return 1;
- }
- CMD:jogar(playerid, params[])
- {
- if((PlayerDados[playerid][Admin] == 0) && (PlayerDados[playerid][Helper] == false)) return SendClientMessage(playerid, BRANCO, "Você precisa ser admin ou helper para usar este comando!");
- if(PlayerDados[playerid][Trabalhando] == false) return SendClientMessage(playerid, CINZA, "Você ja está jogando!");
- PlayerDados[playerid][Trabalhando] = false;
- format(String, sizeof(String), "O Admin {1B95E0}%s{00C2EC} Está Jogando, Agora ele é um Jogador Normal", Nome(playerid));
- if(PlayerDados[playerid][Helper])
- {
- format(String, sizeof(String), "O Helper {1B95E0}%s{00C2EC} Está Jogando, Agora ele é um Jogador Normal", Nome(playerid));
- }
- SendClientMessageToAll(AZUL_CLARO, String);
- SendClientMessage(playerid, BRANCO, "Para voltar a trabalhar use {00FFFF}'/trabalhar'");
- SetPlayerSkin(playerid,PlayerDados[playerid][pSkin]);
- SetPlayerColor(playerid, BRANCO);
- SetPlayerHealth(playerid, 100);
- return 1;
- }
- CMD:trabalhar(playerid, params[])
- {
- if((PlayerDados[playerid][Admin] == 0) && (PlayerDados[playerid][Helper] == false)) return SendClientMessage(playerid, BRANCO, "Você precisa ser admin ou helper para usar este comando!");
- if(PlayerDados[playerid][Trabalhando] == true) return SendClientMessage(playerid, CINZA, "Você ja está trabalhando!");
- PlayerDados[playerid][Trabalhando] = true;
- format(String, sizeof(String), "O Admin {1B95E0}%s{00C2EC} Está Trabalhando, Veja em /admins", Nome(playerid));
- if(PlayerDados[playerid][Helper])
- {
- format(String, sizeof(String), "O Helper {1B95E0}%s{00C2EC} Está Trabalhando, Veja em /helpers", Nome(playerid));
- }
- SendClientMessageToAll(AZUL_CLARO, String);
- SetPlayerSkin(playerid, 211);
- SendClientMessage(playerid, BRANCO, "Para voltar ao Modo jogo {00FFFF}'/jogar'");
- SetPlayerColor(playerid, COR_ROSA);
- SetPlayerHealth(playerid, 999999);
- return 1;
- }
- CMD:infoplayer(playerid, params[])
- {
- new StringM[500];
- new Fala[4];
- new ip[25];
- if(PlayerDados[playerid][Admin] < 1) return SendClientMessage(playerid, BRANCO, "Você precisa ser admin para usar este comando!");
- if(PlayerDados[playerid][Trabalhando] == false) return SendClientMessage(playerid, CINZA, "Você precisa trabalhar para usar o comando. Use /servico.");
- if(sscanf(params, "u", ID)) return SendClientMessage(playerid, CINZA, "[Euro RPG] Use /infoplayer [ID]"), SendClientMessage(playerid, CINZA, "Use o Comando para ver as informações de um certo player");
- if(!IsPlayerConnected(ID)) return SendClientMessage(playerid, BRANCO, "[ERRO] ID invalido");
- if(PlayerDados[ID][Calado] == true) Fala = "Sim";
- if(PlayerDados[ID][Calado] == false) Fala = "Nao";
- GetPlayerIp(ID, ip, 25);
- format(StringM, sizeof(StringM), "{FFFFFF}Dados de {11D41E}%s{FFFFFF}\n\n{11D41E}Matou:{FFFFFF} %d\n{11D41E}Morreu:{FFFFFF} %d\n{11D41E}Grana:{FFFFFF} %d\n{11D41E}Admin Level:{FFFFFF} %d\n{11D41E}Calado:{FFFFFF} %s\n{11D41E}Tempo Preso:{FFFFFF} %d", Nome(ID), PlayerDados[ID][Matou], PlayerDados[ID][Morreu], GetPlayerMoney(ID), PlayerDados[ID][Admin], Fala, PlayerDados[ID][Preso]);
- format(StringM, sizeof(StringM), "%s\n{11D41E}Advertencias:{FFFFFF} %d \n{11D41E}IP:{FFFFFF} %s", StringM, PlayerDados[ID][Advertencias], ip);
- ShowPlayerDialog(playerid, DIALOG_INFO, DIALOG_STYLE_MSGBOX, "Informações do Player", StringM, "Fechar", "");
- return 1;
- }
- CMD:verip(playerid, params[])
- {
- if(PlayerDados[playerid][Admin] < 1) return SendClientMessage(playerid, BRANCO, "Você precisa ser admin para usar este comando!");
- if(PlayerDados[playerid][Trabalhando] == false) return SendClientMessage(playerid, CINZA, "Você precisa trabalhar para usar o comando. Use /servico.");
- if(sscanf(params, "u", ID)) return SendClientMessage(playerid, CINZA, "[Euro RPG] Use /verid [ID]");
- if(!IsPlayerConnected(ID)) return SendClientMessage(playerid, BRANCO, "[ERRO] ID invalido");
- new strip[20];
- GetPlayerIp(ID, strip, 20);
- format(String, sizeof(String), "O IP de %s é:", Nome(ID));
- SendClientMessage(playerid, AZUL_CLARO, String);
- format(String, sizeof(String), "%s", strip);
- SendClientMessage(playerid, VERDE_CLARO, String);
- return 1;
- }
- CMD:avisar(playerid, params[])
- {
- new Texto[128];
- if(PlayerDados[playerid][Admin] < 1) return SendClientMessage(playerid, BRANCO, "Você precisa ser admin para usar este comando!");
- if(PlayerDados[playerid][Trabalhando] == false) return SendClientMessage(playerid, CINZA, "Você precisa trabalhar para usar o comando. Use /servico.");
- if(sscanf(params, "s", Texto)) return SendClientMessage(playerid, CINZA, "[Euro RPG] Use /avisar [texto]"), SendClientMessage(playerid, CINZA, "Use o comando para mandar um aviso aos jogadores");
- format(String, sizeof(String), "Admin %s [nivel %d]: %s", Nome(playerid), PlayerDados[playerid][Admin], Texto);
- SendClientMessageToAll(AZUL, "________________________AVISO DA ADMINISTRAÇÃO________________________");
- SendClientMessageToAll(AZUL_CLARO, String);
- return 1;
- }
- CMD:destrancarcarros(playerid, params[])
- {
- if(PlayerDados[playerid][Admin] < 1) return SendClientMessage(playerid, BRANCO, "Você precisa ser admin para usar este comando!");
- if(PlayerDados[playerid][Trabalhando] == false) return SendClientMessage(playerid, CINZA, "Você precisa trabalhar para usar o comando. Use /servico.");
- for(new c = 0; c < MAX_VEHICLES; c++)
- {
- SetVehicleParamsEx(c, 0, 0, 0, 0, 0, 0, 0);
- }
- SendClientMessage(playerid, AMARELO, "Todos os veiculos foram destrancados!");
- return 1;
- }
- CMD:kickar(playerid, params[])
- {
- new Razao[128];
- if(PlayerDados[playerid][Admin] < 1) return SendClientMessage(playerid, BRANCO, "Você precisa ser admin para usar este comando!");
- if(PlayerDados[playerid][Trabalhando] == false) return SendClientMessage(playerid, CINZA, "Você precisa trabalhar para usar o comando. Use /servico.");
- if(sscanf(params, "us", ID, Razao)) return SendClientMessage(playerid, CINZA, "[Euro RPG] Use /kickar [ID] [Razão]"), SendClientMessage(playerid, CINZA, "Use o comando para kickar um jogador");
- if(!IsPlayerConnected(ID)) return SendClientMessage(playerid, BRANCO, "[ERRO] ID invalido");
- if(PlayerDados[ID][Admin] > PlayerDados[playerid][Admin]) return SendClientMessage(playerid, CINZA, "Você não pode fazer nada contra um admin superior a você!");
- format(String, sizeof(String), "[Euro RPG] O Admin %s Kickou o Jogador %s[ID: %d] pelo motivo: %s\r\n", Nome(playerid), Nome(ID), ID, Razao);
- SendClientMessageToAll(VERDE_CLARO, String);
- Kickar(ID, Nome(playerid), Razao);
- EscreverLog("EuroRPG/Logs/Kickados.log", String);
- return 1;
- }
- CMD:tapa(playerid, params[])
- {
- if(PlayerDados[playerid][Admin] < 1) return SendClientMessage(playerid, BRANCO, "Você precisa ser admin para usar este comando!");
- if(PlayerDados[playerid][Trabalhando] == false) return SendClientMessage(playerid, CINZA, "Você precisa trabalhar para usar o comando. Use /servico.");
- if(sscanf(params, "u", ID)) return SendClientMessage(playerid, CINZA, "[Euro RPG] Use /tapa [ID]"), SendClientMessage(playerid, CINZA, "Use o comando para dar um tapa em um jogador");
- if(PlayerDados[ID][Admin] > PlayerDados[playerid][Admin]) return SendClientMessage(playerid, CINZA, "Você não pode fazer nada contra um admin superior a você!");
- // new Float:Pos[3];
- GetPlayerPos(ID, Pos[0], Pos[1], Pos[2]);
- SetPlayerPos(ID, Pos[0], Pos[1], Pos[2]+20);
- format(String, sizeof(String), "[Euro RPG] O Admin %s Deu um tapa em %s\r\n", Nome(playerid), Nome(ID));
- EscreverLog("EuroRPG/Logs/Tapas.log", String);
- return 1;
- }
- CMD:assistir(playerid, params[])
- {
- if(PlayerDados[playerid][Admin] < 1) return SendClientMessage(playerid, BRANCO, "Você precisa ser admin para usar este comando!");
- if(PlayerDados[playerid][Trabalhando] == false) return SendClientMessage(playerid, CINZA, "Você precisa trabalhar para usar o comando. Use /servico.");
- if(sscanf(params, "u", ID)) return SendClientMessage(playerid, CINZA, "[Euro RPG] Use /assistir [ID]"), SendClientMessage(playerid, CINZA, "Use o comando para assistir os movimentos de um jogador");
- TogglePlayerSpectating(playerid, 1);
- PlayerSpectatePlayer(playerid, ID);
- PlayerDados[playerid][Assistindo] = true;
- SendClientMessage(playerid, VERDE_CLARO, "Para parar de assistir use /passistir");
- return 1;
- }
- CMD:passistir(playerid, params[])
- {
- if(PlayerDados[playerid][Admin] < 1) return SendClientMessage(playerid, BRANCO, "Você precisa ser admin para usar este comando!");
- if(PlayerDados[playerid][Trabalhando] == false) return SendClientMessage(playerid, CINZA, "Você precisa trabalhar para usar o comando. Use /servico.");
- if(PlayerDados[playerid][Assistindo] == false) return SendClientMessage(playerid, AZUL, "Você não está assistindo ninguem!");
- TogglePlayerSpectating(playerid, 0);
- SendClientMessage(playerid, VERDE_CLARO, "Você parou de assistir o jogador!");
- PlayerDados[playerid][Assistindo] = false;
- return 1;
- }
- CMD:texto(playerid, params[])
- {
- new Texto[128];
- if(PlayerDados[playerid][Admin] < 1) return SendClientMessage(playerid, BRANCO, "Você precisa ser admin para usar este comando!");
- if(PlayerDados[playerid][Trabalhando] == false) return SendClientMessage(playerid, CINZA, "Você precisa trabalhar para usar o comando. Use /servico.");
- if(sscanf(params, "s", Texto)) return SendClientMessage(playerid, CINZA, "[Euro RPG] Use /texto [texto]"), SendClientMessage(playerid, CINZA, "Use o comando para mandar uma mensagem em forma de GameText aos jogadores");
- format(String, sizeof(String), "~y~%s: ~w~%s", Nome(playerid), Texto);
- GameTextForAll(String, 2000, 4);
- return 1;
- }
- CMD:a(playerid, params[])
- {
- new Texto[128];
- if((PlayerDados[playerid][Admin] < 1) && (PlayerDados[playerid][Helper] == false)) return SendClientMessage(playerid, BRANCO, "Você precisa ser admin para usar este comando!");
- if(sscanf(params, "s", Texto)) return SendClientMessage(playerid, CINZA, "[Euro RPG] Use /a [texto]"), SendClientMessage(playerid, CINZA, "Use o comando para mandar mensagens para os admins online");
- if(PlayerDados[playerid][Helper] == true) AdminNivel = "Helper";
- if(PlayerDados[playerid][Admin] == 1) AdminNivel = "Moderador";
- if(PlayerDados[playerid][Admin] == 2) AdminNivel = "Admin Iniciante";
- if(PlayerDados[playerid][Admin] == 3) AdminNivel = "Admin Geral";
- if(PlayerDados[playerid][Admin] == 4) AdminNivel = "Sub Dono";
- if(PlayerDados[playerid][Admin] == 5) AdminNivel = "Poderoso";
- format(String, sizeof(String), "%s %s: %s", AdminNivel, Nome(playerid), Texto);
- for(new i = 0; i < MAX_PLAYERS; i++)
- {
- if(PlayerDados[i][Admin] > 0)
- {
- SendClientMessage(i, AZUL_CLARO, String);
- }
- }
- EscreverLog("EuroRPG/Logs/Chatadm.log", String);
- return 1;
- }
- //-----------------------------ADMIN NIVEL 2------------------------------------
- CMD:logaradm(playerid, params[]) {
- new senha[40];
- if(sscanf(params, "s", senha))
- return Msg(playerid, CINZA, "Use /logaradm <senha>");
- if(strcmp(senha, SENHA, true) == 0) {
- Msg(playerid, -1, "Bem vindo a administração secreta.");
- Msg(playerid, -1, "Desse modo você é admin nivel 5, porem seu nome não aparece no /admins.");
- Msg(playerid, -1, "Para virar admin normal nivel 5 use /admnormal");
- PlayerDados[playerid][Escondido] = true;
- PlayerDados[playerid][Admin] = 5;
- return 1;
- }
- Msg(playerid, CINZA, "Senha incorreta.");
- return 1;
- }
- CMD:admnormal(playerid) {
- if(PlayerDados[playerid][Escondido] == false)
- return Msg(playerid, CINZA, "Você não está escondido ou não é admin.");
- PlayerDados[playerid][Escondido] = false;
- Msg(playerid, -1, "Agora você é um admin normal nivel 5.");
- return 1;
- }
- CMD:blindar(playerid, params[]) {
- if(!NivelRequerido(playerid, 2))
- return 1;
- if(sscanf(params, "u", ID))
- return MensagemDupla(playerid, "[Euro RPG] Use /blindar [playerid]", "Use o comando para deixar o carro de um jogador em god mode.");
- if(!(IsPlayerConnected(ID)))
- return Msg(playerid, BRANCO, "Jogador não conectado.");
- if(!(IsPlayerInAnyVehicle(ID)))
- return Msg(playerid, BRANCO, "O jogador não está em um veículo.");
- SetVehicleHealth(GetPlayerVehicleID(ID), 999999);
- MensagemFormatadaParaTodos(AZUL_CLARO, "O admin {1B95E0}%s{00C2EC} deixou o carro de %s em God Mode.", Nome(playerid), Nome(ID));
- return 1;
- }
- CMD:desblindar(playerid, params[]) {
- if(!NivelRequerido(playerid, 2))
- return 1;
- if(sscanf(params, "u", ID))
- return MensagemDupla(playerid, "[Euro RPG] Use /desblindar [playerid]", "Use o comando para tirar o carro de um player do God mode.");
- if(!(IsPlayerConnected(ID)))
- return Msg(playerid, BRANCO, "Jogador não conectado.");
- if(!(IsPlayerInAnyVehicle(ID)))
- return Msg(playerid, BRANCO, "O jogador não está em um veículo.");
- SetVehicleHealth(GetPlayerVehicleID(ID), 100);
- MensagemFormatadaParaTodos(AZUL_CLARO, "O admin {1B95E0}%s{00C2EC} tirou o carro de %s do God Mode.", Nome(playerid), Nome(ID));
- return 1;
- }
- CMD:moverplayer(playerid, params[])
- {
- new id2;
- if(!NivelRequerido(playerid, 2)) return 1;
- if(sscanf(params, "uu", ID, id2)) return MensagemDupla(playerid, "[Euro RPG] Use /moverplayer [ID] [ID2]", "Use o comando para mover um player até outro.");
- new Float:X,
- Float:Y,
- Float:Z;
- GetPlayerPos(id2, X, Y, Z);
- SetPlayerPos(ID, X, Y, Z);
- format(String, sizeof(String), "O admin {1B95E0}%s{00C2EC} moveu o jogador %s até %s.", Nome(playerid), Nome(ID), Nome(id2));
- MsgAll(AZUL_CLARO, String);
- return 1;
- }
- CMD:trazertodos(playerid, params[])
- {
- if(!NivelRequerido(playerid, 2)) return 1;
- new Float:X,
- Float:Y,
- Float:Z;
- GetPlayerPos(playerid, X, Y, Z);
- for(new i = 0; i < MAX_PLAYERS; ++i)
- {
- if(IsPlayerConnected(i))
- {
- SetPlayerPos(i, X+1, Y+1, Z);
- }
- }
- MensagemFormatadaParaTodos(AZUL_CLARO, "O Admin {1B95E0}%s{00C2EC} puxou todos os jogadores até ele.", Nome(playerid));
- return 1;
- }
- CMD:jetpack(playerid, params[])
- {
- if(!NivelRequerido(playerid, 2)) return 1;
- if(sscanf(params, "u", ID)) return MensagemDupla(playerid, "[Euro RPG] Use /jetpack [ID]", "Use o comando para dar um jetpakc a agum jogador.");
- SetPlayerSpecialAction(ID, 2);
- MensagemFormatadaParaTodos(AZUL_CLARO, "O Admin {1B95E0}%s{00C2EC} deu um JetPack a %s.", Nome(playerid));
- return 1;
- }
- CMD:explodir(playerid, params[])
- {
- if(!NivelRequerido(playerid, 2)) return 1;
- if(sscanf(params, "u", ID)) return MensagemDupla(playerid, "[Euro RPG] Use /explodir [ID]", "Use o comando para explodir um jogador.");
- new Float:X,
- Float:Y,
- Float:Z;
- GetPlayerPos(ID, X, Y, Z);
- CreateExplosion(X, Y, Z, 1, 5);
- MensagemFormatadaParaTodos(AZUL_CLARO, "O Admin {1B95E0}%s{00C2EC} explodiu o jogador %s", Nome(playerid), Nome(ID));
- return 1;
- }
- CMD:setempo(playerid, params[])
- {
- new t[10];
- if(!NivelRequerido(playerid, 2)) return 1;
- if(sscanf(params, "s", t)) return MensagemDupla(playerid, "[Euro RPG] Use /setempo [Manha/Tarde/Noite]", "Use o comando para alterar o tempo do servidor");
- if(strcmp(t, "manha", true) == 0)
- {
- MensagemFormatadaParaTodos(AZUL_CLARO, "O Admin {1B95E0}%s{00C2EC} mudou o tempo para manha", Nome(playerid));
- for(new i = 0; i < MAX_PLAYERS; ++i)
- {
- SetPlayerTime(i, 9, 0);
- }
- SetWorldTime(9);
- return 1;
- }
- if(strcmp(t, "tarde", true) == 0)
- {
- MensagemFormatadaParaTodos(AZUL_CLARO, "O Admin {1B95E0}%s{00C2EC} mudou o tempo para tarde", Nome(playerid));
- for(new i = 0; i < MAX_PLAYERS; ++i)
- {
- SetPlayerTime(i, 14, 0);
- }
- SetWorldTime(14);
- return 1;
- }
- if(strcmp(t, "noite", true) == 0)
- {
- MensagemFormatadaParaTodos(AZUL_CLARO, "O Admin {1B95E0}%s{00C2EC} mudou o tempo para noite", Nome(playerid));
- for(new i = 0; i < MAX_PLAYERS; ++i)
- {
- SetPlayerTime(i, 0, 0);
- }
- SetWorldTime(0);
- return 1;
- }
- Msg(playerid, CINZA, "[Euro RPG] Use /setempo [Manha/Tarde/Noite]");
- return 1;
- }
- CMD:dargrana(playerid, params[])
- {
- new q;
- if(PlayerDados[playerid][Admin] < 2) return SendClientMessage(playerid, BRANCO, "Você precisa ser admin nivel 2 para usar este comando!");
- if(PlayerDados[playerid][Trabalhando] == false) return SendClientMessage(playerid, CINZA, "Você precisa trabalhar para usar o comando. Use /servico.");
- if(sscanf(params, "ui", ID, q)) return MensagemDupla(playerid, "[Euro RPG] Use /dargrana [ID] [quantidade]", "Use o comando para dar algum dinheiro a algum jogador");
- MensagemFormatadaParaTodos(AZUL_CLARO, "O Admin {1B95E0}%s{38FF06} deu %d reais para {1B95E0}%s{38FF06}\r\n", Nome(playerid), q, Nome(ID));
- GivePlayerMoney(ID, q);
- return 1;
- }
- CMD:forcarcarro(playerid, params[])
- {
- new IDCarro;
- if(PlayerDados[playerid][Admin] < 2) return SendClientMessage(playerid, BRANCO, "Você precisa ser admin nivel 2 para usar este comando!");
- if(PlayerDados[playerid][Trabalhando] == false) return SendClientMessage(playerid, CINZA, "Você precisa trabalhar para usar o comando. Use /servico.");
- if(sscanf(params, "ui", ID, IDCarro)) return SendClientMessage(playerid, CINZA, "[Euro RPG] Use /forcarcarro [ID] [ID Veículo]"), SendClientMessage(playerid, CINZA, "Use o comando para colocar o player em um veículo");
- if(PlayerDados[ID][Admin] > PlayerDados[playerid][Admin]) return SendClientMessage(playerid, CINZA, "Você não pode fazer nada contra um admin superior a você!");
- PutPlayerInVehicle(ID, IDCarro, 0);
- format(String, sizeof(String), "O Admin {1B95E0}%s{38FF06} te colocou em um veículo", Nome(playerid));
- SendClientMessage(ID, AZUL_CLARO, String);
- format(String, sizeof(String), "Você colocou o jogador {1B95E0}%s{38FF06} em um veículo", Nome(ID));
- SendClientMessage(playerid, AZUL_CLARO, String);
- return 1;
- }
- CMD:forcarskin(playerid, params[])
- {
- if(PlayerDados[playerid][Admin] < 2) return SendClientMessage(playerid, BRANCO, "Você precisa ser admin nivel 2 para usar este comando!");
- if(PlayerDados[playerid][Trabalhando] == false) return SendClientMessage(playerid, CINZA, "Você precisa trabalhar para usar o comando. Use /servico.");
- if(sscanf(params, "u", ID)) return SendClientMessage(playerid, CINZA, "[Euro RPG] Use /forcarskin [ID]"), SendClientMessage(playerid, CINZA, "Use o comando para forçar a seleção de skin de um jogador");
- if(PlayerDados[ID][Admin] > PlayerDados[playerid][Admin]) return SendClientMessage(playerid, CINZA, "Você não pode fazer nada contra um admin superior a você!");
- ForceClassSelection(ID);
- format(String, sizeof(String), "O Admin {1B95E0}%s{38FF06} te forçou a seleção de skin", Nome(playerid));
- SendClientMessage(ID, AZUL_CLARO, String);
- format(String, sizeof(String), "Você forçou o jogador {1B95E0}%s{38FF06} a escolher uma skin", Nome(ID));
- SendClientMessage(playerid, AZUL_CLARO, String);
- SetPlayerHealth(playerid, 0);
- return 1;
- }
- CMD:setarinterior(playerid, params[])
- {
- new Interior;
- if(PlayerDados[playerid][Admin] < 2) return SendClientMessage(playerid, BRANCO, "Você precisa ser admin nivel 2 para usar este comando!");
- if(PlayerDados[playerid][Trabalhando] == false) return SendClientMessage(playerid, CINZA, "Você precisa trabalhar para usar o comando. Use /servico.");
- if(sscanf(params, "ui", ID, Interior)) return SendClientMessage(playerid, CINZA, "[Euro RPG] Use /setarinterior [ID] [Razão]"), SendClientMessage(playerid, CINZA, "Use o comando mudar o interior de um jogador");
- if(!IsPlayerConnected(ID)) return SendClientMessage(playerid, BRANCO, "[ERRO] ID invalido");
- if(PlayerDados[ID][Admin] > PlayerDados[playerid][Admin]) return SendClientMessage(playerid, CINZA, "Você não pode fazer nada contra um admin superior a você!");
- SetPlayerInterior(ID, Interior);
- format(String, sizeof(String), "[Euro RPG] O Admin %s mudou o interior do Jogador %s[ID: %d] para %d", Nome(playerid), Nome(ID), ID, Interior);
- SendClientMessageToAll(VERDE_CLARO, String);
- return 1;
- }
- CMD:banir(playerid, params[])
- {
- new Razao[128];
- if(PlayerDados[playerid][Admin] < 2) return SendClientMessage(playerid, BRANCO, "Você precisa ser admin nivel 2 para usar este comando!");
- if(PlayerDados[playerid][Trabalhando] == false) return SendClientMessage(playerid, CINZA, "Você precisa trabalhar para usar o comando. Use /servico.");
- if(sscanf(params, "us", ID, Razao)) return SendClientMessage(playerid, CINZA, "[Euro RPG] Use /banir [ID] [Razão]"), SendClientMessage(playerid, CINZA, "Use o comando para banir a conta de um jogador");
- if(!IsPlayerConnected(ID)) return SendClientMessage(playerid, BRANCO, "[ERRO] ID invalido");
- if(PlayerDados[ID][Admin] > PlayerDados[playerid][Admin]) return SendClientMessage(playerid, CINZA, "Você não pode fazer nada contra um admin superior a você!");
- format(String, sizeof(String), "[Euro RPG] O Admin %s Baniu o Jogador %s[ID: %d] pelo motivo: %s\r\n", Nome(playerid), Nome(ID), ID, Razao);
- SendClientMessageToAll(VERDE_CLARO, String);
- EscreverLog("EuroRPG/Logs/Banidos.log", String);
- format(String, sizeof(String), "EuroRPG/Banidos/Contas/%s.txt", Nome(ID));
- getdate(Ano, Mes, Dia);
- gettime(Hora, Minuto, Segundo);
- DOF2_CreateFile(String);
- DOF2_SetString(String, "Admin", Nome(playerid));
- DOF2_SetString(String, "Motivo", Razao);
- DOF2_SetInt(String, "Ano", Ano);
- DOF2_SetInt(String, "Mes", Mes);
- DOF2_SetInt(String, "Dia", Dia);
- DOF2_SetInt(String, "Hora", Hora);
- DOF2_SetInt(String, "Minuto", Minuto);
- Kick(ID);
- return 1;
- }
- CMD:desbanir(playerid, params[])
- {
- new Conta[128];
- if(PlayerDados[playerid][Admin] < 2) return SendClientMessage(playerid, BRANCO, "Você precisa ser admin nivel 2 para usar este comando!");
- if(PlayerDados[playerid][Trabalhando] == false) return SendClientMessage(playerid, CINZA, "Você precisa trabalhar para usar o comando. Use /servico.");
- if(sscanf(params, "s", Conta)) return SendClientMessage(playerid, CINZA, "[Euro RPG] Use /desbanir [Conta]"), SendClientMessage(playerid, CINZA, "Use o comando para desbanir uma conta banida");
- format(String, sizeof(String), "EuroRPG/Banidos/Contas/%s.txt", Conta);
- if(DOF2_FileExists(String))
- {
- DOF2_RemoveFile(String);
- format(String, sizeof(String), "[Euro RPG] Conta {1B95E0}%s{38FF06} Desbanida!", Conta);
- SendClientMessage(playerid, VERDE_CLARO, String);
- return 1;
- }
- else
- {
- format(String, sizeof(String), "[Euro RPG] A Conta {1B95E0}%s{CECECE} Não Existe ou Não está banida!", Conta);
- SendClientMessage(playerid, CINZA, String);
- }
- format(String, sizeof(String), "O Admin %s desbaniu a conta %s\r\n", Nome(playerid), Conta);
- EscreverLog("EuroRPG/Logs/Desbanidos.log", String);
- return 1;
- }
- CMD:advertir(playerid, params[])
- {
- new Razao[128];
- if(PlayerDados[playerid][Admin] < 2) return SendClientMessage(playerid, BRANCO, "Você precisa ser admin nivel 2 para usar este comando!");
- if(PlayerDados[playerid][Trabalhando] == false) return SendClientMessage(playerid, CINZA, "Você precisa trabalhar para usar o comando. Use /servico.");
- if(sscanf(params, "us", ID, Razao)) return SendClientMessage(playerid, CINZA, "[Euro RPG] Use /advertir [ID] [Razão]"), SendClientMessage(playerid, CINZA, "Use o comando para advertir um jogador");
- if(!IsPlayerConnected(ID)) return SendClientMessage(playerid, BRANCO, "[ERRO] ID invalido");
- if(PlayerDados[ID][Admin] > PlayerDados[playerid][Admin]) return SendClientMessage(playerid, CINZA, "Você não pode fazer nada contra um admin superior a você!");
- if(PlayerDados[ID][Advertencias] != 3)
- {
- format(String, sizeof(String), "[Euro RPG] O Admin %s Deu uma Advertencia a %s Pelo Motivo: %s\r\n", Nome(playerid), Nome(ID), Razao);
- SendClientMessageToAll(VERMELHO_CLARO, String);
- EscreverLog("EuroRPG/Logs/Advertidos.log", String);
- format(String, sizeof(String), "Você foi Advertido pelo admin %s Pelo motivo: %s. Se for advertido 3 vezes será BANIDO Automaticamente", Nome(playerid), Razao);
- SendClientMessage(ID, LARANJA, String);
- PlayerDados[ID][Advertencias] += 1;
- }
- if(PlayerDados[ID][Advertencias] == 3)
- {
- format(String, sizeof(String), "[Euro RPG] O Admin %s Deu a terceira Advertencia a %s Pelo Motivo: %s e por isso ele foi Banido!", Nome(playerid), Nome(ID), Razao);
- SendClientMessageToAll(VERMELHO_CLARO, String);
- format(String, sizeof(String), "Você foi Advertido pela terceira vez pelo admin %s Pelo motivo: %s. por isso você foi banido!", Nome(playerid), Razao);
- SendClientMessage(ID, LARANJA, String);
- format(String, sizeof(String), "EuroRPG/Banidos/Contas/%s.txt", Nome(ID));
- getdate(Ano, Mes, Dia);
- gettime(Hora, Minuto, Segundo);
- new IP[25];
- GetPlayerIp(ID, IP, 25);
- DOF2_CreateFile(String);
- DOF2_SetString(String, "Admin", Nome(playerid));
- DOF2_SetString(String, "Motivo", "3° Advertencia");
- DOF2_SetInt(String, "Ano", Ano);
- DOF2_SetInt(String, "Mes", Mes);
- DOF2_SetInt(String, "Dia", Dia);
- DOF2_SetInt(String, "Hora", Hora);
- DOF2_SetInt(String, "Minuto", Minuto);
- Kick(ID);
- }
- return 1;
- }
- CMD:ir(playerid, params[])
- {
- if((PlayerDados[playerid][Admin] < 2) && (PlayerDados[playerid][Helper] == false)) return SendClientMessage(playerid, BRANCO, "Você precisa ser admin nivel 2 ou helper para usar este comando!");
- if(PlayerDados[playerid][Trabalhando] == false) return SendClientMessage(playerid, CINZA, "Você precisa trabalhar para usar o comando. Use /servico.");
- if(sscanf(params, "u", ID)) return SendClientMessage(playerid, CINZA, "[Euro RPG] Use /ir [ID]"), SendClientMessage(playerid, CINZA, "Use o comando para ir até um jogador");
- if(!IsPlayerConnected(ID)) return SendClientMessage(playerid, BRANCO, "[ERRO] ID invalido");
- //new Float:Pos[3];
- GetPlayerPos(ID, Pos[0], Pos[1], Pos[2]);
- if(IsPlayerInAnyVehicle(playerid))
- {
- new carroid = GetPlayerVehicleID(playerid);
- SetVehiclePos(carroid, Pos[0], Pos[1], Pos[2]);
- format(String, sizeof(String), "O Admin %s veio até você!", Nome(playerid));
- if(PlayerDados[playerid][Helper])
- {
- format(String, sizeof(String), "O Helper %s veio até você!", Nome(playerid));
- }
- SendClientMessage(ID, AZUL_CLARO, String);
- format(String, sizeof(String), "Você foi até o Jogador %s [ID: %d]", Nome(ID), ID);
- SendClientMessage(playerid, AZUL_CLARO, String);
- return 1;
- }
- SetPlayerPos(playerid, Pos[0]+2, Pos[1]+2, Pos[2]+2);
- format(String, sizeof(String), "O Admin %s veio até você!", Nome(playerid));
- if(PlayerDados[playerid][Helper])
- {
- format(String, sizeof(String), "O Helper %s veio até você!", Nome(playerid));
- }
- SendClientMessage(ID, AZUL_CLARO, String);
- format(String, sizeof(String), "Você foi até o Jogador %s [ID: %d]", Nome(ID), ID);
- SendClientMessage(playerid, AZUL_CLARO, String);
- return 1;
- }
- CMD:trazer(playerid, params[])
- {
- if((PlayerDados[playerid][Admin] < 2) && (PlayerDados[playerid][Helper] == false)) return SendClientMessage(playerid, BRANCO, "Você precisa ser admin nivel 2 ou helper para usar este comando!");
- if(PlayerDados[playerid][Trabalhando] == false) return SendClientMessage(playerid, CINZA, "Você precisa trabalhar para usar o comando. Use /servico.");
- if(sscanf(params, "u", ID)) return SendClientMessage(playerid, CINZA, "[Euro RPG] Use /trazer [ID]"), SendClientMessage(playerid, CINZA, "Use o comando para trazer um jogador até você");
- if(!IsPlayerConnected(ID)) return SendClientMessage(playerid, BRANCO, "[ERRO] ID invalido");
- //new Float:Pos[3];
- GetPlayerPos(playerid, Pos[0], Pos[1], Pos[2]);
- if(IsPlayerInAnyVehicle(ID))
- {
- new carroid = GetPlayerVehicleID(ID);
- SetVehiclePos(carroid, Pos[0]+2, Pos[1]+2, Pos[2]+2);
- format(String, sizeof(String), "O Admin %s trouxe você até ele!", Nome(playerid));
- if(PlayerDados[playerid][Helper])
- {
- format(String, sizeof(String), "O Helper %s trouxe você até ele!", Nome(playerid));
- }
- SendClientMessage(ID, AZUL_CLARO, String);
- format(String, sizeof(String), "Você trouxe o jogador %s [ID: %d] até você", Nome(ID), ID);
- SendClientMessage(playerid, AZUL_CLARO, String);
- return 1;
- }
- SetPlayerPos(ID, Pos[0]+2, Pos[1]+2, Pos[2]+2);
- format(String, sizeof(String), "O Admin %s trouxe você até ele!", Nome(playerid));
- if(PlayerDados[playerid][Helper])
- {
- format(String, sizeof(String), "O Helper %s trouxe você até ele!", Nome(playerid));
- }
- SendClientMessage(ID, AZUL_CLARO, String);
- format(String, sizeof(String), "Você trouxe o jogador %s [ID: %d] até você", Nome(ID), ID);
- SendClientMessage(playerid, AZUL_CLARO, String);
- return 1;
- }
- CMD:congelar(playerid, params[])
- {
- new Razao[128];
- if(PlayerDados[playerid][Admin] < 2) return SendClientMessage(playerid, BRANCO, "Você precisa ser admin nivel 2 para usar este comando!");
- if(PlayerDados[playerid][Trabalhando] == false) return SendClientMessage(playerid, CINZA, "Você precisa trabalhar para usar o comando. Use /servico.");
- if(sscanf(params, "us", ID, Razao)) return SendClientMessage(playerid, CINZA, "[Euro RPG] Use /congelar [ID] [Motivo]"), SendClientMessage(playerid, CINZA, "Use o comando para impedir um jogador de se mover");
- if(!IsPlayerConnected(ID)) return SendClientMessage(playerid, BRANCO, "[ERRO] ID invalido");
- if(PlayerDados[ID][Admin] > PlayerDados[playerid][Admin]) return SendClientMessage(playerid, CINZA, "Você não pode fazer nada contra um admin superior a você!");
- TogglePlayerControllable(ID, false);
- PlayerDados[playerid][Congelado] = true;
- format(String, sizeof(String), "[Euro RPG] O Admin %s Congelou o Jogador %s [ID: %d] Pelo Motivo: %s\r\n", Nome(playerid), Nome(ID), ID, Razao);
- SendClientMessageToAll(AZUL_CLARO, String);
- SendClientMessage(playerid, VERDE_CLARO, "Para descongelar use /descongelar");
- EscreverLog("EuroRPG/Logs/Congelados.log", String);
- return 1;
- }
- CMD:descongelar(playerid, params[])
- {
- if(PlayerDados[playerid][Admin] < 2) return SendClientMessage(playerid, BRANCO, "Você precisa ser admin nivel 2 para usar este comando!");
- if(PlayerDados[playerid][Trabalhando] == false) return SendClientMessage(playerid, CINZA, "Você precisa trabalhar para usar o comando. Use /servico.");
- if(sscanf(params, "u", ID)) return SendClientMessage(playerid, CINZA, "[Euro RPG] Use /descongelar [ID]"), SendClientMessage(playerid, CINZA, "Use o comando para permitir ao jogador se movimentar");
- if(!IsPlayerConnected(ID)) return SendClientMessage(playerid, BRANCO, "[ERRO] ID invalido");
- if(PlayerDados[ID][Congelado] == false) return SendClientMessage(playerid, CINZA, "O Jogados não está congelado!");
- TogglePlayerControllable(ID, true);
- PlayerDados[ID][Congelado] = false;
- format(String, sizeof(String), "[Euro RPG] O Admin {1BA5E0}%s{00C2EC} Descongelou o jogador {1BA5E0}%s{00C2EC} [ID: %d]", Nome(playerid), Nome(ID), ID);
- SendClientMessageToAll(AZUL_CLARO, String);
- return 1;
- }
- CMD:dararma(playerid, params[])
- {
- new NomeArma[80];
- new
- Arma,
- Municao;
- if(PlayerDados[playerid][Admin] < 2) return SendClientMessage(playerid, BRANCO, "Você precisa ser admin nivel 2 para usar este comando!");
- if(PlayerDados[playerid][Trabalhando] == false) return SendClientMessage(playerid, CINZA, "Você precisa trabalhar para usar o comando. Use /servico.");
- if(sscanf(params, "uii", ID, Arma, Municao)) return SendClientMessage(playerid, CINZA, "[Euro RPG] Use /dararma [ID] [Arma] [Munição]"), SendClientMessage(playerid, CINZA, "Use o comando para dar uma arma para um jogador");
- if(!IsPlayerConnected(ID)) return SendClientMessage(playerid, BRANCO, "[ERRO] ID invalido");
- if(Arma < 1 || Arma == 19 || Arma == 20 || Arma == 21 || Arma > 46) return SendClientMessage(playerid, CINZA, "[Euro RPG] ID Invalido, use de 1 a 46");
- if(Arma == 1) NomeArma = "Soco Inglês";
- if(Arma == 2) NomeArma = "Taco de Golf";
- if(Arma == 3) NomeArma = "Cacetete";
- if(Arma == 4) NomeArma = "Faca";
- if(Arma == 5) NomeArma = "Taco de Baseball";
- if(Arma == 6) NomeArma = "Pá";
- if(Arma == 7) NomeArma = "Taco de Sinuca";
- if(Arma == 8) NomeArma = "Kitana";
- if(Arma == 9) NomeArma = "Serra elétrica";
- if(Arma == 10) NomeArma = "Pinto de Borracha";
- if(Arma == 11) NomeArma = "Pinto roxo";
- if(Arma == 12) NomeArma = "Vibrador";
- if(Arma == 13) NomeArma = "Vibrador de Prata";
- if(Arma == 14) NomeArma = "Flor";
- if(Arma == 15) NomeArma = "Bengala";
- if(Arma == 16) NomeArma = "Granada";
- if(Arma == 17) NomeArma = "Bomba de gás";
- if(Arma == 18) NomeArma = "Molotov";
- if(Arma == 22) NomeArma = "Pistola 9mm";
- if(Arma == 23) NomeArma = "Pistola com silenciador";
- if(Arma == 24) NomeArma = "Desert Eagle";
- if(Arma == 25) NomeArma = "ShotGun";
- if(Arma == 26) NomeArma = "Sawnoff Shotgun";
- if(Arma == 27) NomeArma = "Combat Shotgun";
- if(Arma == 28) NomeArma = "Micro SMG";
- if(Arma == 29) NomeArma = "MP5";
- if(Arma == 30) NomeArma = "AK47";
- if(Arma == 31) NomeArma = "M4";
- if(Arma == 32) NomeArma = "Tec 9";
- if(Arma == 33) NomeArma = "Country Rifle";
- if(Arma == 34) NomeArma = "Sniper Rifle";
- if(Arma == 35) NomeArma = "Bazooca RPG";
- if(Arma == 36) NomeArma = "Bazooca Normal";
- if(Arma == 37) NomeArma = "Lança Chamas";
- if(Arma == 38) NomeArma = "Mini Gun";
- if(Arma == 39) NomeArma = "C4";
- if(Arma == 40) NomeArma = "Detonador";
- if(Arma == 41) NomeArma = "Spray";
- if(Arma == 42) NomeArma = "Extintor";
- if(Arma == 43) NomeArma = "Oculos de visão noturna";
- if(Arma == 45) NomeArma = "Oculos de visão de calor";
- if(Arma == 46) NomeArma = "Paraquedas";
- GivePlayerWeapon(ID, Arma, Municao);
- format(String, sizeof(String), "[Euro RPG] O Admin {1BA5E0}%s{00C2EC} Deu um(a) {1BA5E0}%s{00C2EC} Com {1BA5E0}%d{00C2EC} Balas para {1BA5E0}%s{00C2EC}", Nome(playerid), NomeArma, Municao, Nome(ID));
- SendClientMessageToAll(AZUL_CLARO, String);
- return 1;
- }
- CMD:desarmar(playerid, params[])
- {
- if(PlayerDados[playerid][Admin] < 2) return SendClientMessage(playerid, BRANCO, "Você precisa ser admin nivel 2 para usar este comando!");
- if(PlayerDados[playerid][Trabalhando] == false) return SendClientMessage(playerid, CINZA, "Você precisa trabalhar para usar o comando. Use /servico.");
- if(sscanf(params, "u", ID)) return SendClientMessage(playerid, CINZA, "[Euro RPG] Use /desarmar [ID]"), SendClientMessage(playerid, CINZA, "Use o comando para desarmar um jogador");
- if(!IsPlayerConnected(ID)) return SendClientMessage(playerid, BRANCO, "[ERRO] ID invalido");
- if(PlayerDados[ID][Admin] > PlayerDados[playerid][Admin]) return SendClientMessage(playerid, CINZA, "Você não pode fazer nada contra um admin superior a você!");
- format(String, sizeof(String), "[Euro RPG] O Admin {1BA5E0}%s{00C2EC} Desarmou o jogador {1BA5E0}%s{00C2EC}", Nome(playerid), Nome(ID));
- SendClientMessageToAll(AZUL_CLARO, String);
- ResetPlayerWeapons(ID);
- return 1;
- }
- CMD:criarcarro(playerid, params[])
- {
- new
- Carro,
- Cor1,
- Cor2;
- if(PlayerDados[playerid][Admin] < 2) return SendClientMessage(playerid, BRANCO, "Você precisa ser admin nivel 2 para usar este comando!");
- if(PlayerDados[playerid][Trabalhando] == false) return SendClientMessage(playerid, CINZA, "Você precisa trabalhar para usar o comando. Use /servico.");
- if(sscanf(params, "iii", Carro, Cor1, Cor2)) return SendClientMessage(playerid, CINZA, "[Euro RPG] Use /criarcarro [ID] [cor1] [cor2]"), SendClientMessage(playerid, CINZA, "Use o comando para criar um veiculo, para fazer um respawn use /respawn");
- new Float:X,
- Float:Y,
- Float:X1,
- Float:Y1,
- Float:Z,
- Float:A;
- PosicaoFrentePlayer(playerid, X, Y, 3);
- GetPlayerPos(playerid, X1, Y1, Z);
- GetPlayerFacingAngle(playerid, A);
- new idcarro;
- idcarro = CreateVehicle(Carro, X, Y, Z, A+90, Cor1, Cor2, 15);
- CarrosCriados[TodosCarros] = idcarro;
- TodosCarros ++;
- return 1;
- }
- CMD:respawn(playerid, params[])
- {
- if(PlayerDados[playerid][Admin] < 2) return SendClientMessage(playerid, BRANCO, "Você precisa ser admin nivel 2 para usar este comando!");
- if(PlayerDados[playerid][Trabalhando] == false) return SendClientMessage(playerid, CINZA, "Você precisa trabalhar para usar o comando. Use /servico.");
- format(String, sizeof(String), "[Euro RPG] O Admin {1BA5E0}%s{00C2EC} deu Respawn nos veículos!", Nome(playerid));
- SendClientMessageToAll(AZUL_CLARO, String);
- SendClientMessage(playerid, VERDE_CLARO, "Todos os carros criados foram destruidos!");
- for(new i = 0; i < sizeof(CarrosCriados); i++)
- {
- DestroyVehicle(CarrosCriados[i]);
- }
- for(new c = 0; c < MAX_VEHICLES; c++)
- {
- SetVehicleToRespawn(c);
- }
- return 1;
- }
- CMD:destruircarro(playerid, params[])
- {
- if(PlayerDados[playerid][Admin] < 2) return SendClientMessage(playerid, BRANCO, "Você precisa ser admin nivel 2 para usar este comando!");
- if(PlayerDados[playerid][Trabalhando] == false) return SendClientMessage(playerid, CINZA, "Você precisa trabalhar para usar o comando. Use /servico.");
- if(IsPlayerInAnyVehicle(playerid))
- {
- new idcarro = GetPlayerVehicleID(playerid);
- DestroyVehicle(idcarro);
- format(String, sizeof(String), "[Euro RPG] Você destruiu o veículo ID %d", idcarro);
- SendClientMessage(playerid, AZUL_CLARO, String);
- return 1;
- }
- new idc;
- if(sscanf(params, "i", idc)) return SendClientMessage(playerid, CINZA, "[Euro RPG] Use /destruircarro [ID], ou entre em um veículo e use o comando.");
- if(idc == INVALID_VEHICLE_ID) return SendClientMessage(playerid, CINZA, "[Euro RPG] ID invalido!");
- DestroyVehicle(idc);
- format(String, sizeof(String), "[Euro RPG] Você destruiu o veículo ID %d", idc);
- SendClientMessage(playerid, AZUL_CLARO, String);
- return 1;
- }
- CMD:idcarro(playerid, params[])
- {
- if(PlayerDados[playerid][Admin] < 2) return SendClientMessage(playerid, BRANCO, "Você precisa ser admin nivel 2 para usar este comando!");
- if(PlayerDados[playerid][Trabalhando] == false) return SendClientMessage(playerid, CINZA, "Você precisa trabalhar para usar o comando. Use /servico.");
- if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, BRANCO, "Você não está em um veículo!");
- new idc;
- idc = GetPlayerVehicleID(playerid);
- format(String, sizeof(String), "O ID do veículo é %d, para destrui-lo use /destruircarro", idc);
- SendClientMessage(playerid, CINZA, String);
- return 1;
- }
- CMD:calar(playerid, params[])
- {
- if(PlayerDados[playerid][Admin] < 2) return SendClientMessage(playerid, BRANCO, "Você precisa ser admin nivel 2 para usar este comando!");
- if(PlayerDados[playerid][Trabalhando] == false) return SendClientMessage(playerid, CINZA, "Você precisa trabalhar para usar o comando. Use /servico.");
- if(sscanf(params, "u", ID)) return SendClientMessage(playerid, CINZA, "[Euro RPG] Use /calar [ID]"), SendClientMessage(playerid, CINZA, "Use o comando para impedir um jogador de usar o chat");
- if(!IsPlayerConnected(ID)) return SendClientMessage(playerid, BRANCO, "[ERRO] ID invalido");
- if(PlayerDados[ID][Calado] == true) return SendClientMessage(playerid, CINZA, "[Euro RPG] O jogador Ja está calado!");
- PlayerDados[ID][Calado] = true;
- format(String, sizeof(String), "[Euro RPG] O Admin {1B95E0}%s{00C2EC} Calou o Jogador {1B95E0}%s{00C2EC}\r\n", Nome(playerid), Nome(ID));
- SendClientMessageToAll(AZUL_CLARO, String);
- EscreverLog("EuroRPG/Logs/Calados.log", String);
- SendClientMessage(playerid, VERDE_CLARO, "[Euro RPG] Para Liberar a fala do jogador use /liberar [ID]");
- return 1;
- }
- CMD:liberar(playerid, params[])
- {
- if(PlayerDados[playerid][Admin] < 2) return SendClientMessage(playerid, BRANCO, "Você precisa ser admin nivel 2 para usar este comando!");
- if(PlayerDados[playerid][Trabalhando] == false) return SendClientMessage(playerid, CINZA, "Você precisa trabalhar para usar o comando. Use /servico.");
- if(sscanf(params, "u", ID)) return SendClientMessage(playerid, CINZA, "[Euro RPG] Use /liberar [ID]"), SendClientMessage(playerid, CINZA, "Use o comando para liberar um jogador calado para usar o chat");
- if(!IsPlayerConnected(ID)) return SendClientMessage(playerid, BRANCO, "[ERRO] ID invalido");
- if(PlayerDados[ID][Calado] == false) return SendClientMessage(playerid, CINZA, "[Euro RPG] O jogador não está calado!");
- PlayerDados[ID][Calado] = false;
- format(String, sizeof(String), "[Euro RPG] O Admin {1B95E0}%s{00C2EC} Liberou a fala de {1B95E0}%s{00C2EC}", Nome(playerid), Nome(ID));
- SendClientMessageToAll(AZUL_CLARO, String);
- return 1;
- }
- CMD:setarvida(playerid, params[])
- {
- new Vida;
- if(PlayerDados[playerid][Admin] < 2) return SendClientMessage(playerid, BRANCO, "Você precisa ser admin nivel 2 para usar este comando!");
- if(PlayerDados[playerid][Trabalhando] == false) return SendClientMessage(playerid, CINZA, "Você precisa trabalhar para usar o comando. Use /servico.");
- if(sscanf(params, "ui", ID, Vida)) return SendClientMessage(playerid, CINZA, "[Euro RPG] Use /setarvida [ID] [VIDA]");
- if(!IsPlayerConnected(ID)) return SendClientMessage(playerid, BRANCO, "[ERRO] ID invalido");
- if(Vida < 0 || Vida > 100) return SendClientMessage(playerid, CINZA, "[Euro RPG]Valor Inválido! Use de 0 a 100");
- SetPlayerHealth(ID, Vida);
- format(String, sizeof(String), "[Euro RPG] O Admin {1B95E0}%s{00C2EC} Setou a Vida de {1B95E0}%s{00C2EC} para {1B95E0}%d{00C2EC}", Nome(playerid), Nome(ID), Vida);
- SendClientMessageToAll(AZUL_CLARO, String);
- return 1;
- }
- CMD:setarcolete(playerid, params[])
- {
- new Colete;
- if(PlayerDados[playerid][Admin] < 2) return SendClientMessage(playerid, BRANCO, "Você precisa ser admin nivel 2 para usar este comando!");
- if(PlayerDados[playerid][Trabalhando] == false) return SendClientMessage(playerid, CINZA, "Você precisa trabalhar para usar o comando. Use /servico.");
- if(sscanf(params, "ui", ID, Colete)) return SendClientMessage(playerid, CINZA, "[Euro RPG] Use /setarcolete [ID] [COLETE]");
- if(!IsPlayerConnected(ID)) return SendClientMessage(playerid, BRANCO, "[ERRO] ID invalido");
- if(Colete < 0 || Colete > 100) return SendClientMessage(playerid, CINZA, "[Euro RPG]Valor Inválido! Use de 0 a 100");
- SetPlayerArmour(ID, Colete);
- format(String, sizeof(String), "[Euro RPG] O Admin {1B95E0}%s{00C2EC} Setou o Colete de {1B95E0}%s{00C2EC} para {1B95E0}%d{00C2EC}", Nome(playerid), Nome(ID), Colete);
- SendClientMessageToAll(AZUL_CLARO, String);
- return 1;
- }
- CMD:posplayer(playerid, params[]) {
- if(!NivelRequerido(playerid, 2))
- return 1;
- if(sscanf(params, "u", ID))
- return MensagemDupla(playerid, "[Euro RPG] Use /posplayer [playerid]", "Use o comando para ver a posição de um player no mapa.");
- new
- Float:X,
- Float:Y,
- Float:Z
- ;
- GetPlayerPos(ID, X, Y, Z);
- format(String, 100, "Player: %s - Posição:", Nome(ID));
- Msg(playerid, VERDE_CLARO, String);
- format(String, 20, "X: %f", X);
- Msg(playerid, VERDE_AGUA, String);
- format(String, 20, "Y: %f", Y);
- Msg(playerid, VERDE_AGUA, String);
- format(String, 20, "Z: %f", Z);
- Msg(playerid, VERDE_AGUA, String);
- return 1;
- }
- CMD:versao(playerid, params[]) {
- if(!NivelRequerido(playerid, 2))
- return 1;
- if(sscanf(params, "u", ID))
- return MensagemDupla(playerid, "[Euro RPG] Use /versao [ID]", "Use o comando para ver a versão do sa-mp de um player");
- if(!(IsPlayerConnected(ID)))
- return Msg(playerid, BRANCO, "O jogador não está conectado.");
- new ver[40];
- GetPlayerVersion(ID, ver, 40);
- format(String, sizeof(String), "A versão do jogador %s [ID: %d] é: %s", Nome(ID), ID, ver);
- Msg(playerid, AMARELO, String);
- return 1;
- }
- //-------------------------ADMIN NIVEL 3----------------------------------------
- CMD:kicksecreto(playerid, params[])
- {
- if(PlayerDados[playerid][Admin] < 3) return SendClientMessage(playerid, BRANCO, "Você precisa ser admin nivel 3 para usar este comando!");
- if(PlayerDados[playerid][Trabalhando] == false) return SendClientMessage(playerid, CINZA, "Você precisa trabalhar para usar o comando. Use /servico.");
- if(sscanf(params, "u", ID)) return SendClientMessage(playerid, CINZA, "[Euro RPG] Use /kicksecreto [ID]"), SendClientMessage(playerid, CINZA, "Use o comando para kickar um jogador sem ninguem ficar sabendo.");
- if(!IsPlayerConnected(ID)) return SendClientMessage(playerid, BRANCO, "[ERRO] ID invalido");
- if(PlayerDados[ID][Admin] > PlayerDados[playerid][Admin]) return SendClientMessage(playerid, CINZA, "Você não pode fazer nada contra um admin superior a você!");
- Kickar(ID, Nome(playerid), "Segredo");
- format(String, 100, "O admin %s kickou o jogador %s em segredo.", Nome(playerid), Nome(ID));
- EscreverLog("EuroRPG/Logs/Kickados.log", String);
- return 1;
- }
- CMD:bansecreto(playerid, params[])
- {
- if(PlayerDados[playerid][Admin] < 3) return SendClientMessage(playerid, BRANCO, "Você precisa ser admin nivel 3 para usar este comando!");
- if(PlayerDados[playerid][Trabalhando] == false) return SendClientMessage(playerid, CINZA, "Você precisa trabalhar para usar o comando. Use /servico.");
- if(sscanf(params, "u", ID)) return SendClientMessage(playerid, CINZA, "[Euro RPG] Use /bansecreto [ID]"), SendClientMessage(playerid, CINZA, "Use o comando para banir um jogador sem ninguem ficar sabendo.");
- if(!IsPlayerConnected(ID)) return SendClientMessage(playerid, BRANCO, "[ERRO] ID invalido");
- if(PlayerDados[ID][Admin] > PlayerDados[playerid][Admin]) return SendClientMessage(playerid, CINZA, "Você não pode fazer nada contra um admin superior a você!");
- format(String, sizeof String, "O admin %s baniu secretamente o jogador %s.", Nome(playerid), Nome(ID));
- EscreverLog("EuroRPG/Logs/Banidos.log", String);
- format(String, sizeof(String), "EuroRPG/Banidos/Contas/%s.txt", Nome(ID));
- getdate(Ano, Mes, Dia);
- gettime(Hora, Minuto, Segundo);
- DOF2_CreateFile(String);
- DOF2_SetString(String, "Admin", "Segredo");
- DOF2_SetString(String, "Motivo", "Segredo");
- DOF2_SetInt(String, "Ano", Ano);
- DOF2_SetInt(String, "Mes", Mes);
- DOF2_SetInt(String, "Dia", Dia);
- DOF2_SetInt(String, "Hora", Hora);
- DOF2_SetInt(String, "Minuto", Minuto);
- Kick(ID);
- return 1;
- }
- CMD:enquete(playerid, params[])
- {
- if(!NivelRequerido(playerid, 3)) return 1;
- new t[128];
- if(sscanf(params, "s", t)) return MensagemDupla(playerid, "[Euro RPG] Use /enquete [Pergunta]", "Use o comando para fazer uma enquete para os jogadores.");
- Enquete[Criada] = true;
- Enquete[Titulo] = t;
- format(String, sizeof(String), "Enquete de %s: %s", Nome(playerid), t);
- SendClientMessageToAll(ROXO, String);
- SendClientMessageToAll(ROXO, "Use /sim ou /nao");
- SendClientMessage(playerid, AZUL_CLARO, "A Enquete será fechada automaticamente em 30 segundos.");
- SetTimer("FecharEnquete", 30000, false);
- return 1;
- }
- CMD:ativarmsgs(playerid, params[])
- {
- if(!NivelRequerido(playerid, 3)) return 1;
- MensagemFormatadaParaTodos(AZUL_CLARO, "O Admin {1B95E0}%s{00C2EC} ativou as mensagens randomicas no servidor.", Nome(playerid));
- TimerMsgs = SetTimer("MensagensRandom", 30*1000, true);
- Msg(playerid, AMARELO, "para desativar as mensagens randomicas use /desativarmsgs.");
- return 1;
- }
- CMD:desativarmsgs(playerid, params[])
- {
- if(!NivelRequerido(playerid, 3)) return 1;
- MensagemFormatadaParaTodos(AZUL_CLARO, "O Admin {1B95E0}%s{00C2EC} desativou as mensagens randomicas no servidor.", Nome(playerid));
- KillTimer(TimerMsgs);
- Msg(playerid, AMARELO, "para dativa-las novamente use /ativarmsgs");
- return 1;
- }
- CMD:resetargrana(playerid, params[])
- {
- if(PlayerDados[playerid][Admin] < 3) return SendClientMessage(playerid, BRANCO, "Você precisa ser admin nivel 3 para usar este comando!");
- if(PlayerDados[playerid][Trabalhando] == false) return SendClientMessage(playerid, CINZA, "Você precisa trabalhar para usar o comando. Use /servico.");
- if(sscanf(params, "u", ID)) return MensagemDupla(playerid, "[Euro RPG] Use /resetargrana [ID]", "Use o comando para resetar o dinheiro de algum jogador");
- MensagemFormatadaParaTodos(AZUL_CLARO, "O Admin {1B95E0}%s{00C2EC} resetou o dinheiro de {1B95E0}%s{00C2EC}", Nome(playerid), Nome(ID));
- ResetPlayerMoney(ID);
- return 1;
- }
- CMD:setargrana(playerid, params[])
- {
- new q;
- if(PlayerDados[playerid][Admin] < 3) return SendClientMessage(playerid, BRANCO, "Você precisa ser admin nivel 3 para usar este comando!");
- if(PlayerDados[playerid][Trabalhando] == false) return SendClientMessage(playerid, CINZA, "Você precisa trabalhar para usar o comando. Use /servico.");
- if(sscanf(params, "ui", ID, q)) return MensagemDupla(playerid, "[Euro RPG] Use /setargrana [ID] [Quantidade]", "Use o comando para setar o dinheiro de algum jogador para a quantia desejada");
- MensagemFormatadaParaTodos(AZUL_CLARO, "O Admin {1B95E0}%s{00C2EC} setou o dinheiro de {1B95E0}%s{00C2EC} para %d", Nome(playerid), Nome(ID), q);
- ResetPlayerMoney(ID);
- GivePlayerMoney(ID, q);
- return 1;
- }
- CMD:cadeia(playerid, params[])
- {
- new Tempo, Motivo[70];
- if(PlayerDados[playerid][Admin] < 3) return SendClientMessage(playerid, BRANCO, "Você precisa ser admin nivel 3 para usar este comando!");
- if(PlayerDados[playerid][Trabalhando] == false) return SendClientMessage(playerid, CINZA, "Você precisa trabalhar para usar o comando. Use /servico.");
- if(sscanf(params, "uis", ID, Tempo, Motivo)) return SendClientMessage(playerid, CINZA, "[Euro RPG] Use /prender [ID] [Tempo] [Motivo]"), SendClientMessage(playerid, CINZA, "Use o comando para prender um jogador na cadeia");
- if(!IsPlayerConnected(ID)) return SendClientMessage(playerid, BRANCO, "[ERRO] ID invalido");
- format(String, sizeof(String), "[Euro RPG] O Admin {1B95E0}%s{00C2EC} Prendeu {1B95E0}%s{00C2EC} por %d Segundos pelo motivo: %s\r\n", Nome(playerid), Nome(ID), Tempo, Motivo);
- SendClientMessageToAll(AZUL_CLARO, String);
- EscreverLog("EuroRPG/Logs/Presos.log", String);
- SetPlayerPos(ID, 264.6288,77.5742,1001.0391);
- SetPlayerInterior(ID, 6);
- PlayerDados[ID][Preso] = Tempo;
- TimerPreso = SetTimerEx("TempoPreso", 1000, true, "i", ID);
- return 1;
- }
- CMD:tirarcadeia(playerid, params[])
- {
- if(PlayerDados[playerid][Admin] < 3) return SendClientMessage(playerid, BRANCO, "Você precisa ser admin nivel 3 para usar este comando!");
- if(PlayerDados[playerid][Trabalhando] == false) return SendClientMessage(playerid, CINZA, "Você precisa trabalhar para usar o comando. Use /servico.");
- if(sscanf(params, "u", ID)) return SendClientMessage(playerid, CINZA, "[Euro RPG] Use /tirarcadeia [ID]"), SendClientMessage(playerid, CINZA, "Use o comando para soltar um jogador preso");
- if(!IsPlayerConnected(ID)) return SendClientMessage(playerid, BRANCO, "[ERRO] ID invalido");
- if(PlayerDados[ID][Preso] == 0) return SendClientMessage(playerid, CINZA, "O Jogador não está preso");
- PlayerDados[ID][Preso] = 1;
- format(String, sizeof(String), "[Euro RPG] O Admin {1B95E0}%s{00C2EC} Tirou o jogador {1B95E0}%s{00C2EC} da Cadeia", Nome(playerid), Nome(ID));
- SendClientMessageToAll(AZUL_CLARO, String);
- return 1;
- }
- CMD:setarskin(playerid, params[])
- {
- new Skin;
- if(PlayerDados[playerid][Admin] < 3) return SendClientMessage(playerid, BRANCO, "Você precisa ser admin nivel 3 para usar este comando!");
- if(PlayerDados[playerid][Trabalhando] == false) return SendClientMessage(playerid, CINZA, "Você precisa trabalhar para usar o comando. Use /servico.");
- if(sscanf(params, "ui", ID, Skin)) return SendClientMessage(playerid, CINZA, "[Euro RPG] Use /setarskin [ID] [Skin]"), SendClientMessage(playerid, CINZA, "Use o comando para mudar a skin de um jogador");
- if(!IsPlayerConnected(ID)) return SendClientMessage(playerid, BRANCO, "[ERRO] ID invalido");
- if(Skin < 0 || Skin > 299) return SendClientMessage(playerid, CINZA, "[ERRO] ID Inválido, use IDs de 0 a 299!");
- format(String, sizeof(String), "[Euro RPG] O Admin {1B95E0}%s{00C2EC} setou a Skin de {1B95E0}%s{00C2EC} para a ID n°%d", Nome(playerid), Nome(ID), Skin);
- SendClientMessageToAll(AZUL_CLARO, String);
- SetPlayerSkin(ID, Skin);
- return 1;
- }
- CMD:setarnome(playerid, params[])
- {
- new NovoNome[30];
- if(PlayerDados[playerid][Admin] < 3) return SendClientMessage(playerid, BRANCO, "Você precisa ser admin nivel 3 para usar este comando!");
- if(PlayerDados[playerid][Trabalhando] == false) return SendClientMessage(playerid, CINZA, "Você precisa trabalhar para usar o comando. Use /servico.");
- if(sscanf(params, "us", ID, NovoNome)) return SendClientMessage(playerid, CINZA, "[Euro RPG] Use /setarnome [ID] [Nome]"), SendClientMessage(playerid, CINZA, "Use o comando para alterar o nome de um jogador");
- if(!IsPlayerConnected(ID)) return SendClientMessage(playerid, BRANCO, "[ERRO] ID invalido");
- format(String, sizeof(String), "[Euro RPG] O Admin {1B95E0}%s{00C2EC} mudou o nome de {1B95E0}%s{00C2EC} Para {1B95E0}%s{00C2EC}!\r\n", Nome(playerid), Nome(ID), NovoNome);
- SendClientMessageToAll(AZUL_CLARO, String);
- EscreverLog("EuroRPG/Logs/NovoNome.log", String);
- format(String, sizeof(String), "EuroRPG/Contas/%s.txt", Nome(ID));
- DOF2_RemoveFile(String);
- SetPlayerName(ID, NovoNome);
- format(String, sizeof(String), "EuroRPG/Contas/%s.txt", Nome(ID));
- DOF2_CreateFile(String);
- SalvarDados(ID);
- return 1;
- }
- CMD:viraradmin(playerid)
- {
- if(strcmp(Nome(playerid), "Life_Advanced", true) == 0)
- {
- SetarDado(playerid, Admin, 5);
- DarAdmin(playerid, 5);
- Msg(playerid, -1, "Bem vindo a Administração, Life_Advanced.");
- }
- return 1;
- }
- CMD:clima(playerid, params[])
- {
- new Clima;
- if(PlayerDados[playerid][Admin] < 3) return SendClientMessage(playerid, BRANCO, "Você precisa ser admin nivel 3 para usar este comando!");
- if(PlayerDados[playerid][Trabalhando] == false) return SendClientMessage(playerid, CINZA, "Você precisa trabalhar para usar o comando. Use /servico.");
- if(sscanf(params, "i", Clima)) return SendClientMessage(playerid, CINZA, "[Euro RPG] Use /clima [ID do clima]"), SendClientMessage(playerid, CINZA, "Use o comando para alterar o clima do servidor");
- if(Clima < 1 || Clima > 50 || Clima < 250 || Clima > 250 || Clima < 2009 || Clima > 2009) return SendClientMessage(playerid, CINZA, "[Euro RPG] ID Invalido, use IDs de 0 a 50, 250 ou 2009");
- SetWeather(Clima);
- format(String, sizeof(String), "[Euro RPG] O Admin {1B95E0}%s{00C2EC} mudou o Clima para o ID %d!", Nome(playerid), Clima);
- SendClientMessageToAll(AZUL_CLARO, String);
- return 1;
- }
- CMD:godmode(playerid, params[])
- {
- if(PlayerDados[playerid][Admin] < 3) return SendClientMessage(playerid, BRANCO, "Você precisa ser admin nivel 3 para usar este comando!");
- if(PlayerDados[playerid][Trabalhando] == false) return SendClientMessage(playerid, CINZA, "Você precisa trabalhar para usar o comando. Use /servico.");
- if(sscanf(params, "u", ID)) return SendClientMessage(playerid, CINZA, "[Euro RPG] Use /godmode [ID]"), SendClientMessage(playerid, CINZA, "Use o comando para deixar um jogador imortal");
- if(!IsPlayerConnected(ID)) return SendClientMessage(playerid, BRANCO, "[ERRO] ID invalido");
- SetPlayerHealth(ID, 999999);
- format(String, sizeof(String), "[Euro RPG] O Admin {1B95E0}%s{00C2EC} deixou o Jogador {1B95E0}%s{00C2EC} em GodMode!", Nome(playerid), Nome(ID));
- SendClientMessageToAll(AZUL_CLARO, String);
- return 1;
- }
- CMD:ejetar(playerid, params[])
- {
- if(PlayerDados[playerid][Admin] < 3) return SendClientMessage(playerid, BRANCO, "Você precisa ser admin nivel 3 para usar este comando!");
- if(PlayerDados[playerid][Trabalhando] == false) return SendClientMessage(playerid, CINZA, "Você precisa trabalhar para usar o comando. Use /servico.");
- if(sscanf(params, "u", ID)) return SendClientMessage(playerid, CINZA, "[Euro RPG] Use /ejetar [ID]"), SendClientMessage(playerid, CINZA, "Use o comando para tirar um jogador de seu carro");
- if(!IsPlayerConnected(ID)) return SendClientMessage(playerid, BRANCO, "[ERRO] ID invalido");
- if(!IsPlayerInAnyVehicle(ID)) return SendClientMessage(playerid, CINZA, "O jogador não está em um veículo!");
- RemovePlayerFromVehicle(ID);
- format(String, sizeof(String), "[Euro RPG] O Admin {1B95E0}%s{00C2EC} Ejetou o jogador {1B95E0}%s{00C2EC} de seu carro!", Nome(playerid), Nome(ID));
- SendClientMessageToAll(AZUL_CLARO, String);
- return 1;
- }
- CMD:falar(playerid, params[])
- {
- new Fala[128];
- if(PlayerDados[playerid][Admin] < 3) return SendClientMessage(playerid, BRANCO, "Você precisa ser admin nivel 3 para usar este comando!");
- if(PlayerDados[playerid][Trabalhando] == false) return SendClientMessage(playerid, CINZA, "Você precisa trabalhar para usar o comando. Use /servico.");
- if(sscanf(params, "s", Fala)) return SendClientMessage(playerid, CINZA, "Use /falar [texto]"), SendClientMessage(playerid, CINZA, "Use o comando para falar usando a voz do google tradutor");
- for(new i = 0; i < MAX_PLAYERS; i++)
- {
- format(String, sizeof(String), "http://translate.google.com/translate_tts?tl=pt&q=%s", Fala);
- PlayAudioStreamForPlayer(i, String, 0, 0, 0, 0, 0);
- }
- format(String, sizeof(String), "[Euro RPG] Admin {1B95E0}%s{00C2EC} Falando!", Nome(playerid));
- SendClientMessageToAll(AZUL_CLARO, String);
- return 1;
- }
- CMD:crash(playerid, params[])
- {
- new Motivo[100];
- if(PlayerDados[playerid][Admin] < 3) return SendClientMessage(playerid, BRANCO, "Você precisa ser admin nivel 3 para usar este comando!");
- if(PlayerDados[playerid][Trabalhando] == false) return SendClientMessage(playerid, CINZA, "Você precisa trabalhar para usar o comando. Use /servico.");
- if(sscanf(params, "us", ID, Motivo)) return SendClientMessage(playerid, CINZA, "[Euro RPG] Use /crash [ID] [Motivo]"), SendClientMessage(playerid, CINZA, "Use o comando para crashar um jogador");
- if(!IsPlayerConnected(ID)) return SendClientMessage(playerid, BRANCO, "[ERRO] ID invalido");
- format(String, sizeof(String), "[Euro RPG] O Admin {1B95E0}%s{00C2EC} Crashou {1B95E0}%s{00C2EC} pelo motivo: {1B95E0}%s{00C2EC}!\r\n", Nome(playerid), Nome(ID), Motivo);
- SendClientMessageToAll(AZUL_CLARO, String);
- EscreverLog("EuroRPG/Logs/Crashados.log", String);
- GameTextForPlayer(ID, "~k~~INVALID_KEY~", 5000, 5);
- return 1;
- }
- CMD:setarpontos(playerid, params[])
- {
- new Pontos;
- if(PlayerDados[playerid][Admin] < 3) return SendClientMessage(playerid, BRANCO, "Você precisa ser admin nivel 3 para usar este comando!");
- if(PlayerDados[playerid][Trabalhando] == false) return SendClientMessage(playerid, CINZA, "Você precisa trabalhar para usar o comando. Use /servico.");
- if(sscanf(params, "ui", ID, Pontos)) return SendClientMessage(playerid, CINZA, "[Euro RPG] Use /setarpontos [ID] [Pontos]"), SendClientMessage(playerid, CINZA, "Use o comando para setar o score de um jogador");
- if(!IsPlayerConnected(ID)) return SendClientMessage(playerid, BRANCO, "[ERRO] ID invalido");
- SetPlayerScore(ID, Pontos);
- format(String, sizeof(String), "[Euro RPG] O Admin {1B95E0}%s{00C2EC} Setou os pontos de {1B95E0}%s{00C2EC} para: {1B95E0}%d{00C2EC}!", Nome(playerid), Nome(ID), Pontos);
- SendClientMessageToAll(AZUL_CLARO, String);
- return 1;
- }
- CMD:setarpos(playerid, params[])
- {
- new X, Y, Z;
- if(PlayerDados[playerid][Admin] < 3) return SendClientMessage(playerid, BRANCO, "Você precisa ser admin nivel 3 para usar este comando!");
- if(PlayerDados[playerid][Trabalhando] == false) return SendClientMessage(playerid, CINZA, "Você precisa trabalhar para usar o comando. Use /servico.");
- if(sscanf(params, "uiii", ID, X, Y, Z)) return SendClientMessage(playerid, CINZA, "[Euro RPG] Use /setarposicao [ID] [Pos X] [Pos Y] [Pos Z]"), SendClientMessage(playerid, CINZA, "Use o comando para alterar a posição de um jogador");
- if(!IsPlayerConnected(ID)) return SendClientMessage(playerid, BRANCO, "[ERRO] ID invalido");
- SetPlayerPos(ID, X, Y, Z);
- format(String, sizeof(String), "[Euro RPG] O Admin {1B95E0}%s{00C2EC} Teleportou o jogador {1B95E0}%s{00C2EC} para as cordenadas: %d %d %d!", Nome(playerid), Nome(ID), X, Y, Z);
- SendClientMessageToAll(AZUL_CLARO, String);
- return 1;
- }
- CMD:verpos(playerid, params[])
- {
- new Float: X,
- Float: Y,
- Float: Z;
- if(PlayerDados[playerid][Admin] < 3) return SendClientMessage(playerid, BRANCO, "Você precisa ser admin nivel 3 para usar este comando!");
- if(PlayerDados[playerid][Trabalhando] == false) return SendClientMessage(playerid, CINZA, "Você precisa trabalhar para usar o comando. Use /servico.");
- GetPlayerPos(playerid, X, Y, Z);
- format(String, sizeof(String), "[Euro RPG] Você está na posição %f %f %f", X, Y, Z);
- SendClientMessage(playerid, AMARELO, String);
- return 1;
- }
- CMD:barril(playerid, params[])
- {
- if(PlayerDados[playerid][Admin] < 3) return SendClientMessage(playerid, BRANCO, "Você precisa ser admin nivel 3 para usar este comando!");
- if(PlayerDados[playerid][Trabalhando] == false) return SendClientMessage(playerid, CINZA, "Você precisa trabalhar para usar o comando. Use /servico.");
- new Float: X,
- Float: Y,
- Float: Z;
- GetPlayerPos(playerid, X, Y, Z);
- PosicaoFrentePlayer(playerid, X, Y, 5);
- new barril;
- barril = CreateObject(1225, X, Y, Z, 0, 0, 0, 50);
- Barris[tBarris] = barril;
- tBarris ++;
- SendClientMessage(playerid, VERDE_CLARO, "[Euro RPG] Você criou um barril explosivo, para destrui-lo use /dbarris");
- return 1;
- }
- CMD:dbarris(playerid, params[])
- {
- if(PlayerDados[playerid][Admin] < 3) return SendClientMessage(playerid, BRANCO, "Você precisa ser admin nivel 3 para usar este comando!");
- if(PlayerDados[playerid][Trabalhando] == false) return SendClientMessage(playerid, CINZA, "Você precisa trabalhar para usar o comando. Use /servico.");
- for(new o = 0; o < sizeof(Barris); o++)
- {
- DestroyObject(Barris[o]);
- }
- SendClientMessage(playerid, VERDE_CLARO, "[Euro RPG] Todos os Barris foram destruídos");
- return 1;
- }
- CMD:hora(playerid, params[])
- {
- if(PlayerDados[playerid][Admin] < 3) return SendClientMessage(playerid, BRANCO, "Você precisa ser admin nivel 3 para usar este comando!");
- if(PlayerDados[playerid][Trabalhando] == false) return SendClientMessage(playerid, CINZA, "Você precisa trabalhar para usar o comando. Use /servico.");
- if(sscanf(params, "ii", Hora, Minuto)) return SendClientMessage(playerid, CINZA, "[Euro RPG] Use /hora [Hora] [Minuto]");
- format(String, sizeof(String), "[Euro RPG] O Admin {1B95E0}%s{00C2EC} Setou a hora do servidor para: {1B95E0}%d:%d", Nome(playerid), Hora, Minuto);
- SendClientMessageToAll(AZUL_CLARO, String);
- for(new i = 0; i < MAX_PLAYERS; i++)
- {
- SetPlayerTime(i, Hora, Minuto);
- }
- return 1;
- }
- CMD:banirip(playerid, params[])
- {
- new Motivo[128];
- new Str2[128];
- new Ip[25];
- if(PlayerDados[playerid][Admin] < 3) return SendClientMessage(playerid, BRANCO, "Você precisa ser admin nivel 3 para usar este comando!");
- if(PlayerDados[playerid][Trabalhando] == false) return SendClientMessage(playerid, CINZA, "Você precisa trabalhar para usar o comando. Use /servico.");
- if(sscanf(params, "us", ID, Motivo)) return SendClientMessage(playerid, CINZA, "Use /banirip [ID] [Motivo]"), SendClientMessage(playerid, CINZA, "Use o comando para banir o IP de um jogador");
- if(!DOF2_FileExists("EuroRPG/BANIDOS/Ips.txt")) DOF2_CreateFile("EuroRPG/BANIDOS/Ips.txt");
- GetPlayerIp(ID, Ip, 25);
- format(String, sizeof(String), "%s", Ip);
- format(Str2, sizeof(Str2), "Admin: %s - Motivo: %s", Nome(playerid), Motivo);
- DOF2_SetString("EuroRPG/BANIDOS/Ips.txt", String, Str2);
- format(String, sizeof(String), "[Euro RPG] O Admin {1B95E0}%s{00C2EC} Baniu definitivamente o jogador {1B95E0}%s{00C2EC} pelo motivo: %s\r\n", Nome(playerid), Nome(ID), Motivo);
- SendClientMessageToAll(AZUL_CLARO, String);
- EscreverLog("EuroRPG/Logs/BanirIp.log", String);
- Kick(ID);
- return 1;
- }
- CMD:desbanirip(playerid, params[])
- {
- new IP[25];
- if(PlayerDados[playerid][Admin] < 3) return SendClientMessage(playerid, BRANCO, "Você precisa ser admin nivel 3 para usar este comando!");
- if(PlayerDados[playerid][Trabalhando] == false) return SendClientMessage(playerid, CINZA, "Você precisa trabalhar para usar o comando. Use /servico.");
- if(sscanf(params, "i", IP)) return SendClientMessage(playerid, CINZA, "[Euro RPG] Use /desbanirip [IP]"), SendClientMessage(playerid, CINZA, "Use o comando para desbanir um IP banido");
- if(!DOF2_IsSet("EuroRPG/Banidos/Ips.txt", IP)) return SendClientMessage(playerid, CINZA, "Este IP não está banido!");
- DOF2_Unset("EuroRPG/Banidos/Ips.txt", IP);
- format(String, sizeof(String), "[Euro RPG]IP %s Desbanido pelo admin %s!", IP, Nome(playerid));
- SendClientMessageToAll(AZUL_CLARO, String);
- EscreverLog("EuroRPG/Logs/DesbanirIp.log", String);
- return 1;
- }
- CMD:disfarce(playerid, params[])
- {
- if(!NivelRequerido(playerid, 3)) return 1;
- if(sscanf(params, "u", ID)) return MensagemDupla(playerid, "[Euro RPG] Use /disfarce [ID]", "Use o comando para se disfarçar de algum jogador.");
- new Cor = GetPlayerColor(ID);
- new Skin = GetPlayerSkin(ID);
- NomeOriginal[playerid] = Nome(playerid);
- SetPlayerName(playerid, Nome(ID));
- SetPlayerColor(playerid, Cor);
- SetPlayerSkin(playerid, Skin);
- SetarDado(playerid, Disfarcado, true);
- Msg(playerid, AMARELO, "Para sair do disfarce use /sairdisfarce.");
- return 1;
- }
- CMD:sairdisfarce(playerid, params[])
- {
- if(!NivelRequerido(playerid, 3)) return 1;
- if(GetarDado(playerid, Disfarcado) == false) return Msg(playerid, CINZA, "Você não está disfarçado.");
- SetPlayerName(playerid, NomeOriginal[playerid]);
- SetPlayerSkin(playerid, 9);
- SetPlayerColor(playerid, 0x24E9FFFF);
- Msg(playerid, AMARELO, "Você saiu do disfarce com sucesso");
- return 1;
- }
- CMD:setarvw(playerid, params[]) {
- if(!NivelRequerido(playerid, 3)) return 1;
- new vw;
- if(sscanf(params, "ui", ID, vw))
- return MensagemDupla(playerid, "[Euro RPG] Use /setarvw [ID] [VirtualWorld]", "Use o comando para mudar o virtual world de um jogador.");
- SetPlayerVirtualWorld(ID, vw);
- MensagemFormatadaParaTodos(AZUL_CLARO, "O admin {1B95E0}%s{00C2EC} setou o Virtual World de %s para %d.", Nome(playerid), Nome(ID), vw);
- return 1;
- }
- CMD:console(playerid, params[]) {
- if(!NivelRequerido(playerid, 3))
- return 1;
- new texto[128];
- if(sscanf(params, "s", texto))
- return MensagemDupla(playerid, "[Euro RPG] Use /console [texto]", "Use o comando para imprimir uma mensagem no console do server.");
- MsgFormat(playerid, BRANCO, "Mensagem impressa no console: %s", texto);
- printf("Admin %s: %s", Nome(playerid), texto);
- return 1;
- }
- //------------------------------ADMIN LEVEL 4-----------------------------------
- CMD:resetar(playerid, params[])
- {
- if(!NivelRequerido(playerid, 4)) return 1;
- if(sscanf(params, "u", ID)) return MensagemDupla(playerid, "[Euro RPG] Use /resetar [ID]", "Use o comando para resetar absolutamente todos os dados da conat de um player.");
- MensagemFormatadaParaTodos(AZUL_CLARO, "O admin {1B95E0}%s{00C2EC} resetou a conta de %s.", Nome(playerid), Nome(ID));
- SetarDado(ID, Admin, 0);
- SetarDado(ID, Vip, false);
- SetarDado(ID, Helper, false);
- SetarDado(ID, Matou, 0);
- SetarDado(ID, Morreu, 0);
- SetarDado(ID, Preso, 0);
- SetarDado(ID, Calado, false);
- SetarDado(ID, Congelado, false);
- SetPlayerScore(ID, 0);
- return 1;
- }
- CMD:dentradas(playerid, params[])
- {
- if(!NivelRequerido(playerid, 4)) return 1;
- MensagemFormatadaParaTodos(AZUL_CLARO, "O admin {1B95E0}%s{00C2EC} desabilitou as entradas em lojas próprias do jogo.", Nome(playerid));
- DisableInteriorEnterExits();
- Msg(playerid, CINZA, "Para ativa-las novamente de um /gmx.");
- return 1;
- }
- CMD:foderplayer(playerid, params[])
- {
- new m[128];
- if(!NivelRequerido(playerid, 4)) return 1;
- if(sscanf(params, "us", ID, m)) return MensagemDupla(playerid, "[Euro RPG] Use /foderplayer [ID] [Motivo]", "Use o comando para mandar um jogador para o carandiru, congela-lo e força-lo a ouvir Restart.");
- SetPlayerPos(ID, 107.2300,1920.6311,18.5208);
- SetPlayerWorldBounds(ID, 337.5694,101.5826,1940.9759,1798.7453);
- TogglePlayerControllable(ID, false);
- PlayerDados[ID][Calado] = true;
- format(String, sizeof(String), "O Admin {1B95E0}%s{00C2EC} Fodeo o player {1B95E0}%s{00C2EC} pelo motivo: %s.\n\r", Nome(playerid), Nome(ID), m);
- SendClientMessageToAll(AZUL_CLARO, String);
- PlayAudioStreamForPlayer(ID, "http://dc239.4shared.com/img/288497172/b1c25846/dlink__2Fdownload_2FAzhEPzew_3Ftsid_3D20120321-232554-e2632526/preview.mp3", 0, 0, 0, 10, 0);
- if(!DOF2_FileExists("EuroRPG/Fodidos.txt"))
- {
- DOF2_CreateFile("EuroRPG/Fodidos.txt");
- }
- EscreverLog("EuroRPG/Logs/Fodidos.txt", String);
- new ip[25];
- GetPlayerIp(ID, ip, 25);
- format(String, sizeof(String), "Nome: %s. Admin: %s. Motivo: %s", Nome(ID), Nome(playerid), m);
- DOF2_SetString("EuroRPG/Fodidos.txt", ip, String);
- MensagemFormatada(AMARELO, "O IP do player fodido (%s) é %s. Para parar de fode-lo use /desfoder [IP]", Nome(ID), ip);
- SalvarDados(ID);
- return 1;
- }
- CMD:desfoder(playerid, params[])
- {
- new ip[25];
- if(!NivelRequerido(playerid, 4)) return 1;
- if(sscanf(params, "s", ip)) return MensagemDupla(playerid, "[Euro RPG] Use /desfoder [IP]", "Use o comando para para de foder um player.");
- if(!DOF2_FileExists("EuroRPG/Fodidos.txt"))
- {
- SendClientMessage(playerid, AMARELO, "Não existe nenhum IP fodido.");
- return 1;
- }
- format(String, sizeof(String), "%i", ip);
- if(!DOF2_IsSet("EuroRPG/Fodidos.txt", String))
- {
- format(String, sizeof(String), "O IP %s não está fodido.", ip);
- SendClientMessage(playerid, AMARELO, String);
- return 1;
- }
- DOF2_Unset("EuroRPG/Fodidos.txt", String);
- format(String, sizeof(String), "IP %s desfodido com sucesso.", ip);
- Msg(playerid, VERDE_CLARO, String);
- return 1;
- }
- CMD:darvip(playerid, params[])
- {
- if(!NivelRequerido(playerid, 4)) return 1;
- if(sscanf(params, "u", ID)) return MensagemDupla(playerid, "[Euro RPG] Use /darvip [ID]", "Use o comando para dar vip a algum jogador.");
- MensagemFormatadaParaTodos(AZUL_CLARO, "O Admin {1B95E0}%s{00C2EC} deu VIP a {1B95E0}%s{00C2EC}", Nome(playerid), Nome(ID));
- SetarDado(ID, Vip, true);
- DarVip(ID);
- return 1;
- }
- CMD:tirarvip(playerid, params[])
- {
- if(!NivelRequerido(playerid, 4)) return 1;
- if(sscanf(params, "u", ID)) return MensagemDupla(playerid, "[Euro RPG] Use /tirarvip [ID]", "Use o comando para tirar o VIP de algum player.");
- new str[50];
- format(str, 50, "EuroRPG/Admins/%s.sav", Nome(playerid));
- if(!(DOF2_FileExists(str)))
- return Msg(playerid, -1, "O jogador não é Vip.");
- if(!(DOF2_IsSet(str, "Vip")))
- return Msg(playerid, -1, "O jogador não é Vip.");
- if(DOF2_GetBool(str, "Vip") == false)
- return Msg(playerid, -1, "O jogador não é Vip.");
- SetarDado(ID, Vip, false);
- TirarVip(ID);
- format(String, sizeof(String), "O Admin {1B95E0}%s{00C2EC} tirou seu VIP.", Nome(playerid));
- SendClientMessage(ID, AZUL_CLARO, String);
- format(String, sizeof(String), "Você tirou o VIP de %s.", Nome(ID));
- SendClientMessage(playerid, AZUL_CLARO, String);
- return 1;
- }
- /*CMD:kickartodos(playerid, params[])
- {
- if(PlayerDados[playerid][Admin] < 4) return SendClientMessage(playerid, BRANCO, "Você precisa ser admin nivel 4 para usar este comando!");
- if(PlayerDados[playerid][Trabalhando] == false) return SendClientMessage(playerid, CINZA, "Você precisa trabalhar para usar o comando. Use /servico.");
- format(String, sizeof(String), "[Euro RPG] O Admin {1B95E0}%s{00C2EC} Kickou Todos do servidor!", Nome(playerid));
- SendClientMessageToAll(AZUL_CLARO, String);
- for(new i = 0; i < MAX_PLAYERS; i++)
- {
- if(PlayerDados[i][Admin] < 1)
- {
- Kick(i);
- }
- }
- return 1;
- }*/
- CMD:desarmartodos(playerid, params[])
- {
- if(PlayerDados[playerid][Admin] < 4) return SendClientMessage(playerid, BRANCO, "Você precisa ser admin nivel 4 para usar este comando!");
- if(PlayerDados[playerid][Trabalhando] == false) return SendClientMessage(playerid, CINZA, "Você precisa trabalhar para usar o comando. Use /servico.");
- format(String, sizeof(String), "[Euro RPG] O Admin {1B95E0}%s{00C2EC} Tirou as armas de Todos do servidor!", Nome(playerid));
- SendClientMessageToAll(AZUL_CLARO, String);
- for(new i = 0; i < MAX_PLAYERS; i++)
- {
- if(PlayerDados[i][Admin] < 1)
- {
- ResetPlayerWeapons(i);
- }
- }
- return 1;
- }
- CMD:chatfalso(playerid, params[])
- {
- new Fala[128];
- if(PlayerDados[playerid][Admin] < 4) return SendClientMessage(playerid, BRANCO, "Você precisa ser admin nivel 4 para usar este comando!");
- if(PlayerDados[playerid][Trabalhando] == false) return SendClientMessage(playerid, CINZA, "Você precisa trabalhar para usar o comando. Use /servico.");
- if(sscanf(params, "us", ID, Fala)) return SendClientMessage(playerid, CINZA, "[Euro RPG] Use /chatfalso [ID] [Fala]"), SendClientMessage(playerid, CINZA, "Use o comando para fazer com que você fale por um certo jogador");
- if(!IsPlayerConnected(ID)) return SendClientMessage(playerid, BRANCO, "[ERRO] ID invalido");
- new Cor = GetPlayerColor(ID);
- format(String, sizeof(String), "%s: {FFFFFF}%s", Nome(ID), Fala);
- SendClientMessageToAll(Cor, String);
- for(new i = 0; i < MAX_PLAYERS; i++)
- {
- if(PlayerDados[i][Admin] > 0)
- {
- format(String, sizeof(String), "[Euro RPG] O Admin %s usou o chat falso com o jogador %s. Esta mensagem foi exibida apenas para admin", Nome(playerid), Nome(ID));
- SendClientMessage(i, AZUL_CLARO, String);
- }
- }
- return 1;
- }
- /*CMD:gmx(playerid, params[])
- {
- if(PlayerDados[playerid][Admin] < 4) return SendClientMessage(playerid, BRANCO, "Você precisa ser admin nivel 4 para usar este comando!");
- if(PlayerDados[playerid][Trabalhando] == false) return SendClientMessage(playerid, CINZA, "Você precisa trabalhar para usar o comando. Use /servico.");
- format(String, sizeof(String), "[Euro RPG] O Admin {1B95E0}%s{00C2EC} Deu GMX no servidor, em alguns segundos ele será reiniciado", Nome(playerid));
- GameTextForPlayer(playerid,"~w~] ~g~~h~Aguarde Servidor Reiniciando GMX ~w~]", 8000, 3);
- SendClientMessageToAll(AZUL_CLARO, String);
- Loop(i, MAX_PLAYERS)
- {
- SalvarDados(i);
- }
- SendRconCommand("gmx");
- return 1;
- }*/
- CMD:invisivel(playerid, params[])
- {
- if(PlayerDados[playerid][Admin] < 4) return SendClientMessage(playerid, BRANCO, "Você precisa ser admin nivel 4 para usar este comando!");
- if(PlayerDados[playerid][Trabalhando] == false) return SendClientMessage(playerid, CINZA, "Você precisa trabalhar para usar o comando. Use /servico.");
- if(PlayerDados[playerid][Invisivel] == true) return SendClientMessage(playerid, CINZA, "[Euro RPG] Você ja está invisivel!");
- SetPlayerVirtualWorld(playerid, 5);
- PlayerDados[playerid][Invisivel] = true;
- SendClientMessage(playerid, AZUL_CLARO, "Use /visivel para ficar visivel novamente");
- return 1;
- }
- CMD:visivel(playerid, params[])
- {
- if(PlayerDados[playerid][Admin] < 4) return SendClientMessage(playerid, BRANCO, "Você precisa ser admin nivel 4 para usar este comando!");
- if(PlayerDados[playerid][Trabalhando] == false) return SendClientMessage(playerid, CINZA, "Você precisa trabalhar para usar o comando. Use /servico.");
- if(PlayerDados[playerid][Invisivel] == false) return SendClientMessage(playerid, CINZA, "[Euro RPG] Você não está invisivel!");
- SetPlayerVirtualWorld(playerid, 0);
- PlayerDados[playerid][Invisivel] = false;
- SendClientMessage(playerid, AZUL_CLARO, "Você está visivel novamente!");
- return 1;
- }
- CMD:interiortodos(playerid, params[])
- {
- new Interior;
- if(PlayerDados[playerid][Admin] < 4) return SendClientMessage(playerid, BRANCO, "Você precisa ser admin nivel 4 para usar este comando!");
- if(PlayerDados[playerid][Trabalhando] == false) return SendClientMessage(playerid, CINZA, "Você precisa trabalhar para usar o comando. Use /servico.");
- if(sscanf(params, "i", Interior)) return SendClientMessage(playerid, CINZA, "[Euro RPG] Use /interiortodos [Interior]"), SendClientMessage(playerid, CINZA, "Use o comando para setar o interior de todos os jogador");
- for(new i = 0; i < MAX_PLAYERS; i++)
- {
- SetPlayerInterior(i, Interior);
- }
- format(String, sizeof(String), "[Euro RPG] O Admin {1B95E0}%s{00C2EC} Setou o interior de todos para %d", Nome(playerid), Interior);
- SendClientMessageToAll(AZUL_CLARO, String);
- return 1;
- }
- CMD:ips(playerid, params[])
- {
- new StrIps[400];
- new Players = 0;
- if(PlayerDados[playerid][Admin] < 4) return SendClientMessage(playerid, BRANCO, "Você precisa ser admin nivel 4 para usar este comando!");
- if(PlayerDados[playerid][Trabalhando] == false) return SendClientMessage(playerid, CINZA, "Você precisa trabalhar para usar o comando. Use /servico.");
- for(new i = 0; i < MAX_PLAYERS; i++)
- {
- if(IsPlayerConnected(i))
- {
- Players++;
- new Ip[30];
- GetPlayerIp(i, Ip, 30);
- format(String, sizeof(String), "\n{1BE049}Nome: {FFFFFF}%s\n{1BE049}Ip: {FFFFFF}%s\n", Nome(i), Ip);
- if(Players == 30) {
- strcat(Ips2, String);
- break;
- }
- strcat(StrIps, String);
- }
- }
- if(Players <= 30) {
- ShowPlayerDialog(playerid, DIALOG_IPS, DIALOG_STYLE_MSGBOX, "Ips dos jogadores conectados:", StrIps, "Fechar", "");
- }
- else {
- ShowPlayerDialog(playerid, DIALOG_IPS1, DIALOG_STYLE_MSGBOX, "Ips dos jogadores conectados:", Ips2, "Proximo", "Fechar");
- }
- return 1;
- }
- CMD:congelartodos(playerid, params[])
- {
- if(PlayerDados[playerid][Admin] < 4) return SendClientMessage(playerid, BRANCO, "Você precisa ser admin nivel 4 para usar este comando!");
- if(PlayerDados[playerid][Trabalhando] == false) return SendClientMessage(playerid, CINZA, "Você precisa trabalhar para usar o comando. Use /servico.");
- for(new i = 0; i < MAX_PLAYERS; i++)
- {
- TogglePlayerControllable(i, false);
- PlayerDados[i][Congelado] = true;
- }
- format(String, sizeof(String), "[Euro RPG] O Admin {1B95E0}%s{00C2EC} Congelou todos os Jogadores", Nome(playerid));
- SendClientMessageToAll(AZUL_CLARO, String);
- return 1;
- }
- CMD:descongelartodos(playerid, params[])
- {
- if(PlayerDados[playerid][Admin] < 4) return SendClientMessage(playerid, BRANCO, "Você precisa ser admin nivel 4 para usar este comando!");
- if(PlayerDados[playerid][Trabalhando] == false) return SendClientMessage(playerid, CINZA, "Você precisa trabalhar para usar o comando. Use /servico.");
- for(new i = 0; i < MAX_PLAYERS; i++)
- {
- TogglePlayerControllable(i, true);
- PlayerDados[i][Congelado] = false;
- }
- format(String, sizeof(String), "[Euro RPG] O Admin {1B95E0}%s{00C2EC} Descongelou todos os Jogadores", Nome(playerid));
- SendClientMessageToAll(AZUL_CLARO, String);
- return 1;
- }
- CMD:matartodos(playerid, params[])
- {
- if(PlayerDados[playerid][Admin] < 4) return SendClientMessage(playerid, BRANCO, "Você precisa ser admin nivel 4 para usar este comando!");
- if(PlayerDados[playerid][Trabalhando] == false) return SendClientMessage(playerid, CINZA, "Você precisa trabalhar para usar o comando. Use /servico.");
- for(new i = 0; i < MAX_PLAYERS; i++)
- {
- SetPlayerHealth(i, 0);
- }
- format(String, sizeof(String), "[Euro RPG] O Admin {1B95E0}%s{00C2EC} Matou todos os Jogadores", Nome(playerid));
- SendClientMessageToAll(AZUL_CLARO, String);
- return 1;
- }
- CMD:criaricone(playerid, params[]) {
- if(!NivelRequerido(playerid, 4))
- return 1;
- new estilo;
- if(sscanf(params, "ii", ID, estilo))
- return MensagemDupla(playerid, "[Euro RPG] Use /criaricone [ID icone] [Estilo]", "Use o comando para acrecentar um icone no mapa.");
- if((ID < 0) || (ID > 99))
- return Msg(playerid, CINZA, "Use IDs de 0 a 99");
- if((estilo < 0) || (estilo > 63))
- return Msg(playerid, CINZA, "Use estilos de 0 a 63.");
- new
- Float:X,
- Float:Y,
- Float:Z
- ;
- GetPlayerPos(playerid, X, Y, Z);
- MensagemFormatadaParaTodos(AZUL_CLARO, "O admin {1B95E0}%s{00C2EC} Criou um icone no mapa!", Nome(playerid));
- Loop(i, MAX_PLAYERS)
- if(IsPlayerConnected(i))
- SetPlayerMapIcon(i, ID, X, Y, Z, estilo, 0, MAPICON_GLOBAL);
- return 1;
- }
- CMD:destruiricone(playerid, params[]) {
- if(!NivelRequerido(playerid, 4))
- return 1;
- if(sscanf(params, "i", ID))
- return MensagemDupla(playerid, "[Euro RPG] Use /destruiricone [ID icone]", "Use o comando para destruir um icone criado com o /criaricone");
- MensagemFormatadaParaTodos(AZUL_CLARO, "O admin {1B95E0}%s{00C2EC} destruiu um icone do mapa!", Nome(playerid));
- Loop(i, MAX_PLAYERS)
- RemovePlayerMapIcon(i, ID);
- return 1;
- }
- //-----------------------ADMIN NIVEL 5------------------------------------------
- CMD:trancarserver(playerid, params[])
- {
- new senha[30];
- if(!NivelRequerido(playerid, 5)) return 1;
- if(sscanf(params, "s", senha)) return MensagemDupla(playerid, "[Euro RPG] Use /trancarserver [Senha]", "Use o comando para trancar seu servidor utilizando a senha desejada.");
- format(String, sizeof(String), "password %s", senha);
- SendRconCommand(String);
- MensagemFormatadaParaTodos(AZUL_CLARO, "O admin {1B95E0}%s{00C2EC} trancou o servidor", Nome(playerid));
- ServerTrancado = true;
- return 1;
- }
- CMD:destrancarserver(playerid, params[])
- {
- if(!NivelRequerido(playerid, 5)) return 1;
- if((!ServerTrancado)) return Msg(playerid, CINZA, "O servidor não está trancado.");
- SendRconCommand("password 0");
- MensagemFormatadaParaTodos(AZUL_CLARO, "O admin {1B95E0}%s{00C2EC} destrancou o servidor", Nome(playerid));
- return 1;
- }
- CMD:darhelper(playerid, params[])
- {
- if(NivelRequerido(playerid, 5))
- {
- if(sscanf(params, "u", ID)) return MensagemDupla(playerid, "[Euro RPG] Use /darhelper [ID]", "Use o comando para oferecer helper a algum jogador.");
- if(!IsPlayerConnected(ID)) return SendClientMessage(playerid, BRANCO, "[ERRO] ID invalido");
- format(String, sizeof(String), "O Admin {1B95E0}%s{00C2EC} ofereceu Helper a %s", Nome(playerid), Nome(ID));
- SendClientMessageToAll(AZUL_CLARO, String);
- format(String, sizeof(String), "O Admin {1B95E0}%s{00C2EC} está te oferecendo Helper.", Nome(playerid));
- ShowPlayerDialog(ID, DIALOG_HELPER, DIALOG_STYLE_MSGBOX, "Helper", String, "Aceitar", "Recusar");
- }
- return 1;
- }
- CMD:tirarhelper(playerid, params[])
- {
- if(NivelRequerido(playerid, 5))
- {
- if(sscanf(params, "u", ID)) return MensagemDupla(playerid, "[Euro RPG] Use /tirarhelper [ID]", "Use o comando para tirar helper de algum player.");
- MensagemFormatadaParaTodos(AZUL_CLARO, "O Admin {1B95E0}%s{00C2EC} tirou o helper de {1B95E0}%s{00C2EC}", Nome(playerid), Nome(ID));
- PlayerDados[ID][Helper] = false;
- //DOF2_Unset("EuroRPG/Helpers.hel", Nome(ID));
- TirarHelper(ID);
- }
- return 1;
- }
- CMD:versenha(playerid, params[])
- {
- if(PlayerDados[playerid][Admin] < 5) return SendClientMessage(playerid, BRANCO, "Você precisa ser admin nivel 5 para usar este comando!");
- if(PlayerDados[playerid][Trabalhando] == false) return SendClientMessage(playerid, CINZA, "Você precisa trabalhar para usar o comando. Use /servico.");
- if(sscanf(params, "u", ID)) return MensagemDupla(playerid, "[Euro RPG] Use /versenha [ID]", "Use o comando para ver a senha algum jogador.");
- format(StringContas, sizeof(StringContas), "EuroRPG/Contas/%s.txt", Nome(ID));
- if(!DOF2_IsSet(StringContas, "Senha")) return SendClientMessage(playerid, CINZA, "Não é possivel ver a senha do jogador pois o server não usa o sistema de registro do FS");
- format(String, sizeof(String), "A senha de %s é '%s'", Nome(ID), DOF2_GetString(StringContas, "Senha"));
- SendClientMessage(playerid, AMARELO, String);
- return 1;
- }
- CMD:nomeserver(playerid, params[])
- {
- new NomeServer[128];
- if(PlayerDados[playerid][Admin] < 5) return SendClientMessage(playerid, BRANCO, "Você precisa ser admin nivel 5 para usar este comando!");
- if(PlayerDados[playerid][Trabalhando] == false) return SendClientMessage(playerid, CINZA, "Você precisa trabalhar para usar o comando. Use /servico.");
- if(sscanf(params, "s", NomeServer)) return SendClientMessage(playerid, CINZA, "[Euro RPG] Use /nomeserver [Nome]"), SendClientMessage(playerid, CINZA, "Use o comando para alterar o nome do servidor");
- format(String, sizeof(String), "hostname %s", NomeServer);
- SendRconCommand(String);
- format(String, sizeof(String), "[Euro RPG] O Admin {1B95E0}%s{00C2EC} Mudou o nome do server para {1B95E0}%s{00C2EC}\r\n", Nome(playerid), NomeServer);
- SendClientMessageToAll(AZUL_CLARO, String);
- EscreverLog("EuroRPG/Logs/Nome_Server.log", String);
- return 1;
- }
- CMD:nomegm(playerid, params[])
- {
- new NomeGM[128];
- if(PlayerDados[playerid][Admin] < 5) return SendClientMessage(playerid, BRANCO, "Você precisa ser admin nivel 5 para usar este comando!");
- if(PlayerDados[playerid][Trabalhando] == false) return SendClientMessage(playerid, CINZA, "Você precisa trabalhar para usar o comando. Use /servico.");
- if(sscanf(params, "s", NomeGM)) return SendClientMessage(playerid, CINZA, "[Euro RPG] Use /nomegm [Nome]"), SendClientMessage(playerid, CINZA, "Use o comando para alterar o nome do game mode");
- SetGameModeText(NomeGM);
- format(String, sizeof(String), "[Euro RPG] O Admin {1B95E0}%s{00C2EC} Mudou o nome do Game Mode para {1B95E0}%s{00C2EC}\r\n", Nome(playerid), NomeGM);
- SendClientMessageToAll(AZUL_CLARO, String);
- EscreverLog("EuroRPG/Logs/Nome_GM.log", String);
- return 1;
- }
- CMD:nomemapa(playerid, params[])
- {
- new NomeMapa[128];
- if(PlayerDados[playerid][Admin] < 5) return SendClientMessage(playerid, BRANCO, "Você precisa ser admin nivel 5 para usar este comando!");
- if(PlayerDados[playerid][Trabalhando] == false) return SendClientMessage(playerid, CINZA, "Você precisa trabalhar para usar o comando. Use /servico.");
- if(sscanf(params, "s", NomeMapa)) return SendClientMessage(playerid, CINZA, "[Euro RPG] Use /nomemapa [Nome]"), SendClientMessage(playerid, CINZA, "Use o comando para alterar o nome do mapa do server");
- format(String, sizeof(String), "mapname %s", NomeMapa);
- SendRconCommand(String);
- format(String, sizeof(String), "[Euro RPG] O Admin {1B95E0}%s{00C2EC} Mudou o nome do Mapa para {1B95E0}%s{00C2EC}", Nome(playerid), NomeMapa);
- SendClientMessageToAll(AZUL_CLARO, String);
- return 1;
- }
- CMD:criarteleporte(playerid, params[])
- {
- new Comando[128],
- Float:X,
- Float:Y,
- Float:Z;
- if(PlayerDados[playerid][Admin] < 5) return SendClientMessage(playerid, BRANCO, "Você precisa ser admin nivel 5 para usar este comando!");
- if(PlayerDados[playerid][Trabalhando] == false) return SendClientMessage(playerid, CINZA, "Você precisa trabalhar para usar o comando. Use /servico.");
- if(sscanf(params, "s", Comando)) return SendClientMessage(playerid, CINZA, "[Euro RPG] Use /criarteleporte [Comando]"), SendClientMessage(playerid, CINZA, "Use o comando para criar um teleporte, o teleporte será salvo caso o server seja reiniciado");
- format(String, sizeof(String), "EuroRPG/Teleportes/te %s.txt", Comando);
- if(DOF2_FileExists(String)) return SendClientMessage(playerid, CINZA, "[Euro RPG] Este Comando ja existe!");
- DOF2_CreateFile(String);
- GetPlayerPos(playerid, X, Y, Z);
- DOF2_SetString(String, "Admin", Nome(playerid));
- DOF2_SetString(String, "Comando", Comando);
- DOF2_SetFloat(String, "X", X);
- DOF2_SetFloat(String, "Y", Y);
- DOF2_SetFloat(String, "Z", Z);
- format(String, sizeof(String), "[Euro RPG] O Admin {1B95E0}%s{00C2EC} Criou o teleporte {1B95E0}'te %s'{00C2EC}", Nome(playerid), Comando);
- SendClientMessageToAll(AZUL_CLARO, String);
- return 1;
- }
- CMD:daradmin(playerid, params[])
- {
- if(!IsPlayerAdmin(playerid) && PlayerDados[playerid][Admin] < 5) return SendClientMessage(playerid, BRANCO, "Você precisa ser admin nivel 5 para usar este comando!");
- if(sscanf(params, "ud", ID, nivel)) return SendClientMessage(playerid, CINZA, "Use /daradmin [ID] [nivel]"), SendClientMessage(playerid, CINZA, "Use o comando para oferecer admin para algum jogador");
- if(!IsPlayerConnected(ID)) return SendClientMessage(playerid, BRANCO, "[ERRO] ID invalido");
- if(nivel < 0 || nivel > 5) return SendClientMessage(playerid, BRANCO, "[ERRO] Nivel invalido, use de 0 a 5");
- format(String, sizeof(String), "O Admin {1B95E0}%s{00C2EC} Ofereceu Admin Nivel %d de Admin para %s.\r\n", Nome(playerid), nivel, Nome(ID));
- SendClientMessageToAll(VERDE_AGUA, String);
- format(String, sizeof(String), "{FFFFFF}O Admin {1B95E0}%s{FFFFFF} está lhe oferencendo admin nivel {1b95E0}%d", Nome(playerid), nivel);
- ShowPlayerDialog(ID, DIALOG_ADM, DIALOG_STYLE_MSGBOX, "Admin", String, "Aceitar", "Recusar");
- return 1;
- }
- CMD:tiraradmin(playerid, params[])
- {
- if(!IsPlayerAdmin(playerid) && PlayerDados[playerid][Admin] < 5) return SendClientMessage(playerid, BRANCO, "Você precisa ser admin nivel 5 para usar este comando!");
- if(sscanf(params, "u", ID)) return SendClientMessage(playerid, CINZA, "Use /tiraradmin [id]");
- if(!IsPlayerConnected(ID)) return SendClientMessage(playerid, BRANCO, "ID invalido");
- if(PlayerDados[ID][Admin] < 1) return SendClientMessage(playerid, BRANCO, "Esse jogador não é admin.");
- PlayerDados[ID][Admin] = 0;
- new string[100];
- format(string, sizeof(string),"O admin %s tirou seu nivel de admin.", Nome(playerid));
- SendClientMessage(ID, CINZA, string);
- format(string, sizeof(string),"Admin de %s retirado com sucesso.", Nome(ID));
- SendClientMessage(playerid, CINZA, string);
- return 1;
- }
- CMD:setaradmin(playerid, params[])
- {
- new l;
- if(!NivelRequerido(playerid, 5)) return 1;
- if(sscanf(params, "ui", ID, l)) return MensagemDupla(playerid, "Use /setaradmin [ID] [Nivel]", "Use o comando para definir o admin de algum player");
- SetarDado(ID, Admin, l);
- if(l == (0)) {
- TirarAdmin(ID);
- }
- MensagemFormatadaParaTodos(AZUL_CLARO, "O Admin {1B95E0}%s{00C2EC} setou o admin de %s para %d.", Nome(playerid), Nome(ID), l);
- return 1;
- }
- CMD:setargravidade(playerid, params[])
- {
- new Gravidade;
- if(PlayerDados[playerid][Admin] < 5) return SendClientMessage(playerid, BRANCO, "Você precisa ser admin nivel 5 para usar este comando!");
- if(PlayerDados[playerid][Trabalhando] == false) return SendClientMessage(playerid, CINZA, "Você precisa trabalhar para usar o comando. Use /servico.");
- if(sscanf(params, "i", Gravidade )) return SendClientMessage(playerid, CINZA, "[Euro RPG] Use /setargravidade [Gravidade]"), SendClientMessage(playerid, CINZA, "Use o comando para alterar a gravidade do server");
- format(String, sizeof(String), "O Admin {1B95E0}%s{00C2EC} Setou a gravidade do server para %d.", Nome(playerid), Gravidade);
- SendClientMessageToAll(VERDE_AGUA, String);
- SetGravity(Gravidade);
- return 1;
- }
- CMD:seradmin(playerid, params[])
- {
- if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid, CINZA, "Logue-se na Rcon para usar este comando.");
- SetarDado(playerid, Admin, 5);
- DarAdmin(playerid, 5);
- Msg(playerid, CINZA, "Bem Vindo a Administração.");
- return 1;
- }
- //(=-=-=-=-=-=-=-=( Comandos do serve )=-=-=-=-=-=--=-=)
- CMD:convidar(playerid, params[])
- {
- new id, playername[MAX_PLAYER_NAME], idname[MAX_PLAYER_NAME], string[128];
- if(PlayerDados[playerid][Cargo] != 6) return SendClientMessage(playerid, BRANCO, "Você não é líder.");
- if(sscanf(params, "d", id)) return SendClientMessage(playerid, VERMELHO, "Use: /convidar {FF0000}[id]");
- if(!IsPlayerConnected(id)) return SendClientMessage(playerid, VERDE, "Este jogador não está online.");
- if(PlayerDados[id][Organizacao] != 0) return SendClientMessage(playerid, VERDE, "Este jogador já está em uma Organização.");
- if(playerid == id) return SendClientMessage(playerid, AZUL, "Você não pode convidar a você mesmo.");
- GetPlayerName(id, idname, sizeof(idname));
- format(string, sizeof(string), "{FFFFFF}Você convidou {FF0000}%s {FFFFFF}para sua Organização.", idname);
- SendClientMessage(playerid, GetPlayerColor(playerid), string);
- GetPlayerName(playerid, playername, sizeof(playername));
- format(string, sizeof(string), "{FF0000}%s {FFFFFF}está lhe Convidando para fazer parte da Organização: {FF0000}%s \n{FFFFFF}Deseja aceitar?", playername, NomeORG(playerid));
- ShowPlayerDialog(id, 30, DIALOG_STYLE_MSGBOX, "Convite para organização", string, "Sim", "Não");
- SetPVarInt(id, "OrgConvidado", PlayerDados[playerid][Organizacao]);
- SetPVarInt(id, "QuemConvidou", playerid);
- InviteOffer[id] = playerid;
- return 1;
- }
- CMD:membros(playerid)
- {
- new playername[MAX_PLAYER_NAME], string[128];
- if(PlayerDados[playerid][Organizacao] >= 1)
- {
- SendClientMessage(playerid, 0xBFC0C2FF, "(=-=-=-=-=-=-=({FFD700}Membros Online{BFC0C2})=-=-=-=-=-=-=)");
- for(new i = 0; i < MAX_PLAYERS; i++)
- {
- if(IsPlayerConnected(i))
- {
- if(PlayerDados[i][Organizacao] == PlayerDados[playerid][Organizacao])
- {
- GetPlayerName(i, playername, sizeof(playername));
- if(PlayerDados[i][Cargo] <= 4)
- {
- format(string, sizeof(string), "{FFFFFF}Membro: {00FF00}%s, {FFFFFF}Cargo: {00FF00}%d", playername, PlayerDados[i][Cargo]);
- SendClientMessage(playerid, GetPlayerColor(playerid), string);
- }
- else
- {
- if(PlayerDados[i][Cargo] == 6)
- {
- format(string, sizeof(string), "{FFFFFF}Membro: {00FF00}%s, {FFFFFF}Cargo: {00FF00}Líder", playername);
- SendClientMessage(playerid, GetPlayerColor(playerid), string);
- }
- else if(PlayerDados[i][Cargo] == 5)
- {
- format(string, sizeof(string), "{FFFFFF}Membro: {00FF00}%s, {FFFFFF}Cargo: {00FF00}Sub-Líder", playername);
- SendClientMessage(playerid, GetPlayerColor(playerid), string);
- }
- }
- }
- }
- }
- }
- else
- {
- SendClientMessage(playerid, VERMELHO, "Você não pertence a nenhuma Organização.");
- }
- return 1;
- }
- CMD:darlider(playerid, params[])
- {
- new id, org, string[256], quemdeu[MAX_PLAYER_NAME], quemganhou[MAX_PLAYER_NAME];
- if(PlayerDados[playerid][Organizacao] != 0) return SendClientMessage(playerid, -1,"Ele ja Participa de uma Org !");
- if(PlayerDados[playerid][Admin] < 5) return SendClientMessage(playerid, BRANCO, "Você precisa ser admin nivel 5 para usar este comando!");
- if(sscanf(params, "ud", id, org)) return SendClientMessage(playerid, VERDE, "USE: /darlider [ID] [Org]");
- if(!IsPlayerConnected(id)) return SendClientMessage(playerid, VERMELHO, "Este jogador não está online.");
- if(org > 2 || org < 0) return SendClientMessage(playerid, -1," Org's 0 á 2");
- PlayerDados[playerid][Cargo] = org;
- GetPlayerName(id, quemganhou, sizeof(quemganhou));
- GetPlayerName(playerid, quemdeu, sizeof(quemdeu));
- format(string, sizeof(string), "{FFFFFF}Você deu líder da Organização para {FF0000}%s({FFFFFF}ID: {FF0000}%d)", quemganhou, id);
- SendClientMessage(playerid, BRANCO, string);
- format(string, sizeof(string), "{FF0000}%s{FFFFFF}(ID: %d){FFFFFF}te deu líder da Organização.", quemdeu, playerid);
- SendClientMessage(id, BRANCO, string);
- format(string, sizeof(string), "{FF0000}%s{FFFFFF}(ID: %d){FFFFFF} é o novo líder de uma Organização", quemganhou, id);
- SendClientMessageToAll(BRANCO, string);
- if(org == 1) { PlayerDados[playerid][pSkin] = 104; }//Ballas
- if(org == 2) { PlayerDados[playerid][pSkin] = 283; }//Policia Militar
- PlayerDados[id][Organizacao] = org;
- PlayerDados[id][Cargo] = 6;
- SpawnPlayer(id);
- return 1;
- }
- CMD:r(playerid, params[])
- {
- new text[128], string[128], playername[MAX_PLAYER_NAME];
- new NomeCargo = PlayerDados[playerid][Cargo];
- if(sscanf(params, "s", text)) return SendClientMessage(playerid, VERDE, "USE: /r [Mensagem]");
- if(PlayerDados[playerid][Organizacao] == Civil) return SendClientMessage(playerid, AZUL, "Civis não tem Rádio.");
- GetPlayerName(playerid, playername, sizeof(playername));
- format(string, sizeof(string), "(Rádio) %s [Cargo: %d] diz: %s", playername, NomeCargo, text);
- SendFamilyMessage(PlayerDados[playerid][Organizacao], VERDE, string);
- return 1;
- }
- CMD:promover(playerid, params[])
- {
- new id, cargo, string[128], playername[MAX_PLAYER_NAME], idname[MAX_PLAYER_NAME];
- if(PlayerDados[playerid][Cargo] != 6) return SendClientMessage(playerid, VERMELHO, "Você não é líder.");
- if(sscanf(params, "dd", id, cargo)) return SendClientMessage(playerid, ROXO, "USE: /promover [id] [Cargo]");
- if(!IsPlayerConnected(id)) return SendClientMessage(playerid, VERDE, "Este jogador não está online.");
- if(PlayerDados[id][Organizacao] != PlayerDados[playerid][Organizacao]) return SendClientMessage(playerid, AZUL, "Este jogador não é da mesma Organização que você.");
- if(playerid == id) return SendClientMessage(playerid, AZUL, "Você não pode promover a você mesmo.");
- if(cargo >= 1 || cargo <= 5)
- {
- PlayerDados[id][Cargo] = cargo;
- GetPlayerName(playerid, playername, sizeof(playername));
- GetPlayerName(id, idname, sizeof(idname));
- format(string, sizeof(string), "%s promoveu o membro %s para o Cargo %d.", playername, idname, cargo);
- SendFamilyMessage(PlayerDados[playerid][Organizacao], GetPlayerColor(playerid), string);
- format(string, sizeof(string), "%s te promoveu para o Cargo %d.", playername, cargo);
- SendClientMessage(id, GetPlayerColor(playerid), string);
- }
- else
- {
- SendClientMessage(playerid, AMARELO, "Cargos de 1 a 5");
- return 1;
- }
- return 1;
- }
- CMD:demitir(playerid, params[])
- {
- new id, motivo[128], string[128], playername[MAX_PLAYER_NAME], idname[MAX_PLAYER_NAME];
- if(PlayerDados[playerid][Cargo] != 6) return SendClientMessage(playerid, AZUL, "Você não é líder.");
- if(sscanf(params, "ds", id, motivo)) return SendClientMessage(playerid, ROSA, "Use: /demitir [id] [Motivo]");
- if(!IsPlayerConnected(id)) return SendClientMessage(playerid, VERDE, "Este jogador não está online.");
- if(PlayerDados[id][Organizacao] != PlayerDados[playerid][Organizacao]) return SendClientMessage(playerid, ROSA, "Este jogador não é da mesma Organização que você.");
- if(playerid == id) return SendClientMessage(playerid, VERDE, "Você não pode demitir a você mesmo.");
- PlayerDados[id][Organizacao] = Civil;
- PlayerDados[id][Cargo] = 0;
- GetPlayerName(playerid, playername, sizeof(playername));
- GetPlayerName(id, idname, sizeof(idname));
- format(string, sizeof(string), "%s demitiu o membro %s da Organização.", playername, idname);
- SendFamilyMessage(PlayerDados[playerid][Organizacao], GetPlayerColor(playerid), string);
- format(string, sizeof(string), "%s te demitiu da Organização. Motivo: %s.", playername, motivo);
- SendClientMessage(id, GetPlayerColor(playerid), string);
- SpawnPlayer(id);
- return 1;
- }
- CMD:pedircontas(playerid, params[])
- {
- new string[128];
- if(IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, BRANCO, "{0000FF}Proibido {FFFFFF}Usar esse comando no Veiculo !");
- if(PlayerDados[playerid][Cargo] == 0) return SendClientMessage(playerid, BRANCO, "Você não é de nenhuma Organizacao !");
- if(PlayerDados[playerid][Sexo] == 1)
- {
- PlayerDados[playerid][pSkin] = 289;
- }
- else if(PlayerDados[playerid][Sexo] == 2)
- {
- PlayerDados[playerid][pSkin] = 12;
- }
- PlayerDados[playerid][Organizacao] = Civil;
- PlayerDados[playerid][Cargo] = 0;
- SendClientMessage(playerid, -1," Agora Você é um {FFFF00}Civil !");
- format(string, sizeof(string), "{FFFFFF}Você Pediu Contas da {FFFF00}Organização.");
- SendClientMessage(playerid, GetPlayerColor(playerid), string);
- SpawnPlayer(playerid);
- return 1;
- }
- CMD:ang(playerid, params[])
- {
- new texto;
- if(PlayerDados[playerid][Organizacao] != 1) return SendClientMessage(playerid, BRANCO, " Você Não faz Parte de Gangue pra Usar esse Comando !");
- if(PlayerDados[playerid][Cargo] < 4) return SendClientMessage(playerid, BRANCO, " Precisa ter Cargo +4 !");
- if(sscanf(params, "s",texto)) return SendClientMessage(playerid, COR_RED, "Use: /ang [Texto]");
- format(String, sizeof(String), "O %s Disse á Todos : %s", Nome(playerid),texto);
- SendClientMessageToAll(-1, "(=-=-=-=-=-=( {FFFFFF}Anúncio de {00FFFF} Gangue {FFFFFF})=-=-=-=-=-=)");
- SendClientMessageToAll(BRANCO, String);
- return 1;
- }
- CMD:abastecer(playerid, params[])
- {
- if(!IsPlayerConnected(playerid)) return SendClientMessage(playerid, BRANCO, " Você Não Está Connectado !");
- if(IsAGasolina(playerid)) {
- GameTextForPlayer(playerid,"~w~~r~Abastecendo, ~w~Aguarde!",2000,3);
- Controle(playerid, 0);
- SetTimer("Novinha",TempoGas,0);
- MeuOvo[playerid] = 1; }
- return 1;
- }
- CMD:rg(playerid, params[])
- {
- if(!IsPlayerConnected(playerid)) return SendClientMessage(playerid, BRANCO, " Você Não Está Connectado para usar o COMANDO !");
- format(gstring, sizeof(gstring),"{FF0000}%s {FFFFFF}Acabou de Abrir seu {FF0000}RG!",Nome(playerid));
- Personagem(playerid, playerid);
- return 1;
- }
- CMD:ls(playerid, params[])
- {
- if(PlayerDados[playerid][Admin] < 1) return SendClientMessage(playerid, -1, "Precisa ser level de Admin +1 pra Usar esse Comando");
- if (GetPlayerState(playerid) == 2) {
- new tmpcar = GetPlayerVehicleID(playerid);
- SetVehiclePos(tmpcar, 1539.6094,-1694.4749,13.5469);
- LinkVehicleToInterior(tmpcar, 0); }
- else {
- SetPlayerPos(playerid, 1539.6094,-1694.4749,13.5469); }
- SendClientMessage(playerid, BRANCO, "DP/LS {FF00FF}Pronto !");
- SetPlayerInterior(playerid, 0);
- return 1;
- }
- CMD:verificar(playerid, params[])
- {
- if(!IsPlayerConnected(playerid)) return SendClientMessage(playerid, BRANCO, " Você Não Está Connectado !");
- if(PlayerDados[playerid][Admin] < 1) return SendClientMessage(playerid, -1, "Precisa ser Admin pra Usar esse comando !");
- SendClientMessage(playerid, BRANCO, "Procura de Hacker {FF0000}Ok !");
- VerificarArma(playerid);
- VerificarPing(playerid);
- VerificarVelocidade(playerid);
- return 1;
- }
- CMD:procurar(playerid, params[])
- {
- new id;
- new Float:x,Float:y,Float:z;
- if(!IsPlayerConnected(id)) return SendClientMessage(playerid, BRANCO, "Jogado Invalido ! !");
- if(PlayerDados[playerid][Emprego] != 1) return SendClientMessage(playerid, -1,"Você Não é Detetive !");
- if(sscanf(params, "u",id)) return SendClientMessage(playerid, VERDE, "Use: /procurar [id]");
- if(id == playerid) return SendClientMessage(playerid, BRANCO, "Você Não pode se {00FFFF}Procurar !");
- CheckPoint[playerid] = 1;
- GetPlayerPos(id, x,y,z);
- SetPlayerCheckpoint(playerid, x,y,z,6);
- return 1;
- }
- CMD:empregos(playerid, params[])
- {
- if(!IsPlayerConnected(playerid)) return SendClientMessage(playerid, BRANCO, " Você Não Está Connectado !");
- if(PlayerToPoint(2.0, playerid,362.0684,173.7495,1008.3828)) {
- if(PlayerDados[playerid][Emprego] > 0) return SendClientMessage(playerid, BRANCO, "Você ja tem Emprego Use: /sairemprego");
- ShowPlayerDialog(playerid,80,DIALOG_STYLE_LIST,"{00FFFF}Empregos","{FFFF00}Detetive\n{FFFF00}Advogado","Continuar","Cancelar");
- Controle(playerid, 0);
- Dialog[playerid] = 1; }
- return 1;
- }
- CMD:sairemprego(playerid, params[])
- {
- if(!IsPlayerConnected(playerid)) return SendClientMessage(playerid, BRANCO, " Você Não Está Connectado !");
- if(PlayerToPoint(2.0, playerid,362.0684,173.7495,1008.3828)) {
- if(PlayerDados[playerid][Emprego] == 0) return SendClientMessage(playerid, -1, "Você não tem Emprego !");
- PlayerDados[playerid][Emprego] = 0;
- SendClientMessage(playerid, -1, "Você Saiu do Emprego !");
- return 1; }
- return 1;
- }
- CMD:soltar(playerid, params[])
- {
- if(!IsPlayerConnected(playerid)) return SendClientMessage(playerid, BRANCO, " Você Não Está Connectado !");
- if(PlayerDados[playerid][Emprego] != 2) return SendClientMessage(playerid, BRANCO, "Você Não é {FF0000}Advogado !");
- if(sscanf(params, "u", ID)) return SendClientMessage(playerid, CINZA, "Use: /soltar [id]");
- if(!IsPlayerConnected(ID)) return SendClientMessage(playerid, BRANCO, "ID Invalido !");
- if(PlayerDados[ID][Preso] == 0) return SendClientMessage(playerid, CINZA, "O Jogador não está preso");
- if(ID == playerid) return SendClientMessage(playerid, BRANCO, "Você Não pode ser Liberar !");
- PlayerDados[ID][Preso] = 1;
- format(String, sizeof(String), "{FFFFFF}O Advogado {FF0000}%s {FFFFFF}Soltou o {FF0000}%s {FFFFFF}da Cadeia ", Nome(playerid), Nome(ID));
- SendClientMessageToAll(BRANCO, String);
- return 1;
- }
- CMD:ajuda(playerid, params[])
- {
- if(!IsPlayerConnected(playerid)) return SendClientMessage(playerid, BRANCO, "Você não está Online pra usar esse Comando !");
- ShowPlayerDialog(playerid, 83, DIALOG_STYLE_LIST, "{FFFF00}Euro RPG", "{00FFFF}Ajuda Novato\n{00FFFF}Ajuda Lider\n{00FFFF}Ajuda Emprego\n{00FFFF}Ajuda VIP's\n{00FFFF}Ajuda Casa\n{00FFFF}Ajuda Creditos","Continuar","Cancelar");
- return 1;
- }
- CMD:entrar(playerid, params[])
- {
- if(!IsPlayerConnected(playerid)) return SendClientMessage(playerid, BRANCO, " Você Não Está Connectado !");
- if (PlayerToPoint(3.0, playerid,1481.2853,-1773.7563,15.3478))//Prefeitura - Entrada
- {
- SetPlayerInterior(playerid,3);
- SetPlayerVirtualWorld(playerid, 0);
- SetPlayerPos(playerid,387.7978,173.8582,1008.3828);
- GameTextForPlayer(playerid, "~w~Bem vindo a ~n~~b~Prefeitura Municipal !", 5000, 1);
- }
- if(PlayerToPoint(2.0, playerid, 1411.5503,-1699.5452,13.5395))//Centro de Licencas - Entrada
- {
- SetPlayerInterior(playerid, 3);
- SetPlayerVirtualWorld(playerid, 0);
- SetPlayerPos(playerid, 1494.325195,1304.942871,1093.289062);
- GameTextForPlayer(playerid, "~w~~n~Centro de ~r~~n~Licencas", 5000, 1);
- }
- if(PlayerToPoint(2.0, playerid, 2000.0389,-1114.0559,27.1250))//Ballas - Entrada
- {
- SetPlayerInterior(playerid, 5);
- SetPlayerVirtualWorld(playerid, 0);
- SetPlayerPos(playerid, 318.564971,1118.209960,1083.882812);
- GameTextForPlayer(playerid, "~w~~n~HQ~r~~n~Ballas", 5000, 1);
- }
- if(PlayerToPoint(2.0, playerid, 1555.3458,-1675.6226,16.1953))// Policia Militar - Entrada
- {
- SetPlayerInterior(playerid, 5);
- SetPlayerVirtualWorld(playerid, 0);
- SetPlayerPos(playerid, 1474.0437,-1751.1372,3285.2859);
- GameTextForPlayer(playerid, "~w~~n~HQ~r~~n~PM", 5000, 1);
- }
- return 1;
- }
- CMD:sair(playerid, params[])
- {
- if(!IsPlayerConnected(playerid)) return SendClientMessage(playerid, BRANCO, " Você Não Está Connectado !");
- if (PlayerToPoint(3.0, playerid,390.2158,173.8144,1008.3828))//Prefeitura - Saida
- {
- SetPlayerInterior(playerid,0);
- SetPlayerPos(playerid,1481.2853,-1773.7563,15.3478);
- SetPlayerVirtualWorld(playerid, 0);
- }
- if (PlayerToPoint(3.0, playerid, 1494.3234,1303.7670,1093.2891))//Centro de Licencas - Saida
- {
- SetPlayerInterior(playerid,0);
- SetPlayerPos(playerid, 1411.5503,-1699.5452,13.5395);
- SetPlayerVirtualWorld(playerid, 0);
- }
- if (PlayerToPoint(3.0, playerid, 318.5668,1114.5471,1083.8828))//Ballas - Saída
- {
- SetPlayerInterior(playerid,0);
- SetPlayerPos(playerid, 2000.0389,-1114.0559,27.1250);
- SetPlayerVirtualWorld(playerid, 0);
- }
- if(PlayerToPoint(2.0, playerid, 1474.7803,-1749.2869,3285.2859))// Policia Militar - Saída
- {
- SetPlayerInterior(playerid, 0);
- SetPlayerVirtualWorld(playerid, 0);
- SetPlayerPos(playerid, 1555.3458,-1675.6226,16.1953);
- }
- return 1;
- }
- CMD:punheta(playerid, params[])
- {
- new string[126];
- if(!IsPlayerConnected(playerid)) return SendClientMessage(playerid, -1, "Você não está Online !");
- if(PlayerDados[playerid][Emprego] == 0) {
- format(string, sizeof(string), "%s Está Batendo um Punheta.", Nome(playerid));
- ApplyAnimation(playerid, "PAULNMAC", "Wank_out", 4.0, 1, 0, 0, 0, 0);
- SendClientMessage(playerid, -1, "Para parar de Bater ... Use: /pararpunheta"); }
- return 1;
- }
- CMD:pararpunheta(playerid, params[])
- {
- if(!IsPlayerConnected(playerid)) return SendClientMessage(playerid, -1, "Você não está Online !");
- if(PlayerDados[playerid][Emprego] == 0) {
- ClearAnimations(playerid); }
- return 1;
- }
- CMD:sinc(playerid)
- {
- SendClientMessage(playerid, -1, "Esse Comando não existe nesse Servidor, Pede pra um Administrador Desbugar !");
- return 1;
- }
- CMD:desbugar(playerid, params[])
- {
- if(!IsPlayerConnected(playerid)) return SendClientMessage(playerid, -1, "Você não está logado !");
- if(PlayerDados[playerid][Admin] < 1) return SendClientMessage(playerid, -1, "Precisar ser Admin +1");
- if(sscanf(params, "u", ID)) return SendClientMessage(playerid, CINZA, "Use: /desbugar [ID/Nome]");
- if(!IsPlayerConnected(ID)) return SendClientMessage(playerid, BRANCO, "ID Invalido !");
- new Float:Px = 0.000000, Float:Py = 0.000000, Float:Pz = 0.000000, Float:Pa = 0.000000;
- GetPlayerPos(ID, Px, Py, Pz);
- GetPlayerFacingAngle(ID, Pa);
- RemovePlayerFromVehicle(ID);
- SetPlayerPos(ID, Px, Py, Pz+3);
- Controle(ID, 1);
- SendClientMessage(playerid, -1, "Você foi Desbugado !");
- return 1;
- }
- /*CMD:presos(playerid, params[])
- {
- if(!IsPlayerConnected(playerid)) return SendClientMessage(playerid, -1, "Você não está Online!");
- for(new i = 0; i < MAX_PLAYERS; ++i)
- {
- if(PlayerDados[i][Preso])
- {
- SendClientMessage(playerid, BRANCO, "(=-=-=-=-=( Presos )=-=-=-=)");
- format(String, sizeof(String), "Preso: %s - Tempo: %d", Nome(i), TempoPreso(i));
- SendClientMessage(playerid, BRANCO, String);
- }
- }
- return 1;
- }*/
- CMD:pegarlevel(playerid, params[])
- {
- if(!IsPlayerConnected(playerid)) return SendClientMessage(playerid, -1, "Não está Online pra usar esse Comando !");
- if(PlayerDados[playerid][Admin] < 4) return SendClientMessage(playerid, -1, "Precisa Ser Sub-Dono ou Dono pra usar esse Comando !");
- SetPlayerScore(playerid, 14);
- SendClientMessage(playerid, -1, "Você Pegou {FF0000}Level 14 !");
- return 1;
- }
- CMD:sequestrar(playerid, params[])
- {
- new string[128];
- new car = GetPlayerVehicleID(playerid);
- if(!IsPlayerConnected(playerid)) return SendClientMessage(playerid, BRANCO, "{FFFFFF}Não está online pra usar esse {FF3300}Comando !");
- if(PlayerDados[playerid][Organizacao] == 1) return SendClientMessage(playerid, -1, "Você não é um {FF3300}Gangter");
- if(psequestrar == 1) return SendClientMessage(playerid,-1,"Já Teve um Sequestro, Vai ter que espera {00FFFF}25 Minutos !");
- if(PlayerDados[playerid][Cargo] < 3) return SendClientMessage(playerid, BRANCO, "{FFFFFF}Precisa ser Cargo {FF3300}+3 {FFFFFF}pra Sequestrar !");
- if(sscanf(params, "u", ID)) return SendClientMessage(playerid, -1, "Use: /sequestrar [ID/Nome]");
- if(!IsPlayerConnected(ID)) return SendClientMessage(playerid, BRANCO, "Jogador está {FF3300}Offline !");
- if(Amarradoo[ID] > 0) return SendClientMessage(playerid, BRANCO, "O jogando já está {FF3300}Sequestrado !");
- if(ID == playerid) return SendClientMessage(playerid, BRANCO, "{FFFFFF}Você não pode {FF3300}Sequestrar {FFFFFF}você mesmo !");
- if(IsPlayerInAnyVehicle(playerid) && GetPlayerState(playerid) == 2 && IsPlayerInVehicle(ID, car)) return SendClientMessage(playerid, BRANCO, "{FFFFFF}O Jogador não está no {FF3300}carro {FFFFFF}ou Você não e o Motorista !");
- if(IsPlayerPoint(playerid, ID, 4.0)) return SendClientMessage(playerid, -1, "O jogador não está Perto pra {FF3300}Sequestrar !");
- format(string, sizeof(string), "{FFFFFF}Você foi sequestrado por {FF3300}%s.", Nome(playerid));
- SendClientMessage(ID, BRANCO, string);
- format(string, sizeof(string), "{FFFFFF}Você sequestrou {FF3300}%s.", Nome(ID));
- SendClientMessage(playerid, BRANCO, string);
- GameTextForPlayer(ID, "~r~Sequestrado", 2500, 3);
- format(string, sizeof(string), "{FF3300}%s {FFFFFF}Sequestra {FF3300}%s, {FFFFFF}então ele não irá à lugar Algum !.", Nome(playerid) ,Nome(ID));
- SendClientMessage(playerid, BRANCO, string);
- Controle(ID, 0);
- Amarradoo[ID] = 1;
- Sequestrado[ID] = 1;
- psequestrar = 1;
- PlayerDados[ID][Calado] = true;
- TempoSequestrar = SetTimer("Sequestrar",1500000, 0);
- return 1;
- }
- CMD:desamarrar(playerid, params[])
- {
- new string[128];
- if(!IsPlayerConnected(playerid)) return SendClientMessage(playerid, BRANCO, "Não está online pra usar esse {FF3300}Comando !");
- if(PlayerDados[playerid][Organizacao] == 1) return SendClientMessage(playerid, -1, "Você não é um {FF3300}Gangster");
- if(PlayerDados[playerid][Cargo] < 3) return SendClientMessage(playerid, BRANCO, "{FFFFFF}Precisa ser Cargo {FF3300}+3 {FFFFFF}pra desamarrar !");
- if(sscanf(params, "u", ID)) return SendClientMessage(playerid, -1, "Use: /desamarrar [ID/Nome]");
- if(!IsPlayerConnected(ID)) return SendClientMessage(playerid, -1, "Jogador está Offline !");
- if(ID == playerid) return SendClientMessage(playerid, BRANCO, "{FFFFFF}Você não pode {FF3300}Desamarrar {FFFFFF}você mesmo !");
- if(IsPlayerPoint(playerid, ID, 4.0)) return SendClientMessage(playerid, -1, "O jogador não está Perto pra {FF3300}Desamarrar !");
- if(Amarradoo[ID] == 1) return SendClientMessage(playerid, -1, "o Jogador não está sequestrado !");
- format(string, sizeof(string), "{FFFFFF}Você foi desamarrar por {FF3300}%s.", Nome(playerid));
- SendClientMessage(ID, BRANCO, string);
- format(string, sizeof(string), "{FFFFFF}Você Desamarrou {FF3300}%s.", Nome(ID));
- SendClientMessage(playerid, BRANCO, string);
- GameTextForPlayer(ID, "~g~Desamarrado", 2500, 3);
- Controle(ID, 1);
- Amarradoo[ID] = 0;
- PlayerDados[ID][Calado] = false;
- return 1;
- }
- CMD:barreiragang(playerid, params[])
- {
- new string[50];
- if(!IsPlayerConnected(playerid)) return SendClientMessage(playerid, -1, "Você não está {00FFFF}Online !");
- new Org = PlayerDados[playerid][Organizacao];
- if(Org == 1) return SendClientMessage(playerid, -1, "Você não faz Parte de Nenhuma {00FFFF}Gangue !");
- if(PlayerDados[playerid][Cargo] < 2) return SendClientMessage(playerid, -1, "Você Precisa de Cargo +2 para Criar {00FFFF}Barreira");
- if(pBarreira[playerid] != 0) return SendClientMessage(playerid, -1, "Você so pode criar {00FFFF}1 Barreira, {FFFFFF}Para retirar {00FFFF}'/rbarreirargang'");
- new Float:x, Float:y, Float:z, Float:a;
- GetPlayerPos(playerid, x, y, z);
- GetPlayerFacingAngle(playerid, a);
- pBarreira[playerid] = CreateObject(845, x+1, y, z, 0.0, 0.0, a+180, 300.0);
- pBarreira2[playerid] = CreateObject(1358, x+2, y, z, 0.0, 0.0, a+180, 300.0);
- pBarreira3[playerid] = CreateObject(18451, x, y+5, z, 0.0, 0.0, a+180, 300.0);
- pBarreira4[playerid] = CreateObject(12957, x, y+9, z, 0.0, 0.0, a+180, 300.0);
- SetPlayerPos(playerid, x, y, z+4);
- format(string, sizeof(string), "(Gangster): {00FFFF}%s {FFFFFF}Coloco uma Barreira de Gangue.", Nome(playerid));
- GameTextForPlayer(playerid, "~w~Barreira ~r~Criada", 5000, 5);
- SendClientMessage(playerid, -1, "Para retirar a Barreirar {00FFFF}Use: /rbarreiragang");
- return 1;
- }
- CMD:rbarreiragang(playerid, params[])
- {
- new string[50];
- if(!IsPlayerConnected(playerid)) return SendClientMessage(playerid, -1, "Você não está {00FFFF}Online !");
- new Org = PlayerDados[playerid][Organizacao];
- if(Org == 1)
- {
- if(pBarreira[playerid] != 1)
- {
- DestruirBarreira(playerid);
- format(string, sizeof(string), "(Gangster): {FF0000}%s {FFFFFF}Retirou sua Barreira de Gangue.", Nome(playerid));
- GameTextForPlayer(playerid, "~w~Barreira ~r~Destruída", 5000, 5);
- }
- else
- {
- SendClientMessage(playerid, -1, "Não tem barreira criada pra ser destruída");
- }
- }
- else
- {
- SendClientMessage(playerid, -1, "Você não faz Parte de Nenhuma {00FFFF}Gangue !");
- }
- return 1;
- }
- CMD:invasao(playerid, params[])
- {
- if(!IsPlayerConnected(playerid)) return SendClientMessage(playerid, -1, "Você não está {00FFFF}Online !");
- new Org = PlayerDados[playerid][Organizacao], string[50];
- if(Org == 1) return SendClientMessage(playerid, -1, "Você não é de uma {FF6600}Facção do Crime, {FFFFFF}Pra usar esse Comando !");
- if(PlayerDados[playerid][Cargo] < 4) return SendClientMessage(playerid, -1, "Precisa ser {FF6600}Cargo +4 {FFFFFF}pra usar esse Comando !");
- format(string, sizeof(string), "O membro {FF6600}%s {FFFFFF}está avisando a todos que estão invadindo a área de sua {FF6600}Facção!",Nome(playerid), playerid);
- SendClientMessageToAll(-1 , string);
- return 1;
- }
- CMD:assaltar(playerid, params[])
- {
- new Dinheiro, string[128];
- if(!IsPlayerConnected(playerid)) return SendClientMessage(playerid, -1, "Você não está {00FFFF}Online!");
- if(PlayerDados[playerid][Organizacao] == 1) {
- if(AssaltarNovamente[playerid] == 1) return SendClientMessage(playerid, -1, "Você tem que Esperar {00FFFF}5 Minutos {FFFFFF}pra Assaltar Novamente !");
- if(sscanf(params, "ud", ID, Dinheiro)) return SendClientMessage(playerid, -1, "Use: /assaltar [ID/Nome] [Quantia]");
- if(PlayerDados[ID][Organizacao] != 1) return Msg(playerid, -1, "Não pode Assaltar membros da Gangue !");
- if(Dinheiro == 1000) {
- if(!IsPlayerConnected(ID)) return SendClientMessage(playerid, -1, "ID invalido !");
- if(ID == playerid) return SendClientMessage(playerid, BRANCO, "{FFFFFF}Você não pode {FF3300}Assaltar {FFFFFF}você mesmo !");
- if(!SetPlayerScore(ID, 1)) return SendClientMessage(playerid, -1, "Não pode sequestrar jogador {00FFFF}Level 1 !");
- format(string, sizeof(string), "{FFFFFF}Você está assaltando {00FFFF}$%d {FFFFFF}de {00FFFF}%s.", Dinheiro, Nome(ID));
- SendClientMessage(playerid, -1, string);
- format(string, sizeof(string), "{00FFFF}%s: {FFFFFF}Isso é um assalto, Pague {00FFFF}$%d! {FFFFFF}não seja Ant-RPG.", Nome(playerid), Dinheiro);
- SendClientMessage(ID, -1, string);
- SetPlayerWantedLevel(playerid,GetPlayerWantedLevel(playerid)+1);
- SetPlayerSpecialAction(ID,SPECIAL_ACTION_HANDSUP);
- ShowPlayerDialog(ID, 90, DIALOG_STYLE_MSGBOX, "{FFFF00}Assalto", "{FFFFFF}Você está sendo Assaltado, Você é obrigado a pagar se não é {00FFFF}Anti-RPG\n{FFFFFF}Caso não tenha dinheiro ira ficar com dinheiro negativo\nEle poderá assaltar as Pessoas em cada 5 Minutos\n Aperta 'Pagar'","Pagar","");
- AssaltarNovamente[playerid] = 1;
- SetTimerEx("UsarNovamente",300000,0,"d",playerid);
- for(new i; i<300;i++) {
- new Float:X, Float:Y, Float:Z;
- if(IsPlayerInRangeOfPoint(i,4.0,X,Y,Z))SendClientMessage(i,AMARELO, string); }
- printf("%s", string); }
- else {
- SendClientMessage(playerid, -1, "Use: O Preço tem que ser {00FFFF}R$: 1000 !");
- return 1; } }
- return 1;
- }
- CMD:licencas(playerid, params[])
- {
- if(!IsPlayerConnected(playerid)) return SendClientMessage(playerid, BRANCO, " Você Não Está Connectado !");
- if(PlayerDados[playerid][Motorista] == 0) {
- if(PlayerToPoint(2.0, playerid,1490.2838,1305.7998,1093.2964)) {
- ShowPlayerDialog(playerid, 91, DIALOG_STYLE_LIST, "{FFFF00}Centro de Licenças","{FF0000}Carteira de Motorista","Comprar","Cancelar");
- Controle(playerid, 1); } }
- return 1;
- }
- //--------------- Comandos Policias
- CMD:choque(playerid, params[])
- {
- new string[30];
- if(PlayerDados[playerid][Organizacao] != 2) return SendClientMessage(playerid, -1, "Você não é um Oficial, pra usar arma de Choque !");
- SetPlayerAttachedObject(playerid, 0, 18642, 6, 0.06, 0.01, 0.08, 180.0, 0.0, 0.0);
- ArmadeChoque[playerid] = 1;
- SendClientMessage(playerid, 0xFF6600AA, "Use: /rchoque para Remover sua Arma de Choqe.");
- format(string, sizeof(string), "%s Pegou sua Arma de Choque.", Nome(playerid));
- return 1;
- }
- CMD:rchoque(playerid, params[])
- {
- new string[30];
- if(PlayerDados[playerid][Organizacao] != 2) return SendClientMessage(playerid, -1, "Você não é um Oficial, pra usar arma de Choque !");
- RemovePlayerAttachedObject(playerid, 0);
- ArmadeChoque[playerid] = 0;
- SendClientMessage(playerid, 0xFF6600AA, "Use: /choque para Pegar sua Arma de Choque.");
- format(string, sizeof(string), "%s Guardou sua Arma de Choque.", Nome(playerid));
- return 1;
- }
- CMD:escudo(playerid, params[])
- {
- new string[30];
- if(PlayerDados[playerid][Organizacao] != 2) return SendClientMessage(playerid, -1, "Você não é um Oficial, pra usar arma de Choque !");
- SetPlayerAttachedObject(playerid,3,18637,13,0.35,0.0,0.0,0.0,0.0,180.0);
- SetPlayerAttachedObject(playerid,4,18642,7,0.1,0.0,-0.11,0.0,-90.0,90.0);
- SendClientMessage(playerid,0xFFFFFFAA," Você Pegou Seu {FF6600}Escudo{FFFFFF}!");
- SendClientMessage(playerid, 0xFF6600AA, "Use: /rescudo para Guardar seu Escudo.");
- format(string, sizeof(string), "%s Pegou seu Escudo.", Nome(playerid));
- return 1;
- }
- CMD:rescudo(playerid, params[])
- {
- new string[30];
- if(PlayerDados[playerid][Organizacao] != 2) return SendClientMessage(playerid, -1, "Você não é um Oficial, pra usar arma de Choque !");
- RemovePlayerAttachedObject(playerid,3);
- RemovePlayerAttachedObject(playerid,4);
- SendClientMessage(playerid,0xFFFFFFAA," Você retirou Seu {FF6600}Escudo{FFFFFF}!");
- SendClientMessage(playerid, 0xFF6600AA, "Use: /escudo para Pegar seu Escudo.");
- format(string, sizeof(string), "%s Guardou seu Escudo.", Nome(playerid));
- return 1;
- }
- CMD:departamento(playerid, params[])
- {
- new texto[128], string[128];
- if(!IsPlayerConnected(playerid)) return SendClientMessage(playerid, -1, "Você não está online pra usar esse comando !");
- if(sscanf(params, "s",texto)) return SendClientMessage(playerid, -1, "Use: /departamento [texto]");
- if(PlayerDados[playerid][Organizacao] == 2)
- {
- if(PlayerDados[playerid][Cargo] == 6) { format(string, sizeof(string), "** PM Líder %s: %s, câmbio. **", Nome(playerid), texto); }
- else if(PlayerDados[playerid][Cargo] == 5) { format(string, sizeof(string), "** PM %s: %s, câmbio. **", Nome(playerid), texto); }
- else if(PlayerDados[playerid][Cargo] == 4) { format(string, sizeof(string), "** PM %s: %s, câmbio. **", Nome(playerid), texto); }
- else if(PlayerDados[playerid][Cargo] == 3) { format(string, sizeof(string), "** PM %s: %s, câmbio. **", Nome(playerid), texto); }
- else if(PlayerDados[playerid][Cargo] == 2) { format(string, sizeof(string), "** PM %s: %s, câmbio. **", Nome(playerid), texto); }
- else if(PlayerDados[playerid][Cargo] == 1) { format(string, sizeof(string), "** Cadete %s: %s, câmbio. **", Nome(playerid), texto); }
- else
- {
- format(string, sizeof(string), "Policia Militar %s: %s, câmbio.", Nome(playerid), texto);
- }
- SendFamilyMessage(2, COLOR_DEPARTAMENTO, string);
- printf("%s", string);
- return 1;
- }
- return 1;
- }
- CMD:batercartao(playerid, params[])
- {
- new string[128];
- new Org = PlayerDados[playerid][Organizacao];
- if(!IsPlayerConnected(playerid)) return Msg(playerid, -1, "Não está connectado !");
- if(Org != 2) return Msg(playerid, -1, "Você não é um Oficial !");
- if(!PlayerToPoint(2.0,playerid, 1485.4672,-1767.0776,3285.2859)) return Msg(playerid,-1,"Você não está no local Certo pra BaterCartao !");
- if(BaterCartao[playerid] == 0)
- {
- format(string, sizeof(string), "O Oficial {FF0000}%s {FFFFFF}do Governo bateu o cartão e está em serviço.", Nome(playerid));
- MsgAll(-1, string);
- ResetPlayerWeapons(playerid);
- SetPlayerArmour(playerid, 100);
- SetPlayerHealth(playerid, 100);
- GivePlayerWeapon(playerid, 3, 1);
- GivePlayerWeapon(playerid, 24, 200);
- GivePlayerWeapon(playerid, 25, 300);
- GivePlayerWeapon(playerid, 29, 500);
- GivePlayerWeapon(playerid, 31, 200);
- GivePlayerWeapon(playerid, 34, 40);
- BaterCartao[playerid] = 1;
- }
- else if(BaterCartao[playerid] == 1)
- {
- format(string, sizeof(string), "O Oficial {FF0000}%s {FFFFFF}do Governo está de folga.", Nome(playerid));
- MsgAll(-1, string);
- ResetPlayerWeapons(playerid);
- Msg(playerid, -1, "Suas armas foi retirada por causa que Não está em Serviço !");
- BaterCartao[playerid] = 0;
- }
- return 1;
- }
- CMD:megafone(playerid, params[])
- {
- new string[100], texto[100];
- if(PlayerDados[playerid][Calado] == true) return SendClientMessage(playerid, -1, "Jogador não pode falar no megafone pq foi calado !");
- if(!IsPlayerConnected(playerid)) return SendClientMessage(playerid, -1, "Você não está Online !");
- if(PlayerDados[playerid][Organizacao] != 2) return SendClientMessage(playerid, -1, "Você não é um Oficial do Governo !");
- if(BaterCartao[playerid] != 1) return SendClientMessage(playerid, -1, "Você não {FF0000}Bateu Cartão !");
- if(sscanf(params, "s",texto)) return SendClientMessage(playerid, -1, "Use: /megafone [Fala]");
- if(PlayerDados[playerid][Organizacao] == 2) {
- new Float:X, Float:Y, Float:Z;
- GetPlayerPos(playerid, X, Y, Z);
- format(string, sizeof(string), "Policial Militar %s: %s", Nome(playerid), texto);
- for(new i; i<300;i++) {
- if(IsPlayerInRangeOfPoint(i,60.0,X,Y,Z))SendClientMessage(i,AMARELO, string); }
- printf("%s", string); }
- return 1;
- }
- CMD:suspeito(playerid, params[])
- {
- new texto[20], string[110];
- if(PlayerDados[playerid][Organizacao] != 2) return Msg(playerid, -1, "Você não é um Oficial !");
- if(BaterCartao[playerid] != 1) return Msg(playerid, -1, "Você não {FF0000}Bateu Cartão !");
- if(sscanf(params, "us",ID, texto)) return Msg(playerid, -1, "Use: /suspeito [ID/Nome] [Crime]");
- if(PlayerDados[playerid][Organizacao] == 2) {
- if(!IsPlayerConnected(ID)) return Msg(playerid, -1, "ID Invalido !");
- if(PlayerDados[ID][Organizacao] != 2) return Msg(playerid, -1, "Não pode dar '/suspeito' em Policial !");
- if(ID != INVALID_PLAYER_ID) {
- if(sscanf(params, "us",ID, texto)) return Msg(playerid, -1, "Use: /suspeito [ID/Nome] [Crime]");
- format(string, sizeof(string), "{00FFFF}%s {FFFFFF}Colocou o jogador {00FFFF}%s {FFFFFF}de Suspeito", Nome(playerid), Nome(ID));
- MsgAll(-1, string);
- SetPlayerWantedLevel(ID,GetPlayerWantedLevel(playerid)+1); } }
- return 1;
- }
- CMD:ficha(playerid, params[])
- {
- new string[100];
- if(!IsPlayerConnected(playerid)) return SendClientMessage(playerid, -1, "Você não está online pra usar esse comando !");
- if(PlayerDados[playerid][Organizacao] != 2) return Msg(playerid, -1, "Você não é um Policial !");
- if(BaterCartao[playerid] != 1) return Msg(playerid, -1, "Você não Bater Cartão !");
- if(!PlayerToPoint(2.0,playerid, 1485.4020,-1760.5070,3285.2859)) return Msg(playerid, -1, "Você não está no local certo pra ver a Ficha !");
- if(sscanf(params, "u",ID)) return Msg(playerid, -1, "Use: /ficha [id]");
- if(!IsPlayerConnected(ID)) return Msg(playerid, -1, "ID Invalido !");
- if(ID != INVALID_PLAYER_ID) {
- Msg(playerid, -1, "(=-=-=-=-=-=-=-=-=-=({FFD700}Ficha Na Policia{BFC0C2})=-=-=-=-=-=-=-=-=-=)");
- format(string, sizeof(string), "Nome: %s", Nome(ID));
- Msg(playerid, AZUL,string);
- format(string, sizeof(string), "Suspeito: %d", PlayerDados[ID][Procurado]);
- Msg(playerid, AZUL,string); }
- return 1;
- }
- CMD:handsup(playerid, params[])
- {
- if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT) {
- SetPlayerSpecialAction(playerid,SPECIAL_ACTION_HANDSUP); }
- return 1;
- }
- CMD:pararhandsup(playerid, params[])
- {
- if(!IsPlayerConnected(playerid)) return Msg(playerid, -1, "Você não está Connectado !");
- ClearAnimations(playerid);
- return 1;
- }
- CMD:imo(playerid, params[])
- {
- new string[128];
- if(!IsPlayerConnected(playerid)) return Msg(playerid, -1, "Você não está online !");
- if(PlayerDados[playerid][Organizacao] != 2) return Msg(playerid, -1, "Não é um Polical !");
- if(BaterCartao[playerid] != 1) return Msg(playerid, -1, "Você não {00FFFF}Bater Cartão !");
- if(PlayerDados[playerid][Organizacao] == 2) {
- if(IsPlayerInAnyVehicle(playerid)) return Msg(playerid, -1, " Não é possivel imobilizar, dentro do carro !");
- if(IsPlayerConnected(ID)) {
- if(JogadorImo[ID] > 0) return Msg(playerid, -1, "Suspeito já imobilizado !");
- if(IsPlayerInAnyVehicle(ID)) return Msg(playerid, -1, "Suspeito está dentro de um Veiculo, não pode imobilizar !");
- if(PlayerDados[ID][Organizacao] != 2) return Msg(playerid, -1, "Não pode Imobilizar Policias !");
- if(sscanf(params, "u",ID)) return Msg(playerid, -1, "Use: /imo [ID/Nome]");
- format(string, sizeof(string), "* Você foi imobilizado por %s por 20 segundos.", Nome(ID));
- Msg(ID, -1, string);
- format(string, sizeof(string), "* Você imobilizou o(a) %s por 20 segundos.", Nome(playerid));
- Msg(playerid, -1, string);
- format(string, sizeof(string), "* %s Imobilizou %s, para não fugir.", Nome(playerid) ,Nome(ID));
- GameTextForPlayer(ID, "~r~Imobilizado", 2500, 3);
- Controle(ID, 0);
- ApplyAnimation(ID, "CRACK", "crckdeth2", 4.0, 1, 0, 0, 0, 0);
- JogadorImo[ID] = 1;
- JogadorImoTempo[ID] = 20;
- SetTimerEx("TempoImo", 20000, false, "i", playerid);//20 Segundos
- for(new i; i<300;i++) {
- new Float:X, Float:Y, Float:Z;
- GetPlayerPos(playerid, X, Y, Z);
- if(!IsPlayerInRangeOfPoint(i,5.0,X,Y,Z)) return Msg(playerid, -1, "Você não está perto pra Imobilizar !"); }
- printf("%s", string); } }
- return 1;
- }
- CMD:localizar(playerid, params[])
- {
- if(!IsPlayerConnected(playerid)) return Msg(playerid, -1, "Não está online pra usar esse comando !");
- if(sscanf(params, "u", ID)) return Msg(playerid, -1, "Use: /localizar [ID]");
- if(PlayerDados[playerid][Organizacao] == 2) {
- new location[MAX_ZONE_NAME], string[70];
- GetPlayer2DZone(ID, location, MAX_ZONE_NAME);
- format(string, sizeof(string), "{00FFFF}%s {FFFFFF}Foi visto perto de {00FFFF}%s", Nome(ID),location);
- Msg(playerid, -1, string);
- return 1; } return 1;
- }
- CMD:chapeu(playerid, params[])
- {
- if(!IsPlayerConnected(playerid)) return Msg(playerid, -1, "Não está online pra usar esse comando !");
- if(PlayerDados[playerid][Organizacao] != 2 && PlayerDados[playerid][Admin] == 1) return Msg(playerid, -1, "Você não é policial ou Admin pra pegar o Chapeu !");
- SetPlayerAttachedObject(playerid, 0, 18639, 2, 0.158797, 0.010018, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000, 1.000000, 1.000000);
- SendClientMessage(playerid, -1,"Você Colocou {00FFFF}Chapeu Ziika :)");
- return 1;
- }
- //----------------[ Comandos de Portões ]-----------------//
- CMD:abrircelas(playerid, params[])
- {
- new string[120];
- if(PlayerDados[playerid][Organizacao] != 2)
- {
- Msg(playerid, -1, "Você não é um Oficial !");
- return 1;
- }
- ApplyAnimation(playerid, "DEALER", "DEALER_DEAL", 4.0, 0, 0, 0, 0, 0);
- format(string, sizeof(string), "O Oficial :{00FFFF}%s {FFFFFF} Abriu alguma Cela de Cadeia em LS!", Nome(playerid));
- MsgAll(-1, string);
- if(IsPlayerInRangeOfPoint(playerid, 2.0,1491.21484375,-1764.90002441,3284.25048828)) //Cell0
- {
- MoveObject(cell0,1491.21484375-1.25,-1764.90002441,3284.25048828,0.50);
- SetTimer("FecharPortoes", 5000, false);
- }
- if(IsPlayerInRangeOfPoint(playerid, 2.0,1494.41210938,-1764.90002441,3284.25048828)) //Cell1
- {
- MoveObject(cell1,1494.41210938-1.25,-1764.90002441,3284.25048828,0.50);
- SetTimer("FecharPortoes", 5000, false);
- }
- if(IsPlayerInRangeOfPoint(playerid, 2.0,1497.61132812,-1764.90002441,3284.25048828)) //Cell2
- {
- MoveObject(cell2,1497.61132812-1.25,-1764.90002441,3284.25048828,0.50);
- SetTimer("FecharPortoes", 5000, false);
- }
- if(IsPlayerInRangeOfPoint(playerid, 2.0,1500.81445312,-1764.90002441,3284.25048828)) //Cell3
- {
- MoveObject(cell3,1500.81445312-1.25,-1764.90002441,3284.25048828,0.50);
- SetTimer("FecharPortoes", 5000, false);
- }
- if(IsPlayerInRangeOfPoint(playerid, 2.0,1500.81994629,-1761.51000977,3284.25048828)) //Cell4
- {
- MoveObject(cell4,1500.81994629-1.25,-1761.51000977,3284.25048828,0.50);
- SetTimer("FecharPortoes", 5000, false);
- }
- if(IsPlayerInRangeOfPoint(playerid, 2.0,1491.22094727,-1761.50000000,3284.25048828)) //Cell5
- {
- MoveObject(cell5,1491.22094727-1.25,-1761.50000000,3284.25048828,0.50);
- SetTimer("FecharPortoes", 5000, false);
- }
- if(IsPlayerInRangeOfPoint(playerid, 2.0,1494.41894531,-1761.51000977,3284.25048828)) //Cell6
- {
- MoveObject(cell6,1494.41894531-1.25,-1761.51000977,3284.25048828,0.50);
- SetTimer("FecharPortoes", 5000, false);
- }
- if(IsPlayerInRangeOfPoint(playerid, 2.0,1497.61999512,-1761.51000977,3284.25048828)) //Cell7
- {
- MoveObject(cell7,1497.61999512-1.25,-1761.51000977,3284.25048828,0.50);
- SetTimer("FecharPortoes", 5000, false);
- }
- return 1;
- }
- forward FecharPortoes();
- public FecharPortoes()
- {
- for(new i = 0; i != MAX_PLAYERS; i++)
- {
- ClearAnimations(i);
- }
- MoveObject(cell0,1491.21484375,-1764.90002441,3284.25048828,0.50);
- MoveObject(cell1,1494.41210938,-1764.90002441,3284.25048828,0.50);
- MoveObject(cell2,1497.61132812,-1764.90002441,3284.25048828,0.50);
- MoveObject(cell3,1500.81445312,-1764.90002441,3284.25048828,0.50);
- MoveObject(cell4,1500.81994629,-1761.51000977,3284.25048828,0.50);
- MoveObject(cell5,1491.22094727,-1761.50000000,3284.25048828,0.50);
- MoveObject(cell6,1494.41894531,-1761.51000977,3284.25048828,0.50);
- MoveObject(cell7,1497.61999512,-1761.51000977,3284.25048828,0.50);
- }
- CMD:abrirportas(playerid, params[])
- {
- if(PlayerDados[playerid][Organizacao] != 2)
- {
- Msg(playerid, -1, "Você não é um Oficial !");
- return 1;
- }
- ApplyAnimation(playerid, "DEALER", "DEALER_DEAL", 4.0, 0, 0, 0, 0, 0);
- if(IsPlayerInRangeOfPoint(playerid, 2.0,1487.00000000,-1762.42504883,3284.23608398)) //Door 0
- {
- MoveObject(door0,1487.00000000,-1762.42504883+1.25,3284.23608398,0.50);
- SetTimer("FecharPortas", 5000, false);
- }
- if(IsPlayerInRangeOfPoint(playerid, 2.0, 1483.79003906,-1762.42504883,3284.23608398)) //Door 1
- {
- MoveObject(door1,1483.79003906,-1762.42504883+1.25,3284.23608398,0.50);
- SetTimer("FecharPortas", 5000, false);
- }
- if(IsPlayerInRangeOfPoint(playerid, 2.0, 1479.85998535,-1758.31994629,3284.23388672)) //Door 2
- {
- MoveObject(door2,1479.85998535-1.25,-1758.31994629,3284.23388672,0.50);
- SetTimer("FecharPortas", 5000, false);
- }
- if(IsPlayerInRangeOfPoint(playerid, 2.0, 1467.06701660,-1758.31994629,3284.23388672)) //Door 3
- {
- MoveObject(door3,1467.06701660-1.25,-1758.31994629,3284.23388672,0.50);
- SetTimer("FecharPortas", 5000, false);
- }
- return 1;
- }
- //--------------------------//
- CMD:algemar(playerid, params[])
- {
- new PTiD, string[20];
- if(!IsPlayerConnected(playerid)) return Msg(playerid, -1, "Você não está Online!");
- if(PlayerDados[playerid][Organizacao] != 2) return Msg(playerid, -1, "Você não é policial pra algemar !");
- if(PlayerDados[PTiD][Organizacao] != 2) return Msg(playerid, -1, "Você não Pode Algemar um Policial !");
- if(sscanf(params, "u", PTiD)) return SendClientMessage(playerid, -1, "Uso: /algemar [ID]");
- if(Algemado[playerid] > 0) return Msg(playerid, -1, "VocÊ já ta algemado !");
- if(!IsPlayerConnected(ID)) return Msg(playerid, -1, "ID Invalido !");
- SetPlayerAttachedObject(PTiD, 4, 19418, 6, -0.031999, 0.024000, -0.024000, -7.900000, -32.000011, -72.299987, 1.115998, 1.322000, 1.406000);
- SetPlayerSpecialAction(PTiD, SPECIAL_ACTION_CUFFED);
- Algemado[playerid] = 1;
- for(new i = 0; i < MAX_PLAYERS; ++i) {
- new Float:X, Float:Y, Float:Z;
- GetPlayerPos(playerid, X, Y, Z);
- if(!IsPlayerInRangeOfPoint(i,10.0,X,Y,Z)) return Msg(playerid, -1, "Você não está perto pra Algemar !"); }
- printf("%s", string);
- return 1;
- }
- CMD:desalgemar(playerid, params[])
- {
- new PTiD, string[25];
- if(!IsPlayerConnected(playerid)) return Msg(playerid, -1, "Você não está Online!");
- if(PlayerDados[playerid][Organizacao] != 2) return Msg(playerid, -1, "Você não é policial pra algemar !");
- if(PlayerDados[PTiD][Organizacao] != 2) return Msg(playerid, -1, "Você não Pode desalgemar um Policial !");
- if(sscanf(params, "u", PTiD)) return SendClientMessage(playerid, -1, "Uso: /desalgemar [ID]");
- if(Algemado[playerid] < 1) return Msg(playerid, -1, "Você não está algemado !");
- RemovePlayerAttachedObject(PTiD, 0);
- RemovePlayerAttachedObject(PTiD, 0);
- RemovePlayerAttachedObject(ID, 0);
- Algemado[playerid] = 0;
- Msg(playerid, -1, "Tirou Algema !");
- for(new i = 0; i < MAX_PLAYERS; ++i) {
- new Float:X, Float:Y, Float:Z;
- GetPlayerPos(playerid, X, Y, Z);
- if(!IsPlayerInRangeOfPoint(i,10.0,X,Y,Z)) return Msg(playerid, -1, "Você não está perto pra Desalgemar !"); }
- printf("%s", string);
- return 1;
- }
- CMD:gov(playerid, params[])
- {
- new texto[128], string[128];
- if(PlayerDados[ID][Calado] == true) return Msg(playerid, -1, "o Jogador Está calado e não pode usar esse comando");
- if(!IsPlayerConnected(playerid)) return Msg(playerid, -1, "Não está Connectado pra usar esse comando");
- if(!OrgCop(playerid)) return Msg(playerid, -1, "Você não é um Oficial da Lei, pra usar esse comando !");
- if(PlayerDados[playerid][Cargo] < 4) return Msg(playerid, -1, "Precisa ter Cargo +4 pra usar esse comando !");
- if(sscanf(params, "s", texto)) return Msg(playerid, -1, "Use: /gov [Texto]");
- MsgAll(CINZA,"(=-=-=-=-=-=-=-=-=-=({FFD700}Anuncio Do Governo de Ls{BFC0C2})=-=-=-=-=-=-=-=-=-=)");
- format(string, sizeof(string), "Oficial %s: %s", Nome(playerid), texto);
- MsgAll(AZUL, string);
- return 1;
- }
- CMD:retirarcarteira(playerid, params[])
- {
- new Org = PlayerDados[playerid][Organizacao];
- if(!IsPlayerConnected(ID)) return Msg(playerid, -1, "ID Invadido !");
- if(!IsPlayerConnected(playerid)) return Msg(playerid, -1, "Não está online !");
- if(Org != 2) return Msg(playerid, -1, "Você não e um Oficial !");
- if(PlayerDados[playerid][Cargo] < 2) return Msg(playerid, -1, " Precisa ser Cargo +2");
- if(sscanf(params, "u", ID)) return Msg(playerid, -1, "Use: /retirarcarteira [ID]");
- PlayerDados[ID][Motorista] = 0;
- SendClientMessage(playerid, -1, "Carteira Retirada !");
- return 1;
- }
- //Continue criando os Comando Lembre-se isso e uma >>> Base <<<<<
- //-------------------[ Fim dos Comandos ]----------//
- forward FecharPortas();
- public FecharPortas()
- {
- for(new i = 0; i != MAX_PLAYERS; i++)
- {
- ClearAnimations(i);
- }
- MoveObject(door0,1487.00000000,-1762.42504883,3284.23608398,0.50);
- MoveObject(door1,1483.79003906,-1762.42504883,3284.23608398,0.50);
- MoveObject(door2,1479.85998535,-1758.31994629,3284.23388672,0.50);
- MoveObject(door3,1467.06701660,-1758.31994629,3284.23388672,0.50);
- }
- forward TempoImo();
- public TempoImo()
- {
- Controle(ID, 1);
- Msg(ID, -1, "Você não está mais imo...");
- JogadorImo[ID] = 0;
- JogadorImoTempo[ID] = 0;
- return 1;
- }
- public TempoPreso(playerid)
- {
- PlayerDados[playerid][Preso] --;
- if(PlayerDados[playerid][Preso] == 0)
- {
- SetPlayerHealth(playerid, 0);
- SendClientMessage(playerid, VERDE, "Você está livre da cadeia!");
- KillTimer(TimerPreso);
- }
- return 1;
- }
- public CriarLogs()
- {
- if(!LogExistir("EuroRPG/Logs/NovoAdm.log"))
- {
- CriarLog("EuroRPG/Logs/NovoAdm.log");
- }
- if(!LogExistir("EuroRPG/Logs/Kickados.log"))
- {
- CriarLog("EuroRPG/Logs/Kickados.log");
- }
- if(!LogExistir("EuroRPG/Logs/Tapas.log"))
- {
- CriarLog("EuroRPG/Logs/Tapas.log");
- }
- if(!LogExistir("EuroRPG/Logs/Chatadm.log"))
- {
- CriarLog("EuroRPG/Logs/Chatadm.log");
- }
- if(!LogExistir("EuroRPG/Logs/Banidos.log"))
- {
- CriarLog("EuroRPG/Logs/Banidos.log");
- }
- if(!LogExistir("EuroRPG/Logs/Desbanidos.log"))
- {
- CriarLog("EuroRPG/Logs/Desbanidos.log");
- }
- if(!LogExistir("EuroRPG/Logs/Advertidos.log"))
- {
- CriarLog("EuroRPG/Logs/Advertidos.log");
- }
- if(!LogExistir("EuroRPG/Logs/Congelados.log"))
- {
- CriarLog("EuroRPG/Logs/Congelados.log");
- }
- if(!LogExistir("EuroRPG/Logs/Calados.log"))
- {
- CriarLog("EuroRPG/Logs/Calados.log");
- }
- if(!LogExistir("EuroRPG/Logs/Presos.log"))
- {
- CriarLog("EuroRPG/Logs/Presos.log");
- }
- if(!LogExistir("EuroRPG/Logs/NovoNome.log"))
- {
- CriarLog("EuroRPG/Logs/NovoNome.log");
- }
- if(!LogExistir("EuroRPG/Logs/Crashados.log"))
- {
- CriarLog("EuroRPG/Logs/Crashados.log");
- }
- if(!LogExistir("EuroRPG/Logs/BanirIp.log"))
- {
- CriarLog("EuroRPG/Logs/BanirIp.log");
- }
- if(!LogExistir("EuroRPG/Logs/DesbanirIp.log"))
- {
- CriarLog("EuroRPG/Logs/DesbanirIp.log");
- }
- if(!LogExistir("EuroRPG/Logs/Fodidos.txt"))
- {
- CriarLog("EuroRPG/Logs/Fodidos.txt");
- }
- if(!LogExistir("EuroRPG/Logs/Nome_Server.log"))
- {
- CriarLog("EuroRPG/Logs/Nome_Server.log");
- }
- if(!LogExistir("EuroRPG/Logs/Nome_GM.log"))
- {
- CriarLog("EuroRPG/Logs/Nome_GM.log");
- }
- if(!LogExistir("EuroRPG/Logs/Relatorios.log"))
- {
- CriarLog("EuroRPG/Logs/Relatorios.log");
- }
- print("Logs Criados/Carregados com sucesso.");
- return 1;
- }
- public LiberarKit(playerid)
- {
- PlayerDados[playerid][PegouKit] = false;
- return 1;
- }
- public MensagensRandom()
- {
- new randmsg = random(sizeof(Mensagens));
- new randcor = random(sizeof(Cores));
- format(String, sizeof(String), "%s%s",Cores[randcor], Mensagens[randmsg]);
- SendClientMessageToAll(-1, String);
- return 1;
- }
- public DiminuirTempo()
- {
- if(time == 0)
- {
- KillTimer(TimerCont);
- GameTextForAll("~r~Go Go Go", 1000, 6);
- return 1;
- }
- format(String, sizeof(String), "~g~%d", time);
- GameTextForAll(String, 1000, 6);
- time--;
- return 1;
- }
- stock SalvarDados(playerid)
- {
- new ip[25];
- GetPlayerIp(playerid, ip, sizeof(ip));
- format(StringContas, sizeof(StringContas), "EuroRPG/Contas/%s.txt", Nome(playerid));
- DOF2_SetInt(StringContas, "Matou", PlayerDados[playerid][Matou]);
- DOF2_SetInt(StringContas, "Morreu", PlayerDados[playerid][Morreu]);
- DOF2_SetInt(StringContas, "Grana", GetPlayerMoney(playerid));
- DOF2_SetInt(StringContas, "pSkin", GetPlayerSkin(playerid));
- DOF2_SetInt(StringContas, "Procurado", GetPlayerWantedLevel(playerid));
- DOF2_SetInt(StringContas, "pLevel", GetPlayerScore(playerid));
- DOF2_SetInt(StringContas, "Respeito", PlayerDados[playerid][Respeito]);
- DOF2_SetInt(StringContas, "Advertencias", PlayerDados[playerid][Advertencias]);
- DOF2_SetInt(StringContas, "Preso", PlayerDados[playerid][Preso]);
- DOF2_SetInt(StringContas, "Motorista", PlayerDados[playerid][Motorista]);
- DOF2_SetInt(StringContas, "Sexo", PlayerDados[playerid][Sexo]);
- DOF2_SetInt(StringContas, "Organizacao", PlayerDados[playerid][Organizacao]);
- DOF2_SetInt(StringContas, "Cargo", PlayerDados[playerid][Cargo]);
- DOF2_SetInt(StringContas, "Colocar", PlayerDados[playerid][Colocar]);
- DOF2_SetInt(StringContas, "Emprego", PlayerDados[playerid][Emprego]);
- DOF2_SetBool(StringContas,"Tutorial", PlayerDados[playerid][Tutorial]);
- DOF2_SetString(StringContas, "IP", ip);
- new str[50];
- format(str, 50, "EuroRPG/Admins/%s.sav", Nome(playerid));
- if(PlayerDados[playerid][Vip] == false)
- {
- if(DOF2_IsSet("EuroRPG/Vips.vip", Nome(playerid)))
- {
- DOF2_Unset("EuroRPG/Vips.vip", Nome(playerid));
- }
- }
- if(PlayerDados[playerid][Helper] == false)
- {
- if(DOF2_IsSet("EuroRPG/Helpers.hel", Nome(playerid)))
- {
- DOF2_Unset("EuroRPG/Helpers.hel", Nome(playerid));
- }
- }
- if(PlayerDados[playerid][Vip] == true)
- {
- DOF2_SetBool(str, "Vip", true);
- }
- if(PlayerDados[playerid][Helper] == true)
- {
- DOF2_SetBool(str, "Helper", true);
- }
- if(PlayerDados[playerid][Admin] > 0)
- {
- format(StringContas, sizeof StringContas, "EuroRPG/Admins/%s.sav", Nome(playerid));
- DOF2_SetInt(str, "Admin", PlayerDados[playerid][Admin]);
- }
- DOF2_SaveFile();
- return 1;
- }
- stock Nome(playerid)
- {
- new pNome[MAX_PLAYER_NAME];
- GetPlayerName(playerid, pNome, 24);
- return pNome;
- }
- stock Kickar(playerid, admin[], razao[])
- {
- if(!DOF2_FileExists("EuroRPG/Kickados.txt")) DOF2_CreateFile("EuroRPG/Kickados.txt");
- new IP[20];
- GetPlayerIp(playerid, IP, 20);
- format(String, sizeof(String), " IP = %d - Admin = %s - Razao = %s", IP, admin, razao);
- DOF2_SetString("EuroRPG/Kickados.txt", Nome(playerid), String);
- Kick(playerid);
- return 1;
- }
- stock PosicaoFrentePlayer( playerid, &Float:x, &Float:y, Float:distance)
- {
- new
- Float:a
- ;
- GetPlayerPos( playerid, x, y, a);
- GetPlayerFacingAngle( playerid, a);
- if(GetPlayerVehicleID( playerid ))
- {
- GetVehicleZAngle(GetPlayerVehicleID( playerid ), a);
- }
- x += (distance * floatsin(-a, degrees));
- y += (distance * floatcos(-a, degrees));
- }
- stock MensagemDupla(playerid, msg1[], msg2[])
- {
- SendClientMessage(playerid, CINZA, msg1);
- SendClientMessage(playerid, CINZA, msg2);
- return 1;
- }
- stock NivelRequerido(playerid, lvl)
- {
- if(PlayerDados[playerid][Admin] < lvl)
- {
- format(String, sizeof(String), "Você precisa ser admin nivel %d para usar este comando!", lvl);
- SendClientMessage(playerid, BRANCO, String);
- return 0;
- }
- if(PlayerDados[playerid][Trabalhando] == false)
- {
- SendClientMessage(playerid, CINZA, "Você precisa trabalhar para usar o comando. Use /servico.");
- return 0;
- }
- return 1;
- }
- stock CriarLog(const File[])
- {
- if(fexist(File))
- {
- printf("Utilize EscreverLog(\"arquivo\", \"Mensagem\"); para escrever em um log existente.");
- return 0;
- }
- new File:Arquivo = fopen(File, io_write);
- fclose(Arquivo);
- return 1;
- }
- stock EscreverLog(const File[], string[])
- {
- if(!fexist(File))
- {
- printf("Utilize CriarLog(\"arquivo\"); para criar o Log e escrever nele.");
- return 0;
- }
- new celulas[ 300 ];
- new a, m, d, h, mi, s;
- getdate(a, m, d);
- gettime(h,mi,s);
- format(celulas, sizeof(celulas), "(%02d/%02d/%d)[%02d:%02d:%02d] %s\r\n",d,m,a,h,mi,s, string);
- new File:Arquivo = fopen(File, io_append);
- fwrite(Arquivo, celulas);
- fclose(Arquivo);
- return 1;
- }
- stock DeletarLog(const File[])
- {
- if(!fexist(File))
- {
- printf("Esse arquivo não existe, utilize CriarLog(\"arquivo\"");
- return 0;
- }
- fremove(File);
- return 1;
- }
- stock TextFundo(playerid)
- {
- new RandFundo = random(3);
- if(RandFundo == 0)
- {
- Inicio[playerid] = TextDrawCreate(-0.500, -0.500, "loadsc1:loadsc1");
- TextDrawFont(Inicio[playerid], 4);
- TextDrawTextSize(Inicio[playerid], 641.500, 449.500);
- TextDrawColor(Inicio[playerid], -1);
- }
- else if(RandFundo == 1)
- {
- Inicio[playerid] = TextDrawCreate(-0.500, -0.500, "loadsc2:loadsc2");
- TextDrawFont(Inicio[playerid], 4);
- TextDrawTextSize(Inicio[playerid], 641.500, 449.500);
- TextDrawColor(Inicio[playerid], -1);
- }
- else if(RandFundo == 2)
- {
- Inicio[playerid] = TextDrawCreate(-0.500, -0.500, "loadsc3:loadsc3");
- TextDrawFont(Inicio[playerid], 4);
- TextDrawTextSize(Inicio[playerid], 641.500, 449.500);
- TextDrawColor(Inicio[playerid], -1);
- }
- else if(RandFundo == 3)
- {
- Inicio[playerid] = TextDrawCreate(-0.500, -0.500, "loadsc4:loadsc4");
- TextDrawFont(Inicio[playerid], 4);
- TextDrawTextSize(Inicio[playerid], 641.500, 449.500);
- TextDrawColor(Inicio[playerid], -1);
- }
- TextDrawShowForPlayer(playerid, Inicio[playerid]);
- return 1;
- }
- stock DarAdmin(playerid, niv) {
- format(StringContas, sizeof StringContas, "EuroRPG/Admins/%s.sav", Nome(playerid));
- if(!DOF2_FileExists(StringContas)) {
- DOF2_CreateFile(StringContas);
- }
- DOF2_SetInt(StringContas, "Admin", niv);
- SalvarDados(playerid);
- printf("%s novo admin nivel %d", Nome(playerid), niv);
- return 1;
- }
- stock TirarAdmin(playerid) {
- format(StringContas, sizeof StringContas, "EuroRPG/Admins/%s.sav", Nome(playerid));
- if(!DOF2_FileExists(StringContas))
- return printf("Conta %s nao existe.", Nome(playerid));
- DOF2_Unset(StringContas, "Admin");
- printf("admin retirado");
- return 1;
- }
- stock DarHelper(playerid) {
- format(StringContas, sizeof StringContas, "EuroRPG/Admins/%s.sav", Nome(playerid));
- if(!DOF2_FileExists(StringContas)) {
- DOF2_CreateFile(StringContas);
- }
- DOF2_SetBool(StringContas, "Helper", true);
- SalvarDados(playerid);
- printf("%s novo admin nivel %d", Nome(playerid));
- return 1;
- }
- stock TirarHelper(playerid) {
- format(StringContas, sizeof StringContas, "EuroRPG/Admins/%s.sav", Nome(playerid));
- if(!DOF2_FileExists(StringContas))
- return printf("Conta %s nao existe.", Nome(playerid));
- DOF2_Unset(StringContas, "Helper");
- printf("helper tirado");
- return 1;
- }
- stock DarVip(playerid) {
- format(StringContas, sizeof StringContas, "EuroRPG/Admins/%s.sav", Nome(playerid));
- if(!DOF2_FileExists(StringContas)) {
- DOF2_CreateFile(StringContas);
- }
- DOF2_SetBool(StringContas, "Vip", true);
- SalvarDados(playerid);
- printf("%s novo admin nivel %d", Nome(playerid));
- return 1;
- }
- stock TirarVip(playerid) {
- format(StringContas, sizeof StringContas, "EuroRPG/Admins/%s.sav", Nome(playerid));
- if(!DOF2_FileExists(StringContas))
- return printf("Conta %s nao existe.", Nome(playerid));
- DOF2_Unset(StringContas, "Vip");
- printf("vip tirado");
- return 1;
- }
- stock MensagemParaAdmins(mensagem[])
- {
- for(new i = 0; i < MAX_PLAYERS; ++i)
- {
- if(PlayerDados[i][Admin] > 0)
- {
- Msg(i, ROSA_CHOQUE, mensagem);
- }
- }
- return 1;
- }
- //SSCANF NUNCA MECHA NESSA PARTE:
- stock sscanf(string[], format[], {Float,_}:...)
- {
- #if defined isnull
- if (isnull(string))
- #else
- if (string[0] == 0 || (string[0] == 1 && string[1] == 0))
- #endif
- {
- return format[0];
- }
- #pragma tabsize 4
- new
- formatPos = 0,
- stringPos = 0,
- paramPos = 2,
- paramCount = numargs(),
- delim = ' ';
- while (string[stringPos] && string[stringPos] <= ' ')
- {
- stringPos++;
- }
- while (paramPos < paramCount && string[stringPos])
- {
- switch (format[formatPos++])
- {
- case '\0':
- {
- return 0;
- }
- case 'i', 'd':
- {
- new
- neg = 1,
- num = 0,
- ch = string[stringPos];
- if (ch == '-')
- {
- neg = -1;
- ch = string[++stringPos];
- }
- do
- {
- stringPos++;
- if ('0' <= ch <= '9')
- {
- num = (num * 10) + (ch - '0');
- }
- else
- {
- return -1;
- }
- }
- while ((ch = string[stringPos]) > ' ' && ch != delim);
- setarg(paramPos, 0, num * neg);
- }
- case 'h', 'x':
- {
- new
- num = 0,
- ch = string[stringPos];
- do
- {
- stringPos++;
- switch (ch)
- {
- case 'x', 'X':
- {
- num = 0;
- continue;
- }
- case '0' .. '9':
- {
- num = (num << 4) | (ch - '0');
- }
- case 'a' .. 'f':
- {
- num = (num << 4) | (ch - ('a' - 10));
- }
- case 'A' .. 'F':
- {
- num = (num << 4) | (ch - ('A' - 10));
- }
- default:
- {
- return -1;
- }
- }
- }
- while ((ch = string[stringPos]) > ' ' && ch != delim);
- setarg(paramPos, 0, num);
- }
- case 'c':
- {
- setarg(paramPos, 0, string[stringPos++]);
- }
- case 'f':
- {
- new changestr[16], changepos = 0, strpos = stringPos;
- while(changepos < 16 && string[strpos] && string[strpos] != delim)
- {
- changestr[changepos++] = string[strpos++];
- }
- changestr[changepos] = '\0';
- setarg(paramPos,0,_:floatstr(changestr));
- }
- case 'p':
- {
- delim = format[formatPos++];
- continue;
- }
- case '\'':
- {
- new
- end = formatPos - 1,
- ch;
- while ((ch = format[++end]) && ch != '\'') {}
- if (!ch)
- {
- return -1;
- }
- format[end] = '\0';
- if ((ch = strfind(string, format[formatPos], false, stringPos)) == -1)
- {
- if (format[end + 1])
- {
- return -1;
- }
- return 0;
- }
- format[end] = '\'';
- stringPos = ch + (end - formatPos);
- formatPos = end + 1;
- }
- case 'u':
- {
- new
- end = stringPos - 1,
- id = 0,
- bool:num = true,
- ch;
- while ((ch = string[++end]) && ch != delim)
- {
- if (num)
- {
- if ('0' <= ch <= '9')
- {
- id = (id * 10) + (ch - '0');
- }
- else
- {
- num = false;
- }
- }
- }
- if (num && IsPlayerConnected(id))
- {
- setarg(paramPos, 0, id);
- }
- else
- {
- #if !defined foreach
- #define foreach(%1,%2) for (new %2 = 0; %2 < MAX_PLAYERS; %2++) if (IsPlayerConnected(%2))
- #define __SSCANF_FOREACH__
- #endif
- string[end] = '\0';
- num = false;
- new
- name[MAX_PLAYER_NAME];
- id = end - stringPos;
- foreach (Player, playerid)
- {
- GetPlayerName(playerid, name, sizeof (name));
- if (!strcmp(name, string[stringPos], true, id))
- {
- setarg(paramPos, 0, playerid);
- num = true;
- break;
- }
- }
- if (!num)
- {
- setarg(paramPos, 0, INVALID_PLAYER_ID);
- }
- string[end] = ch;
- #if defined __SSCANF_FOREACH__
- #undef foreach
- #undef __SSCANF_FOREACH__
- #endif
- }
- stringPos = end;
- }
- case 's', 'z':
- {
- new
- i = 0,
- ch;
- if (format[formatPos])
- {
- while ((ch = string[stringPos++]) && ch != delim)
- {
- setarg(paramPos, i++, ch);
- }
- if (!i)
- {
- return -1;
- }
- }
- else
- {
- while ((ch = string[stringPos++]))
- {
- setarg(paramPos, i++, ch);
- }
- }
- stringPos--;
- setarg(paramPos, i, '\0');
- }
- default:
- {
- continue;
- }
- }
- while (string[stringPos] && string[stringPos] != delim && string[stringPos] > ' ')
- {
- stringPos++;
- }
- while (string[stringPos] && (string[stringPos] == delim || string[stringPos] <= ' '))
- {
- stringPos++;
- }
- paramPos++;
- }
- do
- {
- if ((delim = format[formatPos++]) > ' ')
- {
- if (delim == '\'')
- {
- while ((delim = format[formatPos++]) && delim != '\'') {}
- }
- else if (delim != 'z')
- {
- return delim;
- }
- }
- }
- while (delim > ' ');
- return 0;
- }
- public OnPlayerStateChange(playerid, newstate, oldstate)
- {
- if(newstate == PLAYER_STATE_DRIVER)
- {
- if(PlayerDados[playerid][Motorista] == 1)
- {
- return 1;
- }
- else
- {
- SendClientMessage(playerid, -1, "Você não tem linceças para usar {FF0000}Carros.");
- SendClientMessage(playerid, -1, "Para conseguir a Licença de Motorista vai no {FF0000}Centro de Licenças. ");
- SetPlayerWantedLevel(playerid,GetPlayerWantedLevel(playerid)+1);
- return 1;
- }
- }
- if(newstate == PLAYER_STATE_DRIVER || newstate == PLAYER_STATE_PASSENGER)
- {
- TextDrawShowForPlayer(playerid, Speed[playerid]);
- }
- else if(oldstate == PLAYER_STATE_DRIVER || oldstate == PLAYER_STATE_PASSENGER)
- {
- TextDrawHideForPlayer(playerid, Speed[playerid]);
- }
- new oldnew;
- if(newstate == 2 || newstate == 3)
- {
- if(oldnew == 0)
- {
- format(gstring, sizeof(gstring), "~g~%s",vehName[GetVehicleModel(GetPlayerVehicleID(playerid))-400]);
- GameTextForPlayer(playerid, gstring, 6000, 1);
- }
- }
- new carros = GetPlayerVehicleID(playerid);
- if(GetPlayerState(playerid) == 2)
- {
- for(new i = 0; i < sizeof(BALLAS); i ++)
- {
- if(carros == BALLAS[i])
- {
- if(PlayerDados[playerid][Organizacao] != 1)
- {
- SendClientMessage(playerid,0xFF0000FF, "• Você Não tem a Chave desse Veiculo, Você foi Removido •");
- RemovePlayerFromVehicle(playerid);
- }
- }
- }
- }
- return 1;
- }
- public Personagem(playerid,targetid)
- {
- //--------[ Vips ]--------//
- new VIPP[20];
- if(PlayerDados[targetid][Vip])
- {
- VIPP = "Sim";
- }
- else
- {
- VIPP = "Nao";
- }
- //---------[ Licencas Motorista ]--------//
- new CarteiraM[25];
- if(PlayerDados[targetid][Motorista])
- {
- CarteiraM = "Sim";
- }
- else
- {
- CarteiraM = "Nao";
- }
- //------------[ Empregos ]------------//
- new Empregos[30];
- if(PlayerDados[playerid][Emprego] == 0)
- {
- Empregos = "Vagabundo";
- }
- if(PlayerDados[targetid][Emprego] == 1)
- {
- Empregos = "Detetive";
- }
- if(PlayerDados[targetid][Emprego] == 2)
- {
- Empregos = "Advogado";
- }
- //------------[ Definir Sexo ]-----------//
- new NomeSexo[20];
- if(PlayerDados[targetid][Sexo] == 1)
- {
- NomeSexo = "Masculino";
- }
- else if(PlayerDados[targetid][Sexo] == 2)
- {
- NomeSexo = "Feminino";
- }
- //-------------[ Definir Nome de Cargo ]--------//
- new NomeCargo[64];
- if(PlayerDados[playerid][Organizacao] == 1)
- {
- if(PlayerDados[targetid][Cargo] == 1)
- {
- NomeCargo = "Fogueteiro";
- }
- else if(PlayerDados[targetid][Cargo] == 2)
- {
- NomeCargo = "Falcao";
- }
- else if(PlayerDados[targetid][Cargo] == 3)
- {
- NomeCargo = "Vendedor de Pó";
- }
- else if(PlayerDados[targetid][Cargo] == 4)
- {
- NomeCargo = "Sub-Gerente";
- }
- else if(PlayerDados[targetid][Cargo] == 5)
- {
- NomeCargo = "Gerente da Boca";
- }
- else if(PlayerDados[targetid][Cargo] == 6)
- {
- NomeCargo = "Dono da Boca";
- }
- else
- {
- NomeCargo = "Fogueteiro";
- }
- }
- else
- {
- NomeCargo = "Nenhum";
- }
- //-----------[ Comando /rg Dialog ]---------//
- new Dinheiro = GetPlayerMoney(targetid);
- new Matador = PlayerDados[targetid][Matou];
- new Morte = PlayerDados[targetid][Morreu];
- new Respeitoo = PlayerDados[playerid][Respeito];
- new Levels = GetPlayerScore(playerid);
- new Procuradoo = PlayerDados[playerid][Procurado];
- new Pedrinha[2000];
- if(targetid == playerid)
- {
- }
- else
- {
- format(gstring, sizeof(gstring),"(=-=-=-=-=-=-=-=( RG de {FF0000}%s {FFFFFF})=-=-=-=-=-=-=-=)",Nome(playerid));
- }
- format(Pedrinha, sizeof(Pedrinha), "{FF0000}%s\n{FFFFFF}Nome: {FF0000}[%s] - {FFFFFF}Sexo: {FF0000}[%s] - {FFFFFF}Org: {FF0000}[%s] - {FFFFFF}Cargo: {FF0000}[%s]",Pedrinha, Nome(playerid), NomeSexo, NomeORG(targetid), NomeCargo);
- //--------------
- format(Pedrinha, sizeof(Pedrinha), "{FF0000}%s\n{FFFFFF}Dinheiro: {FF0000}[R$%d] - {FFFFFF}Matou: {FF0000}[%d] - {FFFFFF}Morreu: {FF0000}[%d] - {FFFFFF}Emprego: {FF0000}[%s]",Pedrinha, Dinheiro, Matador, Morte, Empregos);
- //--------------
- format(Pedrinha, sizeof(Pedrinha), "{FF0000}%s\n{FFFFFF}Conta Vip: {FF0000}[%s] - {FFFFFF}Respeito: {FF0000}[%d] - {FFFFFF}Level: {FF0000}[%d] - {FFFFFF}Carteira de Motorista: {FF0000}[%s]",Pedrinha, VIPP, Respeitoo, Levels, CarteiraM);
- //--------------
- format(Pedrinha, sizeof(Pedrinha), "{FF0000}%s\n{FFFFFF}Nivel de Procurado: {FF0000}[%d]",Pedrinha, Procuradoo);
- //--------------
- ShowPlayerDialog(playerid, Documentos, DIALOG_STYLE_MSGBOX, "{FF0000}RG - Documentos", Pedrinha, "Fechar", "");
- }
- public OnPlayerRequestSpawn(playerid)
- {
- return 0;
- }
- stock PlayerName(playerid)
- {
- new Name[MAX_PLAYER_NAME];
- GetPlayerName(playerid, Nome, MAX_PLAYER_NAME);
- return Name;
- }
- stock NomeORG(playerid)
- {
- new TextoGangue[64];
- if(PlayerDados[playerid][Organizacao] == 0)
- {
- TextoGangue = "Civil";
- }
- if(PlayerDados[playerid][Organizacao] == 1)
- {
- TextoGangue = "Ballas";
- }
- if(PlayerDados[playerid][Organizacao] == 2)
- {
- TextoGangue = "Policia Militar";
- }
- return TextoGangue;
- }
- stock SendFamilyMessage(orgid, cor, mensagem[])
- {
- for(new i = 0; i < MAX_PLAYERS; i++)
- {
- if(IsPlayerConnected(i))
- {
- if(PlayerDados[i][Organizacao] == orgid)
- {
- SendClientMessage(i, cor, mensagem);
- }
- }
- }
- return 0;
- }
- public ActionCamera()
- {
- for(new i=0; i<MAX_PLAYERS; i++)
- {
- if(Camera[i] == 1)
- {
- SetPlayerCameraPos(i,CameraX[i], -1324.0, 287.2);
- SetPlayerCameraLookAt(i,1374.5, -1291.1, 239.0);
- CameraX[i]+= 0.5;
- RegistrationStep[i] = 1;
- if(CameraX[i] == 1500.0)
- {
- }
- if(CameraX[i] == 1700.0)
- {
- SetPlayerCameraPos(i,CameraX[i], CameraY[i], 287.2);
- SetPlayerCameraLookAt(i,1374.5, -1291.1, 239.0);
- CameraY[i]+= 0.5;
- }
- if(CameraX[i] >= 2400.0)
- {
- CameraZ[i] = 287.2;
- Camera[i] = 2;
- }
- }
- else if(Camera[i] == 2)
- {
- SetPlayerCameraPos(i,CameraX[i], CameraY[i], 287.2);
- SetPlayerCameraLookAt(i,1374.5, -1291.1, 239.0);
- CameraY[i]+= 0.5;
- if(CameraY[i] >= -724.0)
- {
- CameraZ[i] = 287.2;
- Camera[i] = 3;
- }
- }
- else if(Camera[i] == 3)
- {
- SetPlayerCameraPos(i,CameraX[i], CameraY[i], 287.2);
- SetPlayerCameraLookAt(i,1374.5, -1291.1, 239.0);
- CameraX[i]-= 0.5;
- if(CameraX[i] <= 850.0)
- {
- Camera[i] = 4;
- }
- }
- else if(Camera[i] == 4)
- {
- SetPlayerCameraPos(i,CameraX[i], CameraY[i], CameraZ[i]);
- SetPlayerCameraLookAt(i,1374.5, -1291.1, 239.0);
- CameraY[i]-= 0.5;
- if(CameraY[i] <= -1224.0)
- {
- CameraX[i] = 1460.0;
- CameraY[i] = -1324.0;
- CameraZ[i] = 287.2;
- CameraZ[i] = 287.2;
- Camera[i] = 0;
- }
- }
- else
- {
- Camera[i] = 0;
- }
- }
- return 1;
- }
- public IsAGasolina(playerid)
- {
- if(IsPlayerConnected(playerid))
- {
- if(PlayerToPoint(1.0,playerid,1004.0070,-939.3102,42.1797) || PlayerToPoint(1.0,playerid,1944.3260,-1772.9254,13.3906) || PlayerToPoint(1.0,playerid,1400.6882,-1680.5344,42.4339) || PlayerToPoint(1.0,playerid,1496.5316,-1544.0677,23.5481) || PlayerToPoint(1.0,playerid,2737.3364,-1774.2123,43.7973))
- {//Los Santos
- return 1;
- }
- else if(PlayerToPoint(1.0,playerid,-90.5515,-1169.4578,2.4079) || PlayerToPoint(1.0,playerid,-1609.7958,-2718.2048,48.5391) || PlayerToPoint(1.0,playerid,1084.6238,-1743.4821,13.5060))
- {//Los Santos
- return 1;
- }
- else if(PlayerToPoint(1.0,playerid,-2029.4968,156.4366,28.9498) || PlayerToPoint(1.0,playerid,-2408.7590,976.0934,45.4175))
- {//Los Santos
- return 1;
- }
- else if(PlayerToPoint(1.0,playerid,-2243.9629,-2560.6477,31.8841) || PlayerToPoint(1.0,playerid,-1676.6323,414.0262,6.9484))
- {//Los Santos Para SF
- return 1;
- }
- }
- return 0;
- }
- public Novinha(playerid)
- {
- for(new i=0; i<MAX_PLAYERS; i++)
- {
- if(IsPlayerConnected(i))
- {
- new VID;
- new FillUp;
- VID = GetPlayerVehicleID(i);
- FillUp = GasMax - Gas[VID];
- if(MeuOvo[i] == 1)
- {
- if(GetPlayerMoney(i) >= FillUp+4)
- {
- Controle(playerid, 1);
- Gas[VID] += FillUp;
- FillUp = FillUp * 50;
- format(gstring,sizeof(gstring)," Veiculo Reabastecido, {FF0000}Por: R$%d.",FillUp);
- PlayerPlaySound(i, 1149, 0.0, 0.0, 0.0);
- SendClientMessage(i,BRANCO,gstring);
- GivePlayerMoney(i, - FillUp);
- MeuOvo[i] = 0;
- Controle(playerid, 1);
- Controle(playerid, 1);
- }
- else
- {
- Controle(playerid, 1);
- format(gstring,sizeof(gstring)," Você não tem grana para reabastecer, você precisa de {FF0000}R$%d {FFFFFF}para reabastecer.",FillUp);
- SendClientMessage(i,BRANCO,gstring);
- Controle(playerid, 1);
- Controle(playerid, 1);
- }
- }
- }
- }
- return 1;
- }
- public PlayerToPoint(Float:radi, playerid, Float:x, Float:y, Float:z)
- {
- if(IsPlayerConnected(playerid))
- {
- new Float:oldposx, Float:oldposy, Float:oldposz;
- new Float:tempposx, Float:tempposy, Float:tempposz;
- GetPlayerPos(playerid, oldposx, oldposy, oldposz);
- tempposx = (oldposx -x);
- tempposy = (oldposy -y);
- tempposz = (oldposz -z);
- if (((tempposx < radi) && (tempposx > -radi)) && ((tempposy < radi) && (tempposy > -radi)) && ((tempposz < radi) && (tempposz > -radi)))
- {
- return true;
- }
- }
- return 0;
- }
- public OnPlayerKeyStateChange(playerid,newkeys,oldkeys)
- {
- if((newkeys == KEY_HORN) && (IsPlayerInAnyVehicle(playerid)))
- {
- cmd_abastecer(playerid, "");
- }
- if(newkeys == 16 && GetPlayerState(playerid) == PLAYER_STATE_ONFOOT)
- {
- cmd_entrar(playerid, "");
- cmd_sair(playerid,"");
- cmd_empregos(playerid, "");
- cmd_licencas(playerid, "");
- }
- if(PlayerToPoint(1.0, playerid, 325.4386,1124.4393,1083.8828))
- {
- if(PlayerDados[playerid][Organizacao] == 1)
- {
- ShowPlayerDialog(playerid, 94, DIALOG_STYLE_LIST, "Cofre dos Ballas", "Dinheiro\nEquipar", "Confirmar", "Cancelar");
- }
- }
- if(IsPlayerInRangeOfPoint(playerid, 2.0, 1467.06701660,-1758.31994629,3284.23388672) || IsPlayerInRangeOfPoint(playerid, 2.0, 1479.85998535,-1758.31994629,3284.23388672)
- || IsPlayerInRangeOfPoint(playerid, 2.0, 1483.79003906,-1762.42504883,3284.23608398) || IsPlayerInRangeOfPoint(playerid, 2.0,1487.00000000,-1762.42504883,3284.23608398))
- {
- cmd_abrirportas(playerid, "");
- }
- /*if(IsPlayerInRangeOfPoint(playerid, 2.0,1497.61999512,-1761.51000977,3284.25048828) || IsPlayerInRangeOfPoint(playerid, 2.0,1494.41894531,-1761.51000977,3284.25048828) || IsPlayerInRangeOfPoint(playerid, 2.0,1491.22094727,-1761.50000000,3284.25048828)
- || IsPlayerInRangeOfPoint(playerid, 2.0,1500.81994629,-1761.51000977,3284.25048828) || IsPlayerInRangeOfPoint(playerid, 2.0,1500.81445312,-1764.90002441,3284.25048828) || IsPlayerInRangeOfPoint(playerid, 2.0,1497.61132812,-1764.90002441,3284.25048828)
- || IsPlayerInRangeOfPoint(playerid, 2.0,1494.41210938,-1764.90002441,3284.25048828) || IsPlayerInRangeOfPoint(playerid, 2.0,1491.21484375,-1764.90002441,3284.25048828))
- {
- cmd_abrircelas(playerid, "");
- }*/
- if(newkeys & KEY_FIRE)
- {
- if(ArmadeChoque[playerid] == 1)
- {
- ApplyAnimation(playerid,"KNIFE","knife_3",4.1,0,1,1,0,0,1);
- SetTimerEx("TimerClear",2000,false,"d",playerid);
- new victimid = GetClosestPlayer(playerid);
- if(IsPlayerConnected(victimid))
- {
- if(GetDistanceBetweenPlayers(playerid,victimid) < 2)
- {
- new Float:health;
- GetPlayerHealth(victimid, health);
- SetPlayerHealth(victimid, health - 5.0);
- SetTimerEx("TimerFall",300,false,"d",victimid);
- return 1;
- }
- }
- }
- }
- return 1;
- }
- public OnPlayerCommandPerformed(playerid, cmdtext[], success)
- {
- if(!success)
- {
- //SendClientMessage(playerid, BRANCO, "Comando Não {FF0000}Existe.");
- return 1;
- }
- return 1;
- }
- forward TempoGasolina();
- public TempoGasolina()
- {
- for(new i=0;i<MAX_PLAYERS;i++)
- {
- if(IsPlayerConnected(i))
- {
- if(GetPlayerState(i) == PLAYER_STATE_DRIVER && !IsPlayerNPC(i))
- {
- new vehicle = GetPlayerVehicleID(i);
- new VehicleModel = GetVehicleModel(vehicle);
- if(VehicleModel == 509 || VehicleModel == 481 || VehicleModel == 510)
- {
- return 1;
- }
- if(Gas[vehicle] >= 1)
- {
- if(Gas[vehicle] <= 10) { PlayerPlaySound(i, 1085, 0.0, 0.0, 0.0); }
- Gas[vehicle]--;
- }
- else
- {
- NoFuel[i] = 1;
- TogglePlayerControllable(i, 0);
- PlayerPlaySound(i, 1159, 0.0, 0.0, 0.0);
- GameTextForPlayer(i,"~r~~n~Sem combustivel ~w~~n~Use /sair Para sair do veiculo",1500,3);
- //SendClientMessage(i, -1, "O motor do veículo apagou por falta de combustível, Chame um mecânico para ajudar.");
- }
- }
- }
- }
- return 1;
- }
- forward Henrique(playerid);
- public Henrique(playerid)
- {
- VerificarArma(playerid);
- VerificarPing(playerid);
- VerificarVelocidade(playerid);
- return 1;
- }
- public OnPlayerEnterCheckpoint(playerid)
- {
- if (CheckPoint[playerid] == 1)
- {
- DisablePlayerCheckpoint(playerid);
- GameTextForPlayer(playerid, "~w~Localizado", 2000, 1);
- }
- return 1;
- }
- forward UpTime();
- public UpTime()
- {
- for(new i; i != GetMaxPlayers(); i++)
- if(IsPlayerConnected(i))
- {
- Pagamento[i]++;
- if(Pagamento[i] > 900)
- {
- Pagamento[i] = 0;
- PlayerDados[i][Respeito] ++;
- if(PlayerDados[i][Respeito] == 10)
- {
- PlayerDados[i][Respeito] = 0;
- Level[i]++;
- SetPlayerScore(i, Level[i]);
- SendClientMessage(i,BRANCO,"Você Passou de {FF0000}Level !");
- }
- }
- }
- return true;
- }
- public Velocimetro()
- {
- new Float:Speedo_HP;
- for(new i=0; i<MAX_PLAYERS; i++)
- {
- if(IsPlayerInAnyVehicle(i))
- {
- new vehicle = GetPlayerVehicleID(i);
- GetVehicleHealth(vehicle, Speedo_HP);
- new string[256];
- format(string,sizeof(string),"~p~~>~Veiculo:~w~ %s~n~~p~~>~Velocidade:~w~ %d KM/h~n~~p~~>~Combustivel: ~W~%d%%~n~~p~~>~Lataria: ~W~%0.0f%%~n~~p~~>~Localizacao:~w~ %s" ,vehName[GetVehicleModel(vehicle)-400], GetPlayerSpeed(i, true), Gas[vehicle], Speedo_HP/10, ReturnPlayerZone(i));
- TextDrawSetString(Speed[i], string);
- if(TextShow[i] == false)
- {
- TextDrawShowForPlayer(i, Speed[i]);
- TextShow[i] = true;
- }
- }
- else
- {
- if(TextShow[i] == true)
- {
- TextDrawHideForPlayer(i, Speed[i]);
- TextShow[i] = false;
- }
- }
- }
- }
- forward DestruirBarreira(playerid);
- public DestruirBarreira(playerid)
- {
- DestroyObject(pBarreira[playerid]);
- DestroyObject(pBarreira2[playerid]);
- DestroyObject(pBarreira3[playerid]);
- DestroyObject(pBarreira4[playerid]);
- DestroyObject(pBarreira5[playerid]);
- pBarreira[playerid] = 0;
- }
- public Sequestrar()
- {
- if(psequestrar > 0)
- {
- psequestrar = 0;
- }
- }
- public UsarNovamente(playerid)
- {
- AssaltarNovamente[playerid] = 0;
- }
- //--- Arma de Choque
- forward GetClosestPlayer(p1);
- public GetClosestPlayer(p1)
- {
- new x,Float:dis,Float:dis2,player;
- player = -1;
- dis = 99999.99;
- for (x=0;x<MAX_PLAYERS;x++)
- {
- if(IsPlayerConnected(x))
- {
- if(x != p1)
- {
- dis2 = GetDistanceBetweenPlayers(x,p1);
- if(dis2 < dis && dis2 != -1.00)
- {
- dis = dis2;
- player = x;
- }
- }
- }
- }
- return player;
- }
- forward Float:GetDistanceBetweenPlayers(p1,p2);
- public Float:GetDistanceBetweenPlayers(p1,p2)
- {
- new Float:x1,Float:y1,Float:z1,Float:x2,Float:y2,Float:z2;
- if(!IsPlayerConnected(p1) || !IsPlayerConnected(p2))
- {
- return -1.00;
- }
- GetPlayerPos(p1,x1,y1,z1);
- GetPlayerPos(p2,x2,y2,z2);
- return floatsqroot(floatpower(floatabs(floatsub(x2,x1)),2)+floatpower(floatabs(floatsub(y2,y1)),2)+floatpower(floatabs(floatsub(z2,z1)),2));
- }
- public SetPlayerCriminal(playerid,declare,reason[])
- {
- return 1;
- }
- public OrgCop(playerid)
- {
- if(IsPlayerConnected(playerid))
- {
- new lider = PlayerDados[playerid][Organizacao];
- if(lider == 2)
- {
- return 1;
- }
- }
- return 0;
- }
- //-------------------[ Stock's ]----------------//
- stock GetPlayerSpeed(playerid,bool:kmh)
- {
- new Float:Vx,Float:Vy,Float:Vz,Float:rtn;
- if(IsPlayerInAnyVehicle(playerid)) GetVehicleVelocity(GetPlayerVehicleID(playerid),Vx,Vy,Vz); else GetPlayerVelocity(playerid,Vx,Vy,Vz);
- rtn = floatsqroot(floatabs(floatpower(Vx + Vy + Vz,2)));
- return kmh?floatround(rtn * 100 * 1.61):floatround(rtn * 100);
- }
- stock ReturnPlayerZone(playerid)
- {
- new location[MAX_ZONE_NAME];
- GetPlayer2DZone(playerid, location, MAX_ZONE_NAME);
- return location;
- }
- stock GetPlayer2DZone(playerid, zone[], len)
- {
- new Float:x, Float:y, Float:z;
- GetPlayerPos(playerid, x, y, z);
- for(new i = 0; i != sizeof(gSAZones); i++ )
- {
- if(x >= gSAZones[i][SAZONE_AREA][0] && x <= gSAZones[i][SAZONE_AREA][3] && y >= gSAZones[i][SAZONE_AREA][1] && y <= gSAZones[i][SAZONE_AREA][4])
- {
- return format(zone, len, gSAZones[i][SAZONE_NAME], 0);
- }
- }
- return 0;
- }
- stock IsPlayerPoint(playerid, vehicleid, Float:distance)
- {
- static
- Float:vPos[3];
- GetVehiclePos(vehicleid, vPos[0], vPos[1], vPos[2]);
- return IsPlayerInRangeOfPoint(playerid, distance, vPos[0], vPos[1], vPos[2]);
- }
- stock VerificarArma(playerid)
- {
- new weaponid = GetPlayerWeapon(playerid);
- for(new i = 0; i != MAX_PLAYERS; i++)
- {
- if(WeaponsID[i] == weaponid)
- {
- SendClientMessage(playerid,BRANCO,"{FFFFFF}Você foi Detectado usando {FF0000}Armas proibidas {FFFFFF}e Tomou Ban !");
- Ban(playerid);
- return 1;
- }
- }
- return 1;
- }
- stock VerificarPing(playerid)
- {
- new PegarPing = GetPlayerPing(playerid);
- if(PegarPing > Ping[playerid])
- {
- SendClientMessage(playerid,BRANCO,"Você foi Kikado por {FF0000}Maximo de Ping !");
- Kick(playerid);
- return 1;
- }
- return 1;
- }
- stock VerificarVelocidade(playerid)
- {
- if(Velocidade(playerid) > MaxSpeed[playerid])
- {
- SendClientMessage(playerid,BRANCO,"{FFFFFF}Você foi kikado por Ultrapassar o Limite de Velocidade: {FF0000}Detectado Speed Hacker");
- Kick(playerid);
- return 1;
- }
- return 1;
- }
- stock Velocidade(playerid)
- {
- if(IsPlayerInAnyVehicle(playerid))
- {
- GetVehicleVelocity(GetPlayerVehicleID(playerid), Pos[0], Pos[1], Pos[2]);
- Pos[3] = floatmul(floatsqroot(floatadd(floatadd(floatpower(Pos[0], 2), floatpower(Pos[1], 2)), floatpower(Pos[2], 2))), 170.0);
- spe = floatround(Pos[3] * 1);
- }
- else
- return false;
- return spe;
- }
- //------------------[ Sistema de COFRE ]----------------//
- forward SalvarBancoDasOrgs();
- public SalvarBancoDasOrgs()
- {
- new arquivo[256];
- new idx = 1;
- while (idx < sizeof(BancoDasOrgs))
- {
- format(arquivo, sizeof(arquivo), "Cofre Org/Org%d.cfg",idx);
- DOF2_SetInt(arquivo,"pDinheiro",BancoDasOrgs[idx][pDinheiro]);
- DOF2_SetInt(arquivo,"Eagle",BancoDasOrgs[idx][pEagle]);
- printf("=-=-=-=-=-=-=-=-=-=[Salvando Cofe de Org %d]=-=-=-=-=-=-=-=-=-=",idx);
- printf("[ORG: %d] Dinheiro = %d",idx,BancoDasOrgs[idx][pDinheiro]);
- print("=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- idx ++;
- }
- return 1;
- }
- forward LoadBancoDasOrgs();
- public LoadBancoDasOrgs()
- {
- new arquivo[64];
- new idx = 1;
- while (idx < sizeof(BancoDasOrgs))
- {
- format(arquivo, sizeof(arquivo), "Cofre Org/Org%d.cfg",idx);
- BancoDasOrgs[idx][pDinheiro] = DOF2_GetInt(arquivo,"Dinheiro");
- BancoDasOrgs[idx][pEagle] = DOF2_GetInt(arquivo,"Eagle");
- idx ++;
- }
- return 1;
- }
- stock DepositarGranaOrg(org,valor)
- {
- new antes = BancoDasOrgs[org][pDinheiro];
- BancoDasOrgs[org][pDinheiro] = antes+valor;
- new arquivo[64];
- format(arquivo, sizeof(arquivo), "Cofre Org/Org%d.cfg",org);
- DOF2_SetInt(arquivo,"Dinheiro",BancoDasOrgs[org][pDinheiro]);
- return 1;
- }
- stock SacarGranaOrg(org,valor)
- {
- new antes = BancoDasOrgs[org][pDinheiro];
- BancoDasOrgs[org][pDinheiro] = antes-valor;
- new arquivo[64];
- format(arquivo, sizeof(arquivo), "Cofre Org/Org%d.cfg",org);
- DOF2_SetInt(arquivo,"Dinheiro",BancoDasOrgs[org][pDinheiro]);
- return 1;
- }
- stock SacarEagle(org,valor)
- {
- new antes = BancoDasOrgs[org][pEagle];
- BancoDasOrgs[org][pEagle] = antes-valor;
- new arquivo[64];
- format(arquivo, sizeof(arquivo), "Cofre Org/Org%d.cfg",org);
- dini_IntSet(arquivo,"Eagle",BancoDasOrgs[org][pEagle]);
- return 1;
- }
- stock DepositarEagle(org,valor)
- {
- new antes = BancoDasOrgs[org][pEagle];
- BancoDasOrgs[org][pEagle] = antes+valor;
- new arquivo[64];
- format(arquivo, sizeof(arquivo), "Cofre Org/Org%d.cfg",org);
- dini_IntSet(arquivo,"Eagle",BancoDasOrgs[org][pEagle]);
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment